--- /dev/null
+#############################################################################
+# Makefile for building: meego-confirm-text
+# Generated by qmake (2.01a) (Qt 4.7.4) on: Sun Oct 7 19:20:29 2012
+# Project: meego-confirm-text.pro
+# Template: app
+# Command: /usr/bin/qmake -o Makefile meego-confirm-text.pro
+#############################################################################
+
+####### Compiler, tools and options
+
+CC = gcc
+CXX = g++
+DEFINES = -DQT_NO_DEBUG -DQT_DECLARATIVE_LIB -DQT_GUI_LIB -DQT_CORE_LIB -DQT_SHARED
+CFLAGS = -pipe -O2 -g -Wno-psabi -Wall -W -D_REENTRANT $(DEFINES)
+CXXFLAGS = -pipe -O2 -g -Wno-psabi -Wall -W -D_REENTRANT $(DEFINES)
+INCPATH = -I/targets/HARMATTAN_ARMEL/usr/share/qt4/mkspecs/linux-g++-maemo -I. -I/targets/HARMATTAN_ARMEL/usr/include/qt4/QtCore -I/targets/HARMATTAN_ARMEL/usr/include/qt4/QtGui -I/targets/HARMATTAN_ARMEL/usr/include/qt4/QtDeclarative -I/targets/HARMATTAN_ARMEL/usr/include/qt4 -Iqmlapplicationviewer -I.
+LINK = g++
+LFLAGS = -Wl,-O1
+LIBS = $(SUBLIBS) -L/usr/lib -lQtDeclarative -lQtGui -lQtCore -lpthread
+AR = ar cqs
+RANLIB =
+QMAKE = /usr/bin/qmake
+TAR = tar -cf
+COMPRESS = gzip -9f
+COPY = cp -f
+SED = sed
+COPY_FILE = $(COPY)
+COPY_DIR = $(COPY) -r
+STRIP = strip
+INSTALL_FILE = install -m 644 -p
+INSTALL_DIR = $(COPY_DIR)
+INSTALL_PROGRAM = install -m 755 -p
+DEL_FILE = rm -f
+SYMLINK = ln -f -s
+DEL_DIR = rmdir
+MOVE = mv -f
+CHK_DIR_EXISTS= test -d
+MKDIR = mkdir -p
+
+####### Output directory
+
+OBJECTS_DIR = ./
+
+####### Files
+
+SOURCES = main.cpp \
+ returnclass.cpp \
+ qmlapplicationviewer/qmlapplicationviewer.cpp moc_qmlapplicationviewer.cpp \
+ moc_returnclass.cpp
+OBJECTS = main.o \
+ returnclass.o \
+ qmlapplicationviewer.o \
+ moc_qmlapplicationviewer.o \
+ moc_returnclass.o
+DIST = /targets/HARMATTAN_ARMEL/usr/share/qt4/mkspecs/common/g++.conf \
+ /targets/HARMATTAN_ARMEL/usr/share/qt4/mkspecs/common/unix.conf \
+ /targets/HARMATTAN_ARMEL/usr/share/qt4/mkspecs/common/linux.conf \
+ /targets/HARMATTAN_ARMEL/usr/share/qt4/mkspecs/qconfig.pri \
+ /targets/HARMATTAN_ARMEL/usr/share/qt4/mkspecs/features/qt_functions.prf \
+ /targets/HARMATTAN_ARMEL/usr/share/qt4/mkspecs/features/qt_config.prf \
+ /targets/HARMATTAN_ARMEL/usr/share/qt4/mkspecs/features/exclusive_builds.prf \
+ /targets/HARMATTAN_ARMEL/usr/share/qt4/mkspecs/features/default_pre.prf \
+ qmlapplicationviewer/qmlapplicationviewer.pri \
+ /targets/HARMATTAN_ARMEL/usr/share/qt4/mkspecs/features/release.prf \
+ /targets/HARMATTAN_ARMEL/usr/share/qt4/mkspecs/features/default_post.prf \
+ /targets/HARMATTAN_ARMEL/usr/share/qt4/mkspecs/features/warn_on.prf \
+ /targets/HARMATTAN_ARMEL/usr/share/qt4/mkspecs/features/qt.prf \
+ /targets/HARMATTAN_ARMEL/usr/share/qt4/mkspecs/features/unix/thread.prf \
+ /targets/HARMATTAN_ARMEL/usr/share/qt4/mkspecs/features/moc.prf \
+ /targets/HARMATTAN_ARMEL/usr/share/qt4/mkspecs/features/resources.prf \
+ /targets/HARMATTAN_ARMEL/usr/share/qt4/mkspecs/features/uic.prf \
+ /targets/HARMATTAN_ARMEL/usr/share/qt4/mkspecs/features/yacc.prf \
+ /targets/HARMATTAN_ARMEL/usr/share/qt4/mkspecs/features/lex.prf \
+ /targets/HARMATTAN_ARMEL/usr/share/qt4/mkspecs/features/include_source_dir.prf \
+ meego-confirm-text.pro
+QMAKE_TARGET = meego-confirm-text
+DESTDIR =
+TARGET = meego-confirm-text
+
+first: all
+####### Implicit rules
+
+.SUFFIXES: .o .c .cpp .cc .cxx .C
+
+.cpp.o:
+ $(CXX) -c $(CXXFLAGS) $(INCPATH) -o "$@" "$<"
+
+.cc.o:
+ $(CXX) -c $(CXXFLAGS) $(INCPATH) -o "$@" "$<"
+
+.cxx.o:
+ $(CXX) -c $(CXXFLAGS) $(INCPATH) -o "$@" "$<"
+
+.C.o:
+ $(CXX) -c $(CXXFLAGS) $(INCPATH) -o "$@" "$<"
+
+.c.o:
+ $(CC) -c $(CFLAGS) $(INCPATH) -o "$@" "$<"
+
+####### Build rules
+
+all: Makefile $(TARGET)
+
+$(TARGET): $(OBJECTS)
+ $(LINK) $(LFLAGS) -o $(TARGET) $(OBJECTS) $(OBJCOMP) $(LIBS)
+
+Makefile: meego-confirm-text.pro /targets/HARMATTAN_ARMEL/usr/share/qt4/mkspecs/linux-g++-maemo/qmake.conf /targets/HARMATTAN_ARMEL/usr/share/qt4/mkspecs/common/g++.conf \
+ /targets/HARMATTAN_ARMEL/usr/share/qt4/mkspecs/common/unix.conf \
+ /targets/HARMATTAN_ARMEL/usr/share/qt4/mkspecs/common/linux.conf \
+ /targets/HARMATTAN_ARMEL/usr/share/qt4/mkspecs/qconfig.pri \
+ /targets/HARMATTAN_ARMEL/usr/share/qt4/mkspecs/features/qt_functions.prf \
+ /targets/HARMATTAN_ARMEL/usr/share/qt4/mkspecs/features/qt_config.prf \
+ /targets/HARMATTAN_ARMEL/usr/share/qt4/mkspecs/features/exclusive_builds.prf \
+ /targets/HARMATTAN_ARMEL/usr/share/qt4/mkspecs/features/default_pre.prf \
+ qmlapplicationviewer/qmlapplicationviewer.pri \
+ /targets/HARMATTAN_ARMEL/usr/share/qt4/mkspecs/features/release.prf \
+ /targets/HARMATTAN_ARMEL/usr/share/qt4/mkspecs/features/default_post.prf \
+ /targets/HARMATTAN_ARMEL/usr/share/qt4/mkspecs/features/warn_on.prf \
+ /targets/HARMATTAN_ARMEL/usr/share/qt4/mkspecs/features/qt.prf \
+ /targets/HARMATTAN_ARMEL/usr/share/qt4/mkspecs/features/unix/thread.prf \
+ /targets/HARMATTAN_ARMEL/usr/share/qt4/mkspecs/features/moc.prf \
+ /targets/HARMATTAN_ARMEL/usr/share/qt4/mkspecs/features/resources.prf \
+ /targets/HARMATTAN_ARMEL/usr/share/qt4/mkspecs/features/uic.prf \
+ /targets/HARMATTAN_ARMEL/usr/share/qt4/mkspecs/features/yacc.prf \
+ /targets/HARMATTAN_ARMEL/usr/share/qt4/mkspecs/features/lex.prf \
+ /targets/HARMATTAN_ARMEL/usr/share/qt4/mkspecs/features/include_source_dir.prf \
+ /usr/lib/libQtDeclarative.prl \
+ /usr/lib/libQtGui.prl \
+ /usr/lib/libQtCore.prl
+ $(QMAKE) -o Makefile meego-confirm-text.pro
+/targets/HARMATTAN_ARMEL/usr/share/qt4/mkspecs/common/g++.conf:
+/targets/HARMATTAN_ARMEL/usr/share/qt4/mkspecs/common/unix.conf:
+/targets/HARMATTAN_ARMEL/usr/share/qt4/mkspecs/common/linux.conf:
+/targets/HARMATTAN_ARMEL/usr/share/qt4/mkspecs/qconfig.pri:
+/targets/HARMATTAN_ARMEL/usr/share/qt4/mkspecs/features/qt_functions.prf:
+/targets/HARMATTAN_ARMEL/usr/share/qt4/mkspecs/features/qt_config.prf:
+/targets/HARMATTAN_ARMEL/usr/share/qt4/mkspecs/features/exclusive_builds.prf:
+/targets/HARMATTAN_ARMEL/usr/share/qt4/mkspecs/features/default_pre.prf:
+qmlapplicationviewer/qmlapplicationviewer.pri:
+/targets/HARMATTAN_ARMEL/usr/share/qt4/mkspecs/features/release.prf:
+/targets/HARMATTAN_ARMEL/usr/share/qt4/mkspecs/features/default_post.prf:
+/targets/HARMATTAN_ARMEL/usr/share/qt4/mkspecs/features/warn_on.prf:
+/targets/HARMATTAN_ARMEL/usr/share/qt4/mkspecs/features/qt.prf:
+/targets/HARMATTAN_ARMEL/usr/share/qt4/mkspecs/features/unix/thread.prf:
+/targets/HARMATTAN_ARMEL/usr/share/qt4/mkspecs/features/moc.prf:
+/targets/HARMATTAN_ARMEL/usr/share/qt4/mkspecs/features/resources.prf:
+/targets/HARMATTAN_ARMEL/usr/share/qt4/mkspecs/features/uic.prf:
+/targets/HARMATTAN_ARMEL/usr/share/qt4/mkspecs/features/yacc.prf:
+/targets/HARMATTAN_ARMEL/usr/share/qt4/mkspecs/features/lex.prf:
+/targets/HARMATTAN_ARMEL/usr/share/qt4/mkspecs/features/include_source_dir.prf:
+/usr/lib/libQtDeclarative.prl:
+/usr/lib/libQtGui.prl:
+/usr/lib/libQtCore.prl:
+qmake: FORCE
+ @$(QMAKE) -o Makefile meego-confirm-text.pro
+
+dist:
+ @$(CHK_DIR_EXISTS) .tmp/meego-confirm-text1.0.0 || $(MKDIR) .tmp/meego-confirm-text1.0.0
+ $(COPY_FILE) --parents $(SOURCES) $(DIST) .tmp/meego-confirm-text1.0.0/ && $(COPY_FILE) --parents qmlapplicationviewer/qmlapplicationviewer.h returnclass.h .tmp/meego-confirm-text1.0.0/ && $(COPY_FILE) --parents main.cpp returnclass.cpp qmlapplicationviewer/qmlapplicationviewer.cpp .tmp/meego-confirm-text1.0.0/ && (cd `dirname .tmp/meego-confirm-text1.0.0` && $(TAR) meego-confirm-text1.0.0.tar meego-confirm-text1.0.0 && $(COMPRESS) meego-confirm-text1.0.0.tar) && $(MOVE) `dirname .tmp/meego-confirm-text1.0.0`/meego-confirm-text1.0.0.tar.gz . && $(DEL_FILE) -r .tmp/meego-confirm-text1.0.0
+
+
+clean:compiler_clean
+ -$(DEL_FILE) $(OBJECTS)
+ -$(DEL_FILE) *~ core *.core
+
+
+####### Sub-libraries
+
+distclean: clean
+ -$(DEL_FILE) $(TARGET)
+ -$(DEL_FILE) Makefile
+
+
+check: first
+
+mocclean: compiler_moc_header_clean compiler_moc_source_clean
+
+mocables: compiler_moc_header_make_all compiler_moc_source_make_all
+
+compiler_moc_header_make_all: moc_qmlapplicationviewer.cpp moc_returnclass.cpp
+compiler_moc_header_clean:
+ -$(DEL_FILE) moc_qmlapplicationviewer.cpp moc_returnclass.cpp
+moc_qmlapplicationviewer.cpp: qmlapplicationviewer/qmlapplicationviewer.h
+ /usr/bin/moc $(DEFINES) $(INCPATH) qmlapplicationviewer/qmlapplicationviewer.h -o moc_qmlapplicationviewer.cpp
+
+moc_returnclass.cpp: returnclass.h
+ /usr/bin/moc $(DEFINES) $(INCPATH) returnclass.h -o moc_returnclass.cpp
+
+compiler_rcc_make_all:
+compiler_rcc_clean:
+compiler_image_collection_make_all: qmake_image_collection.cpp
+compiler_image_collection_clean:
+ -$(DEL_FILE) qmake_image_collection.cpp
+compiler_moc_source_make_all:
+compiler_moc_source_clean:
+compiler_uic_make_all:
+compiler_uic_clean:
+compiler_yacc_decl_make_all:
+compiler_yacc_decl_clean:
+compiler_yacc_impl_make_all:
+compiler_yacc_impl_clean:
+compiler_lex_make_all:
+compiler_lex_clean:
+compiler_clean: compiler_moc_header_clean
+
+####### Compile
+
+main.o: main.cpp returnclass.h
+ $(CXX) -c $(CXXFLAGS) $(INCPATH) -o main.o main.cpp
+
+returnclass.o: returnclass.cpp returnclass.h
+ $(CXX) -c $(CXXFLAGS) $(INCPATH) -o returnclass.o returnclass.cpp
+
+qmlapplicationviewer.o: qmlapplicationviewer/qmlapplicationviewer.cpp qmlapplicationviewer/qmlapplicationviewer.h
+ $(CXX) -c $(CXXFLAGS) $(INCPATH) -o qmlapplicationviewer.o qmlapplicationviewer/qmlapplicationviewer.cpp
+
+moc_qmlapplicationviewer.o: moc_qmlapplicationviewer.cpp
+ $(CXX) -c $(CXXFLAGS) $(INCPATH) -o moc_qmlapplicationviewer.o moc_qmlapplicationviewer.cpp
+
+moc_returnclass.o: moc_returnclass.cpp
+ $(CXX) -c $(CXXFLAGS) $(INCPATH) -o moc_returnclass.o moc_returnclass.cpp
+
+####### Install
+
+install_itemfolder_01: first FORCE
+ @$(CHK_DIR_EXISTS) $(INSTALL_ROOT)/opt/meego-confirm-text/qml/ || $(MKDIR) $(INSTALL_ROOT)/opt/meego-confirm-text/qml/
+ -$(INSTALL_DIR) /home/dennis/meego-confirm-text/qml/meego-confirm-text $(INSTALL_ROOT)/opt/meego-confirm-text/qml/
+
+
+uninstall_itemfolder_01: FORCE
+ -$(DEL_FILE) -r $(INSTALL_ROOT)/opt/meego-confirm-text/qml/meego-confirm-text
+ -$(DEL_DIR) $(INSTALL_ROOT)/opt/meego-confirm-text/qml/
+
+
+install_target: first FORCE
+ @$(CHK_DIR_EXISTS) $(INSTALL_ROOT)/opt/meego-confirm-text/bin/ || $(MKDIR) $(INSTALL_ROOT)/opt/meego-confirm-text/bin/
+ -$(INSTALL_PROGRAM) "$(QMAKE_TARGET)" "$(INSTALL_ROOT)/opt/meego-confirm-text/bin/$(QMAKE_TARGET)"
+
+uninstall_target: FORCE
+ -$(DEL_FILE) "$(INSTALL_ROOT)/opt/meego-confirm-text/bin/$(QMAKE_TARGET)"
+ -$(DEL_DIR) $(INSTALL_ROOT)/opt/meego-confirm-text/bin/
+
+
+install: install_itemfolder_01 install_target FORCE
+
+uninstall: uninstall_itemfolder_01 uninstall_target FORCE
+
+FORCE:
+
--- /dev/null
+meego-confirm-text (0.0.1) unstable; urgency=low
+
+ * Initial Release.
+
+ -- Dennis Groenen <tj.groenen@gmail.com> Sun, 07 Oct 2012 19:22:35 +0200
--- /dev/null
+Source: meego-confirm-text
+Section: misc
+Priority: optional
+Maintainer: Dennis Groenen <tj.groenen@gmail.com>
+Build-Depends: debhelper (>= 5), libqt4-dev
+Standards-Version: 3.7.3
+
+Package: meego-confirm-text
+Architecture: any
+Depends: ${shlibs:Depends}, ${misc:Depends}
+Description: Graphical user interface for user confirmation
+ This application allows you to let the user agree to the contents of an
+ arbitrary text file (e.g. a license or warning). The interface can be invoked
+ via the command-line and will return with an exit status of 0 if the user has
+ confirmed agreement. Otherwise it'll return an exit status of 1.
+ .
+ Meego-confirm-text is a Meego alternative for maemo-confirm-text (Fremantle).
+ Its arguments match those of Fremantle's version.
+X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9eKonmibwCXsXnK60vcakrg+pfA43lOij4oppSYRCkG7RD4BzQbonVaVS6YtZ4YvxTB1NBgkJpHeHjRLG9HsIm2vZb27fEXnz0nqZVli1JYEiELlXtRIiLWOfUN50Y0x1zc4PlBf3fgSCHtg78/a5777qldp0dsjscI11e2B78v/APUtdxHddxHddxHddxHdcxA/8Nah8Z0hX6vbsAAAAASUVORK5CYII=
--- /dev/null
+This package was debianized by Dennis Groenen <tj.groenen@gmail.com> on
+Sun, 07 Oct 2012 19:22:35 +0200.
+
+License:
+
+ This package is free software; you can redistribute it and/or modify
+ it under the terms of the GNU General Public License as published by
+ the Free Software Foundation; either version 2 of the License, or
+ (at your option) any later version.
+
+ This package is distributed in the hope that it will be useful,
+ but WITHOUT ANY WARRANTY; without even the implied warranty of
+ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ GNU General Public License for more details.
+
+ You should have received a copy of the GNU General Public License
+ along with this package; if not, write to the Free Software
+ Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
+
+On Debian systems, the complete text of the GNU General
+Public License can be found in `/usr/share/common-licenses/GPL'.
+
--- /dev/null
+opt/meego-confirm-text/bin/meego-confirm-text usr/bin/meego-confirm-text
+
--- /dev/null
+#!/usr/bin/make -f
+# -*- makefile -*-
+# Sample debian/rules that uses debhelper.
+# This file was originally written by Joey Hess and Craig Small.
+# As a special exception, when this file is copied by dh-make into a
+# dh-make output file, you may use that output file without restriction.
+# This special exception was added by Craig Small in version 0.37 of dh-make.
+
+# Uncomment this to turn on verbose mode.
+#export DH_VERBOSE=1
+
+configure: configure-stamp
+configure-stamp:
+ dh_testdir
+ qmake PREFIX=/usr # Uncomment this line for use without Qt Creator
+
+ touch configure-stamp
+
+
+build: build-stamp
+
+build-stamp: configure-stamp
+ dh_testdir
+
+ # Add here commands to compile the package.
+ $(MAKE) # Uncomment this line for use without Qt Creator
+ #docbook-to-man debian/meego-confirm-text.sgml > meego-confirm-text.1
+
+ touch $@
+
+clean:
+ dh_testdir
+ dh_testroot
+ rm -f build-stamp configure-stamp
+
+ # Add here commands to clean up after the build process.
+ $(MAKE) clean
+
+ dh_clean
+
+install: build
+ dh_testdir
+ dh_testroot
+ dh_clean -k
+ dh_installdirs
+
+ # Add here commands to install the package into debian/meego-confirm-text.
+ $(MAKE) INSTALL_ROOT="$(CURDIR)"/debian/meego-confirm-text install
+ mkdir -p $(CURDIR)/debian/meego-confirm-text/usr/bin/
+ #ln -s /usr/bin/meego-confirm-text \
+ # $(CURDIR)/debian/meego-confirm-text/usr/bin/meego-confirm-text
+
+
+# Build architecture-independent files here.
+binary-indep: build install
+# We have nothing to do by default.
+
+# Build architecture-dependent files here.
+binary-arch: build install
+ dh_testdir
+ dh_testroot
+ dh_installchangelogs
+ dh_installdocs
+ dh_installexamples
+# dh_install
+# dh_installmenu
+# dh_installdebconf
+# dh_installlogrotate
+# dh_installemacsen
+# dh_installpam
+# dh_installmime
+# dh_python
+# dh_installinit
+# dh_installcron
+# dh_installinfo
+ dh_installman
+ dh_link
+ dh_strip
+ dh_compress
+ dh_fixperms
+# dh_perl
+# dh_makeshlibs
+ dh_installdeb
+ dh_shlibdeps # Uncomment this line for use without Qt Creator
+ dh_gencontrol
+ dh_md5sums
+ dh_builddeb
+
+binary: binary-indep binary-arch
+.PHONY: build clean binary-indep binary-arch binary install configure
--- /dev/null
+#include <QApplication>
+#include <QDeclarativeContext>
+#include <QFile>
+#include <QTextStream>
+
+#include "qmlapplicationviewer.h"
+#include "returnclass.h"
+
+int main(int argc, char *argv[])
+{
+ QApplication app(argc, argv);
+ QmlApplicationViewer viewer;
+ QString title;
+ QString message;
+ ReturnClass returnClass;
+
+ if (argc == 2) {
+ title = "User agreement";
+ } else if (argc == 3) {
+ title = argv[1];
+ } else {
+ qCritical("usage: meego-confirm-text [title] file\n");
+ return 2;
+ }
+
+ QFile file(argv[argc-1]);
+ if (!file.open(QIODevice::ReadOnly | QIODevice::Text)) {
+ qCritical("meego-confirm-text: %s", qPrintable(file.errorString()));
+ return 1;
+ }
+
+ QTextStream stream(&file);
+ message = stream.readAll();
+ file.close();
+
+ viewer.rootContext()->setContextProperty("title", title);
+ viewer.rootContext()->setContextProperty("message", message);
+ viewer.rootContext()->setContextProperty("returnClass", &returnClass);
+ viewer.setOrientation(QmlApplicationViewer::ScreenOrientationAuto);
+ viewer.setMainQmlFile(QLatin1String("qml/meego-confirm-text/main.qml"));
+ viewer.showExpanded();
+
+ app.exec();
+ return retval; //set in returnclass.cpp
+}
+
--- /dev/null
+# Add more folders to ship with the application, here
+folder_01.source = qml/meego-confirm-text
+folder_01.target = qml
+DEPLOYMENTFOLDERS = folder_01
+
+# Additional import path used to resolve QML modules in Creator's code model
+QML_IMPORT_PATH =
+
+symbian:TARGET.UID3 = 0xEAA4F37B
+
+# Smart Installer package's UID
+# This UID is from the protected range and therefore the package will
+# fail to install if self-signed. By default qmake uses the unprotected
+# range value if unprotected UID is defined for the application and
+# 0x2002CCCF value if protected UID is given to the application
+#symbian:DEPLOYMENT.installer_header = 0x2002CCCF
+
+# Allow network access on Symbian
+symbian:TARGET.CAPABILITY += NetworkServices
+
+# If your application uses the Qt Mobility libraries, uncomment the following
+# lines and add the respective components to the MOBILITY variable.
+# CONFIG += mobility
+# MOBILITY +=
+
+# Speed up launching on MeeGo/Harmattan when using applauncherd daemon
+# CONFIG += qdeclarative-boostable
+
+# Add dependency to Symbian components
+# CONFIG += qt-components
+
+# The .cpp file which was generated for your project. Feel free to hack it.
+SOURCES += main.cpp \
+ returnclass.cpp
+
+# Please do not modify the following two lines. Required for deployment.
+include(qmlapplicationviewer/qmlapplicationviewer.pri)
+qtcAddDeployment()
+
+OTHER_FILES += \
+ qtc_packaging/debian_harmattan/rules \
+ qtc_packaging/debian_harmattan/README \
+ qtc_packaging/debian_harmattan/manifest.aegis \
+ qtc_packaging/debian_harmattan/copyright \
+ qtc_packaging/debian_harmattan/control \
+ qtc_packaging/debian_harmattan/compat \
+ qtc_packaging/debian_harmattan/changelog
+
+HEADERS += \
+ returnclass.h
--- /dev/null
+import QtQuick 1.1
+import com.nokia.meego 1.0
+
+PageStackWindow {
+ id: appWindow
+
+ Item {
+ id: content
+ anchors.right: parent.right
+ anchors.rightMargin: 20
+ anchors.left: parent.left
+ anchors.leftMargin: 20
+ anchors.top: parent.top
+ anchors.topMargin: 45
+ anchors.bottom: parent.bottom
+ anchors.bottomMargin: 15
+
+ Text {
+ id: textTitle
+ width: parent.width
+ verticalAlignment: Text.AlignVCenter
+ horizontalAlignment: Text.AlignHCenter
+ font.pixelSize: 36
+
+ text: title
+ }
+
+ TextArea {
+ // We can't specify a minimum height for a TextArea. Therefore, use
+ // a fixed, empty TextArea and draw the actual Text on top of it.
+ id: textArea
+ width: parent.width
+ anchors.top: textTitle.bottom
+ anchors.topMargin: 10
+ anchors.bottom: rowConfirm.top
+ anchors.bottomMargin: 10
+ readOnly: true
+
+ Flickable {
+ id: flickArea
+ width: parent.width
+ anchors.top: parent.top
+ anchors.topMargin: 20
+ anchors.bottom: parent.bottom
+ anchors.bottomMargin: 20
+ anchors.right: parent.right
+ anchors.rightMargin: 20
+ anchors.left: parent.left
+ anchors.leftMargin: 20
+
+ contentWidth: flickArea.width; contentHeight: textMessage.height
+ flickableDirection: Flickable.VerticalFlick
+ clip: true
+
+ Text {
+ id: textMessage
+ width: parent.width
+ font.pixelSize: 20
+ wrapMode: Text.Wrap
+
+ text: message
+ }
+ }
+ }
+
+
+ Item {
+ id: rowConfirm
+ width: parent.width
+ height: 50
+ anchors.bottom: content.bottom
+
+ Switch {
+ id: switchConfirm
+ }
+
+ Text {
+ id: textConfirm
+ width: 200
+ height: switchConfirm.height
+ anchors.left: switchConfirm.right
+ anchors.leftMargin: 10
+ verticalAlignment: Text.AlignVCenter
+ text: switchConfirm.checked ? "I Agree" : "I Disagree"
+ font.pixelSize: 24
+ }
+
+ Button {
+ id: buttonConfirm
+ anchors.right: rowConfirm.right
+ width: 150
+ height: switchConfirm.height
+ text: "Confirm"
+ onClicked: switchConfirm.checked ? returnClass.confirmAgreement(0) : returnClass.confirmAgreement(1)
+ }
+ }
+ }
+}
+
--- /dev/null
+// checksum 0xee24 version 0x70013
+/*
+ This file was generated by the Qt Quick Application wizard of Qt Creator.
+ QmlApplicationViewer is a convenience class containing mobile device specific
+ code such as screen orientation handling. Also QML paths and debugging are
+ handled here.
+ It is recommended not to modify this file, since newer versions of Qt Creator
+ may offer an updated version of it.
+*/
+
+#include "qmlapplicationviewer.h"
+
+#include <QtCore/QDir>
+#include <QtCore/QFileInfo>
+#include <QtGui/QApplication>
+#include <QtDeclarative/QDeclarativeComponent>
+#include <QtDeclarative/QDeclarativeEngine>
+#include <QtDeclarative/QDeclarativeContext>
+
+#include <qplatformdefs.h> // MEEGO_EDITION_HARMATTAN
+
+#ifdef HARMATTAN_BOOSTER
+#include <MDeclarativeCache>
+#endif
+
+#if defined(QMLJSDEBUGGER) && QT_VERSION < 0x040800
+
+#include <qt_private/qdeclarativedebughelper_p.h>
+
+#if !defined(NO_JSDEBUGGER)
+#include <jsdebuggeragent.h>
+#endif
+#if !defined(NO_QMLOBSERVER)
+#include <qdeclarativeviewobserver.h>
+#endif
+
+// Enable debugging before any QDeclarativeEngine is created
+struct QmlJsDebuggingEnabler
+{
+ QmlJsDebuggingEnabler()
+ {
+ QDeclarativeDebugHelper::enableDebugging();
+ }
+};
+
+// Execute code in constructor before first QDeclarativeEngine is instantiated
+static QmlJsDebuggingEnabler enableDebuggingHelper;
+
+#endif // QMLJSDEBUGGER
+
+class QmlApplicationViewerPrivate
+{
+ QString mainQmlFile;
+ friend class QmlApplicationViewer;
+ static QString adjustPath(const QString &path);
+};
+
+QString QmlApplicationViewerPrivate::adjustPath(const QString &path)
+{
+#ifdef Q_OS_UNIX
+#ifdef Q_OS_MAC
+ if (!QDir::isAbsolutePath(path))
+ return QString::fromLatin1("%1/../Resources/%2")
+ .arg(QCoreApplication::applicationDirPath(), path);
+#else
+ const QString pathInInstallDir =
+ QString::fromLatin1("%1/../%2").arg(QCoreApplication::applicationDirPath(), path);
+ if (QFileInfo(pathInInstallDir).exists())
+ return pathInInstallDir;
+#endif
+#endif
+ return path;
+}
+
+QmlApplicationViewer::QmlApplicationViewer(QWidget *parent)
+ : QDeclarativeView(parent)
+ , d(new QmlApplicationViewerPrivate())
+{
+ connect(engine(), SIGNAL(quit()), SLOT(close()));
+ setResizeMode(QDeclarativeView::SizeRootObjectToView);
+ // Qt versions prior to 4.8.0 don't have QML/JS debugging services built in
+#if defined(QMLJSDEBUGGER) && QT_VERSION < 0x040800
+#if !defined(NO_JSDEBUGGER)
+ new QmlJSDebugger::JSDebuggerAgent(engine());
+#endif
+#if !defined(NO_QMLOBSERVER)
+ new QmlJSDebugger::QDeclarativeViewObserver(this, this);
+#endif
+#endif
+}
+
+QmlApplicationViewer::~QmlApplicationViewer()
+{
+ delete d;
+}
+
+QmlApplicationViewer *QmlApplicationViewer::create()
+{
+ return new QmlApplicationViewer();
+}
+
+void QmlApplicationViewer::setMainQmlFile(const QString &file)
+{
+ d->mainQmlFile = QmlApplicationViewerPrivate::adjustPath(file);
+ setSource(QUrl::fromLocalFile(d->mainQmlFile));
+}
+
+void QmlApplicationViewer::addImportPath(const QString &path)
+{
+ engine()->addImportPath(QmlApplicationViewerPrivate::adjustPath(path));
+}
+
+void QmlApplicationViewer::setOrientation(ScreenOrientation orientation)
+{
+#if defined(Q_OS_SYMBIAN)
+ // If the version of Qt on the device is < 4.7.2, that attribute won't work
+ if (orientation != ScreenOrientationAuto) {
+ const QStringList v = QString::fromAscii(qVersion()).split(QLatin1Char('.'));
+ if (v.count() == 3 && (v.at(0).toInt() << 16 | v.at(1).toInt() << 8 | v.at(2).toInt()) < 0x040702) {
+ qWarning("Screen orientation locking only supported with Qt 4.7.2 and above");
+ return;
+ }
+ }
+#endif // Q_OS_SYMBIAN
+
+ Qt::WidgetAttribute attribute;
+ switch (orientation) {
+#if QT_VERSION < 0x040702
+ // Qt < 4.7.2 does not yet have the Qt::WA_*Orientation attributes
+ case ScreenOrientationLockPortrait:
+ attribute = static_cast<Qt::WidgetAttribute>(128);
+ break;
+ case ScreenOrientationLockLandscape:
+ attribute = static_cast<Qt::WidgetAttribute>(129);
+ break;
+ default:
+ case ScreenOrientationAuto:
+ attribute = static_cast<Qt::WidgetAttribute>(130);
+ break;
+#else // QT_VERSION < 0x040702
+ case ScreenOrientationLockPortrait:
+ attribute = Qt::WA_LockPortraitOrientation;
+ break;
+ case ScreenOrientationLockLandscape:
+ attribute = Qt::WA_LockLandscapeOrientation;
+ break;
+ default:
+ case ScreenOrientationAuto:
+ attribute = Qt::WA_AutoOrientation;
+ break;
+#endif // QT_VERSION < 0x040702
+ };
+ setAttribute(attribute, true);
+}
+
+void QmlApplicationViewer::showExpanded()
+{
+#if defined(Q_OS_SYMBIAN) || defined(MEEGO_EDITION_HARMATTAN) || defined(Q_WS_SIMULATOR)
+ showFullScreen();
+#elif defined(Q_WS_MAEMO_5)
+ showMaximized();
+#else
+ show();
+#endif
+}
+
+QApplication *createApplication(int &argc, char **argv)
+{
+#ifdef HARMATTAN_BOOSTER
+ return MDeclarativeCache::qApplication(argc, argv);
+#else
+ return new QApplication(argc, argv);
+#endif
+}
--- /dev/null
+// checksum 0x898f version 0x70013
+/*
+ This file was generated by the Qt Quick Application wizard of Qt Creator.
+ QmlApplicationViewer is a convenience class containing mobile device specific
+ code such as screen orientation handling. Also QML paths and debugging are
+ handled here.
+ It is recommended not to modify this file, since newer versions of Qt Creator
+ may offer an updated version of it.
+*/
+
+#ifndef QMLAPPLICATIONVIEWER_H
+#define QMLAPPLICATIONVIEWER_H
+
+#include <QtDeclarative/QDeclarativeView>
+
+class QmlApplicationViewer : public QDeclarativeView
+{
+ Q_OBJECT
+
+public:
+ enum ScreenOrientation {
+ ScreenOrientationLockPortrait,
+ ScreenOrientationLockLandscape,
+ ScreenOrientationAuto
+ };
+
+ explicit QmlApplicationViewer(QWidget *parent = 0);
+ virtual ~QmlApplicationViewer();
+
+ static QmlApplicationViewer *create();
+
+ void setMainQmlFile(const QString &file);
+ void addImportPath(const QString &path);
+
+ // Note that this will only have an effect on Symbian and Fremantle.
+ void setOrientation(ScreenOrientation orientation);
+
+ void showExpanded();
+
+private:
+ class QmlApplicationViewerPrivate *d;
+};
+
+QApplication *createApplication(int &argc, char **argv);
+
+#endif // QMLAPPLICATIONVIEWER_H
--- /dev/null
+# checksum 0x5b42 version 0x70013
+# This file was generated by the Qt Quick Application wizard of Qt Creator.
+# The code below adds the QmlApplicationViewer to the project and handles the
+# activation of QML debugging.
+# It is recommended not to modify this file, since newer versions of Qt Creator
+# may offer an updated version of it.
+
+QT += declarative
+
+SOURCES += $$PWD/qmlapplicationviewer.cpp
+HEADERS += $$PWD/qmlapplicationviewer.h
+INCLUDEPATH += $$PWD
+
+# Include JS debugger library if QMLJSDEBUGGER_PATH is set
+!isEmpty(QMLJSDEBUGGER_PATH) {
+ include($$QMLJSDEBUGGER_PATH/qmljsdebugger-lib.pri)
+} else {
+ DEFINES -= QMLJSDEBUGGER
+}
+
+contains(CONFIG,qdeclarative-boostable):contains(MEEGO_EDITION,harmattan) {
+ DEFINES += HARMATTAN_BOOSTER
+}
+# This file was generated by an application wizard of Qt Creator.
+# The code below handles deployment to Symbian and Maemo, aswell as copying
+# of the application data to shadow build directories on desktop.
+# It is recommended not to modify this file, since newer versions of Qt Creator
+# may offer an updated version of it.
+
+defineTest(qtcAddDeployment) {
+for(deploymentfolder, DEPLOYMENTFOLDERS) {
+ item = item$${deploymentfolder}
+ itemsources = $${item}.sources
+ $$itemsources = $$eval($${deploymentfolder}.source)
+ itempath = $${item}.path
+ $$itempath= $$eval($${deploymentfolder}.target)
+ export($$itemsources)
+ export($$itempath)
+ DEPLOYMENT += $$item
+}
+
+MAINPROFILEPWD = $$PWD
+
+symbian {
+ isEmpty(ICON):exists($${TARGET}.svg):ICON = $${TARGET}.svg
+ isEmpty(TARGET.EPOCHEAPSIZE):TARGET.EPOCHEAPSIZE = 0x20000 0x2000000
+} else:win32 {
+ copyCommand =
+ for(deploymentfolder, DEPLOYMENTFOLDERS) {
+ source = $$MAINPROFILEPWD/$$eval($${deploymentfolder}.source)
+ source = $$replace(source, /, \\)
+ sourcePathSegments = $$split(source, \\)
+ target = $$OUT_PWD/$$eval($${deploymentfolder}.target)/$$last(sourcePathSegments)
+ target = $$replace(target, /, \\)
+ target ~= s,\\\\\\.?\\\\,\\,
+ !isEqual(source,$$target) {
+ !isEmpty(copyCommand):copyCommand += &&
+ isEqual(QMAKE_DIR_SEP, \\) {
+ copyCommand += $(COPY_DIR) \"$$source\" \"$$target\"
+ } else {
+ source = $$replace(source, \\\\, /)
+ target = $$OUT_PWD/$$eval($${deploymentfolder}.target)
+ target = $$replace(target, \\\\, /)
+ copyCommand += test -d \"$$target\" || mkdir -p \"$$target\" && cp -r \"$$source\" \"$$target\"
+ }
+ }
+ }
+ !isEmpty(copyCommand) {
+ copyCommand = @echo Copying application data... && $$copyCommand
+ copydeploymentfolders.commands = $$copyCommand
+ first.depends = $(first) copydeploymentfolders
+ export(first.depends)
+ export(copydeploymentfolders.commands)
+ QMAKE_EXTRA_TARGETS += first copydeploymentfolders
+ }
+} else:unix {
+ maemo5 {
+ desktopfile.files = $${TARGET}.desktop
+ desktopfile.path = /usr/share/applications/hildon
+ icon.files = $${TARGET}64.png
+ icon.path = /usr/share/icons/hicolor/64x64/apps
+ } else:!isEmpty(MEEGO_VERSION_MAJOR) {
+ desktopfile.files = $${TARGET}_harmattan.desktop
+ desktopfile.path = /usr/share/applications
+ icon.files = $${TARGET}80.png
+ icon.path = /usr/share/icons/hicolor/80x80/apps
+ } else { # Assumed to be a Desktop Unix
+ copyCommand =
+ for(deploymentfolder, DEPLOYMENTFOLDERS) {
+ source = $$MAINPROFILEPWD/$$eval($${deploymentfolder}.source)
+ source = $$replace(source, \\\\, /)
+ macx {
+ target = $$OUT_PWD/$${TARGET}.app/Contents/Resources/$$eval($${deploymentfolder}.target)
+ } else {
+ target = $$OUT_PWD/$$eval($${deploymentfolder}.target)
+ }
+ target = $$replace(target, \\\\, /)
+ sourcePathSegments = $$split(source, /)
+ targetFullPath = $$target/$$last(sourcePathSegments)
+ targetFullPath ~= s,/\\.?/,/,
+ !isEqual(source,$$targetFullPath) {
+ !isEmpty(copyCommand):copyCommand += &&
+ copyCommand += $(MKDIR) \"$$target\"
+ copyCommand += && $(COPY_DIR) \"$$source\" \"$$target\"
+ }
+ }
+ !isEmpty(copyCommand) {
+ copyCommand = @echo Copying application data... && $$copyCommand
+ copydeploymentfolders.commands = $$copyCommand
+ first.depends = $(first) copydeploymentfolders
+ export(first.depends)
+ export(copydeploymentfolders.commands)
+ QMAKE_EXTRA_TARGETS += first copydeploymentfolders
+ }
+ }
+ installPrefix = /opt/$${TARGET}
+ for(deploymentfolder, DEPLOYMENTFOLDERS) {
+ item = item$${deploymentfolder}
+ itemfiles = $${item}.files
+ $$itemfiles = $$eval($${deploymentfolder}.source)
+ itempath = $${item}.path
+ $$itempath = $${installPrefix}/$$eval($${deploymentfolder}.target)
+ export($$itemfiles)
+ export($$itempath)
+ INSTALLS += $$item
+ }
+
+ !isEmpty(desktopfile.path) {
+ export(icon.files)
+ export(icon.path)
+ export(desktopfile.files)
+ export(desktopfile.path)
+ INSTALLS += icon desktopfile
+ }
+
+ target.path = $${installPrefix}/bin
+ export(target.path)
+ INSTALLS += target
+}
+
+export (ICON)
+export (INSTALLS)
+export (DEPLOYMENT)
+export (TARGET.EPOCHEAPSIZE)
+export (TARGET.CAPABILITY)
+export (LIBS)
+export (QMAKE_EXTRA_TARGETS)
+}
--- /dev/null
+#include <QApplication>
+#include "returnclass.h"
+
+int retval = 1;
+
+void ReturnClass::confirmAgreement(int choice) {
+ retval = choice;
+ QApplication::exit();
+}
+
--- /dev/null
+#ifndef RETURNCLASS_H
+#define RETURNCLASS_H
+#include <QObject>
+
+extern int retval;
+
+class ReturnClass : public QObject
+{
+ Q_OBJECT
+public:
+ Q_INVOKABLE void confirmAgreement(int choice);
+};
+
+#endif // RETURNCLASS_H
+