summaryrefslogtreecommitdiffstats
path: root/kkbswitch/kbconfig.h
diff options
context:
space:
mode:
Diffstat (limited to 'kkbswitch/kbconfig.h')
-rw-r--r--kkbswitch/kbconfig.h28
1 files changed, 14 insertions, 14 deletions
diff --git a/kkbswitch/kbconfig.h b/kkbswitch/kbconfig.h
index 7187263..c5ecaac 100644
--- a/kkbswitch/kbconfig.h
+++ b/kkbswitch/kbconfig.h
@@ -20,8 +20,8 @@
#include "kbgroup.h"
-#include <qptrvector.h>
-#include <qvaluevector.h>
+#include <ntqptrvector.h>
+#include <ntqvaluevector.h>
#include <kconfig.h>
#define ICONS_SECTION "Icons"
@@ -32,7 +32,7 @@
class KGlobalAccel;
-typedef QPtrVector<KBGroup> KBGroupVector;
+typedef TQPtrVector<KBGroup> KBGroupVector;
/**The class that stores configuration information of KBSwitch
*@author Leonid Zeitlin
@@ -79,11 +79,11 @@ public:
void save(KConfig *config);
/** No descriptions */
/*void notifyChanged();*/
- /*static QString entryForGroup(int i) {
- return QString("Group%1").arg(i+1);
+ /*static TQString entryForGroup(int i) {
+ return TQString("Group%1").arg(i+1);
}*/
- void drawIcons(IconStyle icon_style, QValueVector<QPixmap> *icons,
- QStringList *iconpaths);
+ void drawIcons(IconStyle icon_style, TQValueVector<TQPixmap> *icons,
+ TQStringList *iconpaths);
void checkKeysEnabled();
int getNextGroup(int groupno) {
return groupno >= groupCount() - 1 ? 0 : groupno + 1;
@@ -95,16 +95,16 @@ private: // Private methods
//void drawDefaultPixmaps();
/** No descriptions */
//void loadConfiguredPixmaps(KConfig *config);
- void drawFlagPixmap(QPixmap &pix, QString &path, const QString &code,
+ void drawFlagPixmap(TQPixmap &pix, TQString &path, const TQString &code,
int group, KConfig *config);
- void drawCodePixmap(QPixmap &pix, const QString &code);
- void drawCodeAndFlagPixmap(QPixmap &pix, QString &path,
- const QString &countryCode, const QString &langCode, int group,
+ void drawCodePixmap(TQPixmap &pix, const TQString &code);
+ void drawCodeAndFlagPixmap(TQPixmap &pix, TQString &path,
+ const TQString &countryCode, const TQString &langCode, int group,
KConfig *config);
- void drawDefaultPixmap(QPixmap &pix, int group);
- bool getGroupImage(QImage &img, QString &path, const QString &code, int group,
+ void drawDefaultPixmap(TQPixmap &pix, int group);
+ bool getGroupImage(TQImage &img, TQString &path, const TQString &code, int group,
KConfig *config);
- void getXkbLayouts(QStringList &layouts);
+ void getXkbLayouts(TQStringList &layouts);
};
#endif