summaryrefslogtreecommitdiffstats
path: root/libksirtet/lib/keys.h
diff options
context:
space:
mode:
authortpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2010-07-31 19:42:31 +0000
committertpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2010-07-31 19:42:31 +0000
commit576eb4299a00bc053db35414406f46372a0f70f2 (patch)
tree4c030922d533821db464af566188e7d40cc8848c /libksirtet/lib/keys.h
parent0718336b6017d1a4fc1d626544180a5a2a29ddec (diff)
downloadtdegames-576eb4299a00bc053db35414406f46372a0f70f2.tar.gz
tdegames-576eb4299a00bc053db35414406f46372a0f70f2.zip
Trinity Qt initial conversion
git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kdegames@1157643 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
Diffstat (limited to 'libksirtet/lib/keys.h')
-rw-r--r--libksirtet/lib/keys.h22
1 files changed, 11 insertions, 11 deletions
diff --git a/libksirtet/lib/keys.h b/libksirtet/lib/keys.h
index 07c08419..62bb818c 100644
--- a/libksirtet/lib/keys.h
+++ b/libksirtet/lib/keys.h
@@ -1,7 +1,7 @@
#ifndef KEYS_H
#define KEYS_H
-#include <qmap.h>
+#include <tqmap.h>
#include <kaction.h>
#include "mp_interface.h"
@@ -12,31 +12,31 @@ class KeyData : public QObject
Q_OBJECT
public:
KeyData(uint maxNb, uint nbActions, const ActionData *,
- QObject *parent);
+ TQObject *parent);
void setKeycodes(uint nb, uint i, const int *keycodes);
void setCurrentNb(uint nb);
void clear();
- void createActionCollection(uint index, QWidget *receiver);
+ void createActionCollection(uint index, TQWidget *receiver);
void setEnabled(uint index, bool enabled);
void addKeys(KKeyDialog &);
void save();
- void keyEvent(QKeyEvent *e, bool pressed);
+ void keyEvent(TQKeyEvent *e, bool pressed);
private:
uint _maxNb;
- QMemArray<ActionData> _data;
- QMap<int, QMap<int, QMemArray<int> > > _keycodes;
- QMemArray<KActionCollection *> _cols;
+ TQMemArray<ActionData> _data;
+ TQMap<int, TQMap<int, TQMemArray<int> > > _keycodes;
+ TQMemArray<KActionCollection *> _cols;
struct SpecialData {
bool enabled;
- QSignal *pressed, *released;
+ TQSignal *pressed, *released;
};
- QMap<KAction *, SpecialData> _specActions;
+ TQMap<KAction *, SpecialData> _specActions;
- QString group() const
- { return QString("Keys (%1 humans)").arg(_cols.size()); }
+ TQString group() const
+ { return TQString("Keys (%1 humans)").arg(_cols.size()); }
};
#endif // KEYS_H