summaryrefslogtreecommitdiffstats
path: root/kexi/tests/widgets/kexidbdrivercombotest.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'kexi/tests/widgets/kexidbdrivercombotest.cpp')
-rw-r--r--kexi/tests/widgets/kexidbdrivercombotest.cpp12
1 files changed, 6 insertions, 6 deletions
diff --git a/kexi/tests/widgets/kexidbdrivercombotest.cpp b/kexi/tests/widgets/kexidbdrivercombotest.cpp
index 8feb56fa3..1ada79b17 100644
--- a/kexi/tests/widgets/kexidbdrivercombotest.cpp
+++ b/kexi/tests/widgets/kexidbdrivercombotest.cpp
@@ -22,8 +22,8 @@
* OTHER DEALINGS IN THE SOFTWARE. *
***************************************************************************/
-#include <qlayout.h>
-#include <qpushbutton.h>
+#include <tqlayout.h>
+#include <tqpushbutton.h>
#include <kdebug.h>
#include <kcmdlineargs.h>
#include <kapplication.h>
@@ -53,21 +53,21 @@ int main(int argc, char** argv)
KexiDB::Driver::InfoMap drvs = manager.driversInfo();
// Set up a combo box and a quit widget in a new container
- QWidget* vbox = new QWidget();
- QVBoxLayout* vbLayout = new QVBoxLayout(vbox);
+ TQWidget* vbox = new TQWidget();
+ TQVBoxLayout* vbLayout = new TQVBoxLayout(vbox);
KexiDBDriverComboBox* all = new KexiDBDriverComboBox(vbox, drvs);
KexiDBDriverComboBox* srvOnly = new KexiDBDriverComboBox(vbox, drvs,
KexiDBDriverComboBox::ShowServerDrivers);
- QPushButton* quit = new QPushButton("Quit", vbox);
+ TQPushButton* quit = new TQPushButton("Quit", vbox);
vbLayout->addWidget(all); // Combobox listing all drivers
vbLayout->addWidget(srvOnly); // Combobox only drivers for DB servers
vbLayout->addWidget(quit);
// Show the whole lot
- QObject::connect(quit, SIGNAL(clicked()), app, SLOT(quit()));
+ TQObject::connect(quit, TQT_SIGNAL(clicked()), app, TQT_SLOT(quit()));
vbox->show();
app->exec();