From ffe8a83e053396df448e9413828527613ca3bd46 Mon Sep 17 00:00:00 2001 From: tpearson Date: Sat, 31 Jul 2010 19:46:43 +0000 Subject: Trinity Qt initial conversion git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kdelibs@1157647 283d02a7-25f6-0310-bc7c-ecb5cbfe19da --- kdeprint/tests/main.cpp | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) (limited to 'kdeprint/tests/main.cpp') 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 -#include -#include +#include +#include #include @@ -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(); } -- cgit v1.2.3