diff options
author | tpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da> | 2010-07-31 19:43:15 +0000 |
---|---|---|
committer | tpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da> | 2010-07-31 19:43:15 +0000 |
commit | e654398e46e37abf457b2b1122ab898d2c51c49f (patch) | |
tree | d39ee6440f3c3663c3ead84a2d4cc2d034667e96 /arts/builder/menumaker.h | |
parent | e4f29b18e19394b9352f52a6c0d0d0e3932cf511 (diff) | |
download | tdemultimedia-e654398e46e37abf457b2b1122ab898d2c51c49f.tar.gz tdemultimedia-e654398e46e37abf457b2b1122ab898d2c51c49f.zip |
Trinity Qt initial conversion
git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kdemultimedia@1157644 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
Diffstat (limited to 'arts/builder/menumaker.h')
-rw-r--r-- | arts/builder/menumaker.h | 18 |
1 files changed, 9 insertions, 9 deletions
diff --git a/arts/builder/menumaker.h b/arts/builder/menumaker.h index 5b999dc5..f2481a2f 100644 --- a/arts/builder/menumaker.h +++ b/arts/builder/menumaker.h @@ -2,7 +2,7 @@ #define __MENUMAKER_H__ #include <kaction.h> -#include <qobject.h> +#include <tqobject.h> #include <string> #include <list> @@ -15,7 +15,7 @@ class MenuEntry : public QObject protected: MenuMaker *menumaker; KAction *action; - QCString text; + TQCString text; public: MenuEntry(MenuMaker *menumaker, KActionMenu *parent, const char *text); @@ -28,15 +28,15 @@ class MenuCategory { protected: KActionMenu *_menu; - QString _name; + TQString _name; std::list<std::string> prefixList; bool _catchall; public: - MenuCategory(const QString& name, const char *prefix, KActionMenu *menu); + MenuCategory(const TQString& name, const char *prefix, KActionMenu *menu); void addPrefix(const char *prefix); - QString name(); + TQString name(); KActionMenu *menu(); bool catchall(); @@ -53,11 +53,11 @@ public: MenuMaker(KActionMenu *root); - void addCategory(const QString& name, const char *prefix); - MenuCategory *lookupCategoryByName(const QString& name); + void addCategory(const TQString& name, const char *prefix); + MenuCategory *lookupCategoryByName(const TQString& name); void addItem(const char *name, int i); - QString basename(const QString& name); - QString catname(const QString& name); + TQString basename(const TQString& name); + TQString catname(const TQString& name); void clear(); |