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/qxembedtest.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/qxembedtest.cpp')
-rw-r--r-- | kdeui/tests/qxembedtest.cpp | 24 |
1 files changed, 12 insertions, 12 deletions
diff --git a/kdeui/tests/qxembedtest.cpp b/kdeui/tests/qxembedtest.cpp index 513231051..5e870ba8f 100644 --- a/kdeui/tests/qxembedtest.cpp +++ b/kdeui/tests/qxembedtest.cpp @@ -1,11 +1,11 @@ #include <stdlib.h> #include <stdio.h> -#include "qapplication.h" -#include "qpushbutton.h" -#include "qlineedit.h" -#include "qhbox.h" -#include "qvbox.h" +#include "tqapplication.h" +#include "tqpushbutton.h" +#include "tqlineedit.h" +#include "tqhbox.h" +#include "tqvbox.h" #include "qxembed.h" WId windowWithName(const char *); @@ -23,13 +23,13 @@ main(int argc, char**argv) } - QApplication a(argc,argv); + TQApplication a(argc,argv); - QWidget *main = new QVBox(NULL,"main",Qt::WDestructiveClose); - QWidget *top = new QHBox(main); - QPushButton *quit = new QPushButton("Quit", top); - QObject::connect( quit, SIGNAL(clicked()), main, SLOT(close()) ); - QLineEdit *edit = new QLineEdit(top); + TQWidget *main = new TQVBox(NULL,"main",Qt::WDestructiveClose); + TQWidget *top = new TQHBox(main); + TQPushButton *quit = new TQPushButton("Quit", top); + TQObject::connect( quit, TQT_SIGNAL(clicked()), main, TQT_SLOT(close()) ); + TQLineEdit *edit = new TQLineEdit(top); edit->setText( "Just to see focus changes"); QXEmbed *embed = new QXEmbed(main); embed->setProtocol(QXEmbed::XPLAIN); @@ -57,7 +57,7 @@ main(int argc, char**argv) #include <X11/Xlib.h> -#include <qpaintdevice.h> +#include <tqpaintdevice.h> // This is lifted from X11 xprop. |