summaryrefslogtreecommitdiffstats
path: root/kexi/core/kexipartmanager.h
diff options
context:
space:
mode:
Diffstat (limited to 'kexi/core/kexipartmanager.h')
-rw-r--r--kexi/core/kexipartmanager.h41
1 files changed, 21 insertions, 20 deletions
diff --git a/kexi/core/kexipartmanager.h b/kexi/core/kexipartmanager.h
index 1756e965a..e771ae001 100644
--- a/kexi/core/kexipartmanager.h
+++ b/kexi/core/kexipartmanager.h
@@ -21,12 +21,12 @@
#ifndef KEXIPARTMANAGER_H
#define KEXIPARTMANAGER_H
-#include <qobject.h>
-#include <qdict.h>
-#include <qasciidict.h>
-#include <qintdict.h>
-#include <qvaluelist.h>
-#include <qptrlist.h>
+#include <tqobject.h>
+#include <tqdict.h>
+#include <tqasciidict.h>
+#include <tqintdict.h>
+#include <tqvaluelist.h>
+#include <tqptrlist.h>
#include <kservice.h>
@@ -47,33 +47,34 @@ namespace KexiPart
struct Missing
{
- QString name;
- QCString mime;
- QString url;
+ TQString name;
+ TQCString mime;
+ TQString url;
};
- typedef QAsciiDict<Info> PartInfoDict;
- typedef QDictIterator<Info> PartInfoDictIterator;
- typedef QValueList<Missing> MissingList;
- typedef QPtrList<Info> PartInfoList;
- typedef QPtrListIterator<Info> PartInfoListIterator;
- typedef QIntDict<Part> PartDict;
-// typedef QPtrList<DataSource> DataSourceList;
+ typedef TQAsciiDict<Info> PartInfoDict;
+ typedef TQDictIterator<Info> PartInfoDictIterator;
+ typedef TQValueList<Missing> MissingList;
+ typedef TQPtrList<Info> PartInfoList;
+ typedef TQPtrListIterator<Info> PartInfoListIterator;
+ typedef TQIntDict<Part> PartDict;
+// typedef TQPtrList<DataSource> DataSourceList;
/**
* @short KexiPart's manager: looks up and instantiates them
*
* It dlopens them when needed, they aren't dlopened at startup is not necessary.
*/
-class KEXICORE_EXPORT Manager : public QObject, public KexiDB::Object
+class KEXICORE_EXPORT Manager : public TQObject, public KexiDB::Object
{
Q_OBJECT
+ TQ_OBJECT
public:
/**
* creates an empty instance
*/
- Manager(QObject *parent = 0);
+ Manager(TQObject *tqparent = 0);
~Manager();
/**
@@ -85,7 +86,7 @@ class KEXICORE_EXPORT Manager : public QObject, public KexiDB::Object
* \return a part object for specified mime type. Dlopens a part using KexiPart::Info
* if needed. Return 0 if loading failed.
*/
- Part *partForMimeType(const QString& mimeTypt);
+ Part *partForMimeType(const TQString& mimeTypt);
/**
* \return a part object for specified info. Dlopens a part using KexiPart::Info
@@ -96,7 +97,7 @@ class KEXICORE_EXPORT Manager : public QObject, public KexiDB::Object
/**
* \return the info for a corresponding internal mime
*/
- Info *infoForMimeType(const QString& mimeType);
+ Info *infoForMimeType(const TQString& mimeType);
/**
* checks project's kexi__part table