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 /kdeui/tests/kjanuswidgettest.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 'kdeui/tests/kjanuswidgettest.cpp')
-rw-r--r-- | kdeui/tests/kjanuswidgettest.cpp | 16 |
1 files changed, 8 insertions, 8 deletions
diff --git a/kdeui/tests/kjanuswidgettest.cpp b/kdeui/tests/kjanuswidgettest.cpp index 5788f3638..59db252e2 100644 --- a/kdeui/tests/kjanuswidgettest.cpp +++ b/kdeui/tests/kjanuswidgettest.cpp @@ -1,9 +1,9 @@ #include <kapplication.h> #include <kjanuswidget.h> -#include <qstring.h> -#include <qcheckbox.h> -#include <qvbox.h> +#include <tqstring.h> +#include <tqcheckbox.h> +#include <tqvbox.h> int main(int argc, char** argv) { @@ -11,14 +11,14 @@ int main(int argc, char** argv) // ----- KJanusWidget* janus = new KJanusWidget( 0, 0, KJanusWidget::IconList ); - QVBox* page1 = janus->addVBoxPage( QString( "Page1" ) ); // use i18n in real apps - QCheckBox* cb1 = new QCheckBox( "a", page1 ); + TQVBox* page1 = janus->addVBoxPage( TQString( "Page1" ) ); // use i18n in real apps + TQCheckBox* cb1 = new TQCheckBox( "a", page1 ); - QVBox* page2 = janus->addVBoxPage( QString( "Page2" ) ); - QCheckBox* cb2 = new QCheckBox( "a", page2 ); + TQVBox* page2 = janus->addVBoxPage( TQString( "Page2" ) ); + TQCheckBox* cb2 = new TQCheckBox( "a", page2 ); janus->show(); - QObject::connect( &app, SIGNAL( lastWindowClosed() ), &app, SLOT( quit() ) ); + TQObject::connect( &app, TQT_SIGNAL( lastWindowClosed() ), &app, TQT_SLOT( quit() ) ); return app.exec(); } |