summaryrefslogtreecommitdiffstats
path: root/karm/kaccelmenuwatch.h
diff options
context:
space:
mode:
authortpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2010-07-31 19:53:50 +0000
committertpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2010-07-31 19:53:50 +0000
commit7be55ffa061c026e35e2d6a0effe1161ddb0d41f (patch)
tree8474f9b444b2756228600050f07a7ff25de532b2 /karm/kaccelmenuwatch.h
parentf587f20a6d09f1729dd0a8c1cd8ee0110aec7451 (diff)
downloadtdepim-7be55ffa061c026e35e2d6a0effe1161ddb0d41f.tar.gz
tdepim-7be55ffa061c026e35e2d6a0effe1161ddb0d41f.zip
Trinity Qt initial conversion
git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kdepim@1157655 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
Diffstat (limited to 'karm/kaccelmenuwatch.h')
-rw-r--r--karm/kaccelmenuwatch.h24
1 files changed, 12 insertions, 12 deletions
diff --git a/karm/kaccelmenuwatch.h b/karm/kaccelmenuwatch.h
index 76b27f018..89da1ce8f 100644
--- a/karm/kaccelmenuwatch.h
+++ b/karm/kaccelmenuwatch.h
@@ -5,8 +5,8 @@
#ifndef KARM_K_ACCEL_MENU_WATCH_H
#define KARM_K_ACCEL_MENU_WATCH_H
-#include <qobject.h>
-#include <qptrlist.h>
+#include <tqobject.h>
+#include <tqptrlist.h>
#include <kaccel.h>
@@ -40,30 +40,30 @@ class KAccelMenuWatch : public QObject
enum AccelType { StdAccel, StringAccel };
typedef struct AccelItem {
- QPopupMenu *menu;
+ TQPopupMenu *menu;
int itemId;
AccelType type;
// only one of these is used at a time
- QString action;
+ TQString action;
KStdAccel::StdAccel stdAction;
} AccelItem;
KAccel *_accel;
- QPtrList<AccelItem> _accList;
- QPtrList<QPopupMenu> _menuList;
+ TQPtrList<AccelItem> _accList;
+ TQPtrList<TQPopupMenu> _menuList;
- QPopupMenu *_menu;
+ TQPopupMenu *_menu;
- KAccelMenuWatch::AccelItem *newAccelItem( QPopupMenu *menu,
+ KAccelMenuWatch::AccelItem *newAccelItem( TQPopupMenu *menu,
int itemId, AccelType type );
public:
/**
* KAccelMenuWatch Constructor
*/
- KAccelMenuWatch( KAccel *accel, QObject *parent = 0 );
+ KAccelMenuWatch( KAccel *accel, TQObject *parent = 0 );
/**
* KAccelMenuWatch Destructor
@@ -76,13 +76,13 @@ class KAccelMenuWatch : public QObject
* with this menu. You can call this function any number of
* times, so multiple menus can be handled.
*/
- void setMenu( QPopupMenu *menu );
+ void setMenu( TQPopupMenu *menu );
/**
- * Return the last menu set with KAccelMenuWatch::setMenu(QPopupMenu*),
+ * Return the last menu set with KAccelMenuWatch::setMenu(TQPopupMenu*),
* or 0 if none has been set.
*/
- QPopupMenu *currentMenu() const { return _menu; }
+ TQPopupMenu *currentMenu() const { return _menu; }
/**
* Connect the menu item identified to currentMenu()/id to