summaryrefslogtreecommitdiffstats
path: root/arts/builder/menumaker.h
diff options
context:
space:
mode:
authorTimothy Pearson <kb9vqf@pearsoncomputing.net>2013-02-01 15:13:25 -0600
committerTimothy Pearson <kb9vqf@pearsoncomputing.net>2013-02-01 15:13:25 -0600
commit940c092f32d40263ad6b24f948eaf4c48b01e99a (patch)
treef5235b5c44e8aaedd3484a00551e29993d548590 /arts/builder/menumaker.h
parentced2058eaf8e5af831ebc02812a18937ff7e1de3 (diff)
downloadtdemultimedia-940c092f32d40263ad6b24f948eaf4c48b01e99a.tar.gz
tdemultimedia-940c092f32d40263ad6b24f948eaf4c48b01e99a.zip
Rename a number of classes to enhance compatibility with KDE4
Diffstat (limited to 'arts/builder/menumaker.h')
-rw-r--r--arts/builder/menumaker.h12
1 files changed, 6 insertions, 6 deletions
diff --git a/arts/builder/menumaker.h b/arts/builder/menumaker.h
index 3cf32304..f1368d73 100644
--- a/arts/builder/menumaker.h
+++ b/arts/builder/menumaker.h
@@ -15,11 +15,11 @@ class MenuEntry : public TQObject
protected:
MenuMaker *menumaker;
- KAction *action;
+ TDEAction *action;
TQCString text;
public:
- MenuEntry(MenuMaker *menumaker, KActionMenu *parent, const char *text);
+ MenuEntry(MenuMaker *menumaker, TDEActionMenu *parent, const char *text);
public slots:
void activated();
@@ -28,17 +28,17 @@ public slots:
class MenuCategory
{
protected:
- KActionMenu *_menu;
+ TDEActionMenu *_menu;
TQString _name;
std::list<std::string> prefixList;
bool _catchall;
public:
- MenuCategory(const TQString& name, const char *prefix, KActionMenu *menu);
+ MenuCategory(const TQString& name, const char *prefix, TDEActionMenu *menu);
void addPrefix(const char *prefix);
TQString name();
- KActionMenu *menu();
+ TDEActionMenu *menu();
bool catchall();
bool matches(const char *item);
@@ -53,7 +53,7 @@ class MenuMaker :public TQObject
public:
enum { CAT_MAGIC_ID = 10000 };
- MenuMaker(KActionMenu *root);
+ MenuMaker(TDEActionMenu *root);
void addCategory(const TQString& name, const char *prefix);
MenuCategory *lookupCategoryByName(const TQString& name);