diff options
author | tpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da> | 2010-07-31 19:46:43 +0000 |
---|---|---|
committer | tpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da> | 2010-07-31 19:46:43 +0000 |
commit | ffe8a83e053396df448e9413828527613ca3bd46 (patch) | |
tree | a73d4169e02df4a50f9a12cb165fcd0ab5bac7c6 /kdeprint/tests/main.cpp | |
parent | 682bf3bfdcbcbb1fca85e8a36ed03e062e0555d5 (diff) | |
download | tdelibs-ffe8a83e053396df448e9413828527613ca3bd46.tar.gz tdelibs-ffe8a83e053396df448e9413828527613ca3bd46.zip |
Trinity Qt initial conversion
git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kdelibs@1157647 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
Diffstat (limited to 'kdeprint/tests/main.cpp')
-rw-r--r-- | kdeprint/tests/main.cpp | 16 |
1 files changed, 8 insertions, 8 deletions
diff --git a/kdeprint/tests/main.cpp b/kdeprint/tests/main.cpp index 4db031532..a1dc6b5e0 100644 --- a/kdeprint/tests/main.cpp +++ b/kdeprint/tests/main.cpp @@ -10,8 +10,8 @@ #include "helpwindow.h" #include <kapplication.h> -#include <qwindowsstyle.h> -#include <qstylesheet.h> +#include <tqwindowsstyle.h> +#include <tqstylesheet.h> #include <stdlib.h> @@ -19,23 +19,23 @@ int main( int argc, char ** argv ) { KApplication a(argc, argv, "helpviewer"); - QString home; + TQString home; if (argc > 1) home = argv[1]; else - home = QString(getenv("QTDIR")) + "/doc/html/index.html"; + home = TQString(getenv("QTDIR")) + "/doc/html/index.html"; HelpWindow *help = new HelpWindow(home, ".", 0, "help viewer"); - if ( QApplication::desktop()->width() > 400 - && QApplication::desktop()->height() > 500 ) + if ( TQApplication::desktop()->width() > 400 + && TQApplication::desktop()->height() > 500 ) help->show(); else help->showMaximized(); - QObject::connect( &a, SIGNAL(lastWindowClosed()), - &a, SLOT(quit()) ); + TQObject::connect( &a, TQT_SIGNAL(lastWindowClosed()), + &a, TQT_SLOT(quit()) ); return a.exec(); } |