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 /kdeui/kpanelappmenu.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 'kdeui/kpanelappmenu.h')
-rw-r--r-- | kdeui/kpanelappmenu.h | 22 |
1 files changed, 11 insertions, 11 deletions
diff --git a/kdeui/kpanelappmenu.h b/kdeui/kpanelappmenu.h index 2cb9adc1f..8df6c613b 100644 --- a/kdeui/kpanelappmenu.h +++ b/kdeui/kpanelappmenu.h @@ -34,23 +34,23 @@ CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. * * @author Daniel M. Duley <mosfet@kde.org> */ -class KDEUI_EXPORT KPanelAppMenu : public QObject, public DCOPObject +class KDEUI_EXPORT KPanelAppMenu : public TQObject, public DCOPObject { Q_OBJECT public: /** * Constructs a new menu with the given title. */ - KPanelAppMenu(const QString &title, QObject *parent = 0, const char *name = 0 ); + KPanelAppMenu(const TQString &title, TQObject *parent = 0, const char *name = 0 ); /** * Same as above, but with an icon for the submenu item. */ - KPanelAppMenu(const QPixmap &icon, const QString &title, QObject *parent, + KPanelAppMenu(const TQPixmap &icon, const TQString &title, TQObject *parent, const char *name); /** * Constructs a new (sub)menu with a given id. */ - KPanelAppMenu(QObject *parent, const char *name); + KPanelAppMenu(TQObject *parent, const char *name); /** * Make sure you actually destroy this thing or the menu will never go @@ -61,15 +61,15 @@ public: /** * Inserts an item into the menu. */ - int insertItem(const QString &text, int id = -1); + int insertItem(const TQString &text, int id = -1); /** * Inserts an item with a icon. The icon name must be a full path. */ - int insertItem(const QPixmap &icon, const QString &text, int id = -1 ); + int insertItem(const TQPixmap &icon, const TQString &text, int id = -1 ); /** * Inserts a sub menu with a icon. The icon name must be a full path. */ - KPanelAppMenu *insertMenu(const QPixmap &icon, const QString &text, int id=-1); + KPanelAppMenu *insertMenu(const TQPixmap &icon, const TQString &text, int id=-1); /** * Clears the menu. @@ -79,8 +79,8 @@ public: /** * @internal */ - bool process(const QCString &fun, const QByteArray &data, - QCString &replyType, QByteArray &replyData); + bool process(const TQCString &fun, const TQByteArray &data, + TQCString &replyType, TQByteArray &replyData); signals: /** @@ -89,10 +89,10 @@ signals: void activated(int id); protected: - void init(const QPixmap &icon, const QString &title); + void init(const TQPixmap &icon, const TQString &title); private: - QCString realObjId; + TQCString realObjId; }; |