summaryrefslogtreecommitdiffstats
path: root/kexi/widget/kexidbdrivercombobox.h
diff options
context:
space:
mode:
Diffstat (limited to 'kexi/widget/kexidbdrivercombobox.h')
-rw-r--r--kexi/widget/kexidbdrivercombobox.h19
1 files changed, 10 insertions, 9 deletions
diff --git a/kexi/widget/kexidbdrivercombobox.h b/kexi/widget/kexidbdrivercombobox.h
index 981b67c3..cdd18f76 100644
--- a/kexi/widget/kexidbdrivercombobox.h
+++ b/kexi/widget/kexidbdrivercombobox.h
@@ -20,8 +20,8 @@
#ifndef KEXIDBDRIVERCOMBOBOX_H
#define KEXIDBDRIVERCOMBOBOX_H
-#include <qwidget.h>
-#include <qmap.h>
+#include <tqwidget.h>
+#include <tqmap.h>
#include <kcombobox.h>
@@ -47,6 +47,7 @@ A more complete example can be found in
class KEXIEXTWIDGETS_EXPORT KexiDBDriverComboBox : public KComboBox
{
Q_OBJECT
+ TQ_OBJECT
public:
enum Options {
@@ -64,7 +65,7 @@ class KEXIEXTWIDGETS_EXPORT KexiDBDriverComboBox : public KComboBox
If \a includeFileBasedDrivers is set to false, then only those drivers
that are for database servers (those which have X-Kexi-DriverType=Network
in their .desktop file) are shown. */
- KexiDBDriverComboBox(QWidget* parent, const KexiDB::Driver::InfoMap& driversInfo,
+ KexiDBDriverComboBox(TQWidget* tqparent, const KexiDB::Driver::InfoMap& driversInfo,
Options options = ShowAll );
~KexiDBDriverComboBox();
@@ -76,13 +77,13 @@ class KEXIEXTWIDGETS_EXPORT KexiDBDriverComboBox : public KComboBox
was false, this won't include the file based drivers either.
\return a list of names of drivers that were found */
- QStringList driverNames() const { return m_driverNames; }
+ TQStringList driverNames() const { return m_driverNames; }
/*! Get the name of the currrently selected driver. If the combobox is empty,
- QString::null will be returned.
+ TQString() will be returned.
\return the name of the currently selected driver */
- QString selectedDriverName() const;
+ TQString selectedDriverName() const;
/*! Set the currrently selected driver.
@@ -91,11 +92,11 @@ class KEXIEXTWIDGETS_EXPORT KexiDBDriverComboBox : public KComboBox
is case insensitive.
*/
- void setDriverName(const QString& driverName);
+ void setDriverName(const TQString& driverName);
protected:
- QMap<QString,QString> m_driversMap;
- QStringList m_driverNames;
+ TQMap<TQString,TQString> m_driversMap;
+ TQStringList m_driverNames;
};
#endif