summaryrefslogtreecommitdiffstats
path: root/kppp/modemdb.h
diff options
context:
space:
mode:
authortpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2010-07-31 19:48:06 +0000
committertpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2010-07-31 19:48:06 +0000
commit47c8a359c5276062c4bc17f0e82410f29081b502 (patch)
tree2d54a5f60a5b74067632f9ef6df58c2bc38155e6 /kppp/modemdb.h
parent6f82532777a35e0e60bbd2b290b2e93e646f349b (diff)
downloadtdenetwork-47c8a359c5276062c4bc17f0e82410f29081b502.tar.gz
tdenetwork-47c8a359c5276062c4bc17f0e82410f29081b502.zip
Trinity Qt initial conversion
git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kdenetwork@1157648 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
Diffstat (limited to 'kppp/modemdb.h')
-rw-r--r--kppp/modemdb.h28
1 files changed, 14 insertions, 14 deletions
diff --git a/kppp/modemdb.h b/kppp/modemdb.h
index 92606697..35ddbcff 100644
--- a/kppp/modemdb.h
+++ b/kppp/modemdb.h
@@ -35,40 +35,40 @@
#ifndef __MODEMDB__H__
#define __MODEMDB__H__
-#include <qdialog.h>
-#include <qstringlist.h>
-#include <qdict.h>
-#include <qptrlist.h>
+#include <tqdialog.h>
+#include <tqstringlist.h>
+#include <tqdict.h>
+#include <tqptrlist.h>
class KConfig;
class QListBox;
-typedef QDict<QString> CharDict;
+typedef TQDict<TQString> CharDict;
class ModemDatabase {
public:
ModemDatabase();
~ModemDatabase();
- const QStringList *vendors();
- QStringList *models(QString vendor);
+ const TQStringList *vendors();
+ TQStringList *models(TQString vendor);
void save(KConfig *);
private:
void load();
- void loadModem(const QString & key, CharDict &dict);
- QPtrList<CharDict> modems;
+ void loadModem(const TQString & key, CharDict &dict);
+ TQPtrList<CharDict> modems;
- QStringList *lvendors;
+ TQStringList *lvendors;
KConfig *modemDB;
};
-class ModemSelector : public QDialog {
+class ModemSelector : public TQDialog {
Q_OBJECT
public:
- ModemSelector(QWidget *parent = 0);
+ ModemSelector(TQWidget *parent = 0);
~ModemSelector();
private slots:
@@ -77,8 +77,8 @@ private slots:
void selected(int idx);
private:
- QPushButton *ok, *cancel;
- QListBox *vendor, *model;
+ TQPushButton *ok, *cancel;
+ TQListBox *vendor, *model;
ModemDatabase *db;
};