diff options
author | tpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da> | 2011-06-25 05:28:35 +0000 |
---|---|---|
committer | tpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da> | 2011-06-25 05:28:35 +0000 |
commit | f008adb5a77e094eaf6abf3fc0f36958e66896a5 (patch) | |
tree | 8e9244c4d4957c36be81e15b566b4aa5ea26c982 /kexi/tests/widgets/kexidbdrivercombotest.cpp | |
parent | 1210f27b660efb7b37ff43ec68763e85a403471f (diff) | |
download | koffice-f008adb5a77e094eaf6abf3fc0f36958e66896a5.tar.gz koffice-f008adb5a77e094eaf6abf3fc0f36958e66896a5.zip |
TQt4 port koffice
This should enable compilation under both Qt3 and Qt4; fixes for any missed components will be forthcoming
git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/applications/koffice@1238284 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
Diffstat (limited to 'kexi/tests/widgets/kexidbdrivercombotest.cpp')
-rw-r--r-- | kexi/tests/widgets/kexidbdrivercombotest.cpp | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/kexi/tests/widgets/kexidbdrivercombotest.cpp b/kexi/tests/widgets/kexidbdrivercombotest.cpp index 8feb56fa..1ada79b1 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(); |