summaryrefslogtreecommitdiffstats
path: root/kxkb/kxkbtraywindow.h
diff options
context:
space:
mode:
authortpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2010-07-31 19:33:34 +0000
committertpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2010-07-31 19:33:34 +0000
commitc663b6440964f6ac48027143ac9e63298991f9d0 (patch)
tree6d8b0c5a5f9db1ee16acf98b1397cea9126b281d /kxkb/kxkbtraywindow.h
parenta061f7191beebb0e4a3b0c0a7c534ec5f22f2dc7 (diff)
downloadtdebase-c663b6440964f6ac48027143ac9e63298991f9d0.tar.gz
tdebase-c663b6440964f6ac48027143ac9e63298991f9d0.zip
Trinity Qt initial conversion
git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kdebase@1157639 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
Diffstat (limited to 'kxkb/kxkbtraywindow.h')
-rw-r--r--kxkb/kxkbtraywindow.h28
1 files changed, 14 insertions, 14 deletions
diff --git a/kxkb/kxkbtraywindow.h b/kxkb/kxkbtraywindow.h
index 9c2c070c6..4c58c5871 100644
--- a/kxkb/kxkbtraywindow.h
+++ b/kxkb/kxkbtraywindow.h
@@ -14,8 +14,8 @@
#include <ksystemtray.h>
-#include <qstring.h>
-#include <qvaluelist.h>
+#include <tqstring.h>
+#include <tqvaluelist.h>
#include "kxkbconfig.h"
@@ -35,12 +35,12 @@ class KxkbLabelController: public QObject
public:
enum { START_MENU_ID = 100, CONFIG_MENU_ID = 130, HELP_MENU_ID = 131 };
- KxkbLabelController(QLabel *label, QPopupMenu* contextMenu);
+ KxkbLabelController(TQLabel *label, TQPopupMenu* contextMenu);
- void initLayoutList(const QValueList<LayoutUnit>& layouts, const XkbRules& rule);
+ void initLayoutList(const TQValueList<LayoutUnit>& layouts, const XkbRules& rule);
void setCurrentLayout(const LayoutUnit& layout);
-// void setCurrentLayout(const QString& layout, const QString &variant);
- void setError(const QString& layoutInfo="");
+// void setCurrentLayout(const TQString& layout, const TQString &variant);
+ void setError(const TQString& layoutInfo="");
void setShowFlag(bool showFlag) { m_showFlag = showFlag; }
void show() { label->show(); }
@@ -51,19 +51,19 @@ public:
// protected:
//
-// void mouseReleaseEvent(QMouseEvent *);
+// void mouseReleaseEvent(TQMouseEvent *);
private:
- QLabel* label;
- QPopupMenu* contextMenu;
+ TQLabel* label;
+ TQPopupMenu* contextMenu;
const int m_menuStartIndex;
bool m_showFlag;
int m_prevLayoutCount;
- QMap<QString, QString> m_descriptionMap;
+ TQMap<TQString, TQString> m_descriptionMap;
- void setToolTip(const QString& tip);
- void setPixmap(const QPixmap& pixmap);
+ void setToolTip(const TQString& tip);
+ void setPixmap(const TQPixmap& pixmap);
};
@@ -76,9 +76,9 @@ class KxkbSystemTray : public KSystemTray
KSystemTray(NULL)
{}
- void mouseReleaseEvent(QMouseEvent *ev)
+ void mouseReleaseEvent(TQMouseEvent *ev)
{
- if (ev->button() == QMouseEvent::LeftButton)
+ if (ev->button() == TQMouseEvent::LeftButton)
emit toggled();
KSystemTray::mouseReleaseEvent(ev);
}