summaryrefslogtreecommitdiffstats
path: root/kexi/kexidb/utils_p.h
diff options
context:
space:
mode:
authortpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2011-06-25 05:28:35 +0000
committertpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2011-06-25 05:28:35 +0000
commitf008adb5a77e094eaf6abf3fc0f36958e66896a5 (patch)
tree8e9244c4d4957c36be81e15b566b4aa5ea26c982 /kexi/kexidb/utils_p.h
parent1210f27b660efb7b37ff43ec68763e85a403471f (diff)
downloadkoffice-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/kexidb/utils_p.h')
-rw-r--r--kexi/kexidb/utils_p.h11
1 files changed, 6 insertions, 5 deletions
diff --git a/kexi/kexidb/utils_p.h b/kexi/kexidb/utils_p.h
index 6129196b..56c20267 100644
--- a/kexi/kexidb/utils_p.h
+++ b/kexi/kexidb/utils_p.h
@@ -20,8 +20,8 @@
#ifndef KEXIDB_UTILS_P_H
#define KEXIDB_UTILS_P_H
-#include <qtimer.h>
-#include <qwaitcondition.h>
+#include <tqtimer.h>
+#include <tqwaitcondition.h>
#include <kprogress.h>
@@ -32,8 +32,9 @@ class ConnectionTestThread;
class ConnectionTestDialog : protected KProgressDialog
{
Q_OBJECT
+ TQ_OBJECT
public:
- ConnectionTestDialog(QWidget* parent,
+ ConnectionTestDialog(TQWidget* tqparent,
const KexiDB::ConnectionData& data, KexiDB::MessageHandler& msgHandler);
virtual ~ConnectionTestDialog();
@@ -48,11 +49,11 @@ class ConnectionTestDialog : protected KProgressDialog
protected:
ConnectionTestThread* m_thread;
KexiDB::ConnectionData m_connData;
- QTimer m_timer;
+ TQTimer m_timer;
KexiDB::MessageHandler* m_msgHandler;
uint m_elapsedTime;
KexiDB::Object *m_errorObj;
- QWaitCondition m_wait;
+ TQWaitCondition m_wait;
bool m_stopWaiting : 1;
};