diff options
author | tpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da> | 2010-07-31 19:46:43 +0000 |
---|---|---|
committer | tpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da> | 2010-07-31 19:46:43 +0000 |
commit | ffe8a83e053396df448e9413828527613ca3bd46 (patch) | |
tree | a73d4169e02df4a50f9a12cb165fcd0ab5bac7c6 /kdecore/kshortcutmenu.h | |
parent | 682bf3bfdcbcbb1fca85e8a36ed03e062e0555d5 (diff) | |
download | tdelibs-ffe8a83e053396df448e9413828527613ca3bd46.tar.gz tdelibs-ffe8a83e053396df448e9413828527613ca3bd46.zip |
Trinity Qt initial conversion
git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kdelibs@1157647 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
Diffstat (limited to 'kdecore/kshortcutmenu.h')
-rw-r--r-- | kdecore/kshortcutmenu.h | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/kdecore/kshortcutmenu.h b/kdecore/kshortcutmenu.h index 1a8bb7921..3be542a13 100644 --- a/kdecore/kshortcutmenu.h +++ b/kdecore/kshortcutmenu.h @@ -20,8 +20,8 @@ #ifndef __KSHORTCUTMENU_H #define __KSHORTCUTMENU_H -#include <qmap.h> -#include <qpopupmenu.h> +#include <tqmap.h> +#include <tqpopupmenu.h> #include "kshortcut.h" @@ -36,25 +36,25 @@ class KDECORE_EXPORT KShortcutMenu : public QPopupMenu { Q_OBJECT public: - KShortcutMenu( QWidget* pParent, KAccelActions* pActions, KKeySequence seq ); + KShortcutMenu( TQWidget* pParent, KAccelActions* pActions, KKeySequence seq ); bool insertAction( uint iAction, KKeySequence seq ); void updateShortcuts(); protected: - void keyPressEvent( QKeyEvent* pEvent ); + void keyPressEvent( TQKeyEvent* pEvent ); private: int searchForKey( KKey key ); void keepItemsMatching( KKey key ); private: - typedef QMap<uint, KKeySequence> IndexToKKeySequence; + typedef TQMap<uint, KKeySequence> IndexToKKeySequence; KAccelActions* m_pActions; KKeySequence m_seq; - QLabel* pTitle; + TQLabel* pTitle; IndexToKKeySequence m_seqs; }; |