summaryrefslogtreecommitdiffstats
path: root/karm/kaccelmenuwatch.h
diff options
context:
space:
mode:
Diffstat (limited to 'karm/kaccelmenuwatch.h')
-rw-r--r--karm/kaccelmenuwatch.h38
1 files changed, 19 insertions, 19 deletions
diff --git a/karm/kaccelmenuwatch.h b/karm/kaccelmenuwatch.h
index 010d7c46b..388cd06f5 100644
--- a/karm/kaccelmenuwatch.h
+++ b/karm/kaccelmenuwatch.h
@@ -1,5 +1,5 @@
/*
-* kaccelmenuwatch.h -- Declaration of class KAccelMenuWatch.
+* kaccelmenuwatch.h -- Declaration of class TDEAccelMenuWatch.
* Generated by newclass on Thu Jan 7 15:05:26 EST 1999.
*/
#ifndef KARM_K_ACCEL_MENU_WATCH_H
@@ -13,26 +13,26 @@
class TQPopupMenu;
/**
- * Easy updating of menu accels when changing a KAccel object.
+ * Easy updating of menu accels when changing a TDEAccel object.
*
- * Since a KAccel object does not keep track of menu items to which it
+ * Since a TDEAccel object does not keep track of menu items to which it
* is connected, we normally have to manually call
- * KAccel::changeMenuAccel() again for each update of the KAccel object.
+ * TDEAccel::changeMenuAccel() again for each update of the TDEAccel object.
*
- * With KAccelMenuWatch you provide the kaccel object and the menu
+ * With TDEAccelMenuWatch you provide the kaccel object and the menu
* items to which it connects, and if you update the kaccel you just have
- * to call KAccelMenuWatch::updateMenus() and the menu items will be updated.
+ * to call TDEAccelMenuWatch::updateMenus() and the menu items will be updated.
*
* It is safe to delete menus that have connections handled by this class.
* On deletion of a menu, all associated accelerators will be deleted.
*
- * Note that you _have_ to call KAccelMenuWatch::updateMenus() after you
+ * Note that you _have_ to call TDEAccelMenuWatch::updateMenus() after you
* connect the * accelerators, as they are not activated till then.
*
* @author Sirtaj Singh Kang (taj@kde.org)
*/
-class KAccelMenuWatch : public TQObject
+class TDEAccelMenuWatch : public TQObject
{
Q_OBJECT
@@ -48,28 +48,28 @@ class KAccelMenuWatch : public TQObject
// only one of these is used at a time
TQString action;
- KStdAccel::StdAccel stdAction;
+ TDEStdAccel::StdAccel stdAction;
} AccelItem;
- KAccel *_accel;
+ TDEAccel *_accel;
TQPtrList<AccelItem> _accList;
TQPtrList<TQPopupMenu> _menuList;
TQPopupMenu *_menu;
- KAccelMenuWatch::AccelItem *newAccelItem( TQPopupMenu *menu,
+ TDEAccelMenuWatch::AccelItem *newAccelItem( TQPopupMenu *menu,
int itemId, AccelType type );
public:
/**
- * KAccelMenuWatch Constructor
+ * TDEAccelMenuWatch Constructor
*/
- KAccelMenuWatch( KAccel *accel, TQObject *parent = 0 );
+ TDEAccelMenuWatch( TDEAccel *accel, TQObject *parent = 0 );
/**
- * KAccelMenuWatch Destructor
+ * TDEAccelMenuWatch Destructor
*/
- virtual ~KAccelMenuWatch() {}
+ virtual ~TDEAccelMenuWatch() {}
/**
* Set the menu on which connectAccel calls will operate.
@@ -80,7 +80,7 @@ class KAccelMenuWatch : public TQObject
void setMenu( TQPopupMenu *menu );
/**
- * Return the last menu set with KAccelMenuWatch::setMenu(TQPopupMenu*),
+ * Return the last menu set with TDEAccelMenuWatch::setMenu(TQPopupMenu*),
* or 0 if none has been set.
*/
TQPopupMenu *currentMenu() const { return _menu; }
@@ -94,7 +94,7 @@ class KAccelMenuWatch : public TQObject
/**
* Same as above, but connects to standard accelerators.
*/
- void connectAccel( int itemId, KStdAccel::StdAccel );
+ void connectAccel( int itemId, TDEStdAccel::StdAccel );
public slots:
/**
@@ -107,8 +107,8 @@ class KAccelMenuWatch : public TQObject
void removeDeadMenu();
private:
- KAccelMenuWatch& operator=( const KAccelMenuWatch& );
- KAccelMenuWatch( const KAccelMenuWatch& );
+ TDEAccelMenuWatch& operator=( const TDEAccelMenuWatch& );
+ TDEAccelMenuWatch( const TDEAccelMenuWatch& );
};
#endif // KARM_K_ACCEL_MENU_WATCH_H