SOURCES += DownloadView.cpp \
SeedView.cpp \
- MainWindow.cpp \
+ MainWindowPage.cpp \
main.cpp \
PreferencesDialog.cpp \
proxy.cpp
HEADERS += DownloadView.h \
SeedView.h \
- MainWindow.h \
+ MainWindowPage.h \
PreferencesDialog.h \
proxy.h \
../include/qtrapids/dbus.hpp \
CONFIG -= release
CONFIG += debug \
- qtestlib
+ qtestlib \
+ dui
QT += dbus
DESTDIR = ../../bin
-INCLUDEPATH += ../include
+INCLUDEPATH += ../include /usr/include/dui
LIBS += -L../../bin \
-L../engine
QMAKE_LFLAGS_DEBUG += -L.
-LIBS += -lboost_system-mt
+LIBS += -lboost_system-mt -ldui
* Free Software Foundation, Inc., *
* 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. *
***************************************************************************/
-#include <QApplication>
+#include <DuiApplication>
+#include <DuiApplicationWindow>
#include <QTest>
#include <QDebug>
//#include <QDesktopWidget>
//#include "DownloadView.h"
-#include "MainWindow.h"
+#include "MainWindowPage.h"
-using qtrapids::MainWindow;
+using qtrapids::MainWindowPage;
int main(int argc, char *argv[])
{
QCoreApplication::setApplicationName("QtRapids");
// Q_INIT_RESOURCE(application);
- QApplication app(argc, argv);
- MainWindow mainWindow;
- mainWindow.connectToServer();
+ DuiApplication app(argc, argv);
+
+ DuiApplicationWindow w;
+ w.show();
+
+ MainWindowPage mainWindowPage;
+ mainWindowPage.connectToServer();
// mainWindow->setGeometry(QApplication::desktop()->screenGeometry());
- mainWindow.show();
+ mainWindowPage.show();
/*
DownloadView* dlw = new DownloadView(NULL);
include (../../buildconf.pri)
SOURCES += DownloadView.cpp \
-MainWindow.cpp \
+MainWindowPage.cpp \
SeedView.cpp \
main.cpp \
PreferencesDialog.cpp
HEADERS += DownloadView.h \
-MainWindow.h \
-SeedView.h \
- PreferencesDialog.h
+ MainWindowPage.h \
+ SeedView.h \
+ PreferencesDialog.h
TEMPLATE = app
TARGET = qtrapids
-CONFIG += qtestlib
+CONFIG += qtestlib dui
DESTDIR = ../../bin
INCLUDEPATH += ../engine \
- ../plugins
+ ../plugins \
+ /usr/include/dui
-LIBS += -L../../bin \
- -lqtbittorrent \
- -L/home/vaatala/Projects/qtrapids/trunk/bin \
- -L../engine
+LIBS += -ldui -L../../bin \
+ -lqtbittorrent \
+ -L/home/vaatala/Projects/qtrapids/trunk/bin \
+ -L../engine
QMAKE_LFLAGS_DEBUG += -L.
TARGETDEPS += ../../bin/libqtbittorrent.so
# Check build mode and print to console
debug {
- message( "DEBUG" )
+ message( "DEBUG" )
} else {
- message( "RELEASE" )
+ message( "RELEASE" )
}
* Free Software Foundation, Inc., *
* 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. *
***************************************************************************/
-#include <QApplication>
-#include <QDebug>
+#include <DuiApplication>
+#include <DuiApplicationWindow>
#include <QTest>
+#include <QDebug>
+//#include <QDesktopWidget>
//#include "DownloadView.h"
-#include "MainWindow.h"
+#include "MainWindowPage.h"
+
+//using qtrapids::MainWindowPage;
int main(int argc, char *argv[])
{
QCoreApplication::setApplicationName("QtRapids");
// Q_INIT_RESOURCE(application);
- QApplication app(argc, argv);
- MainWindow *mainWindow = new MainWindow();
- mainWindow->show();
+ DuiApplication app(argc, argv);
+
+ DuiApplicationWindow w;
+ w.show();
+
+ MainWindowPage mainWindowPage;
+ //mainWindowPage.connectToServer();
+ // mainWindow->setGeometry(QApplication::desktop()->screenGeometry());
+
+ mainWindowPage.show();
/*
DownloadView* dlw = new DownloadView(NULL);