summaryrefslogtreecommitdiffstats
path: root/systemsettings/kcmodulemenu.h
diff options
context:
space:
mode:
authortpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2011-05-30 18:02:11 +0000
committertpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2011-05-30 18:02:11 +0000
commit5ad8fdbf162cf819cf1c48d2ddd8aed9113ab718 (patch)
treea2f76da0912085453b974e590005753ca279457b /systemsettings/kcmodulemenu.h
parent70a90e54dfa3b5ab2133aebda71f310d29d6a680 (diff)
downloadtde-systemsettings-5ad8fdbf162cf819cf1c48d2ddd8aed9113ab718.tar.gz
tde-systemsettings-5ad8fdbf162cf819cf1c48d2ddd8aed9113ab718.zip
TQt4 convert kde-systemsettings
This enables compilation under both Qt3 and Qt4 git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/applications/kde-systemsettings@1234247 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
Diffstat (limited to 'systemsettings/kcmodulemenu.h')
-rw-r--r--systemsettings/kcmodulemenu.h22
1 files changed, 11 insertions, 11 deletions
diff --git a/systemsettings/kcmodulemenu.h b/systemsettings/kcmodulemenu.h
index 2cfce7b..193aada 100644
--- a/systemsettings/kcmodulemenu.h
+++ b/systemsettings/kcmodulemenu.h
@@ -64,7 +64,7 @@ class KCModuleMenuPrivate;
* X-KDE-BaseGroup=examplemenu
* \endcode
*
- * example.menu should be installed in xdg/menus/ so that ksyscoco will find
+ * example.menu should be installed in xdg/menus/ so that ksyscoco will tqfind
* it. See the above url for example menus. After changing the menu you need
* to run "kbuildsycoca" to regenerate the cache as ksyscoco will cache the
* menu and is a file that doesn't change on users.
@@ -77,17 +77,17 @@ class MenuItem {
public:
MenuItem( bool isMenu=false ){ menu = isMenu; };
bool menu;
- QString subMenu;
- QString caption;
+ TQString subMenu;
+ TQString caption;
KCModuleInfo item;
};
-class KCModuleMenu : public QValueList<KCModuleInfo>
+class KCModuleMenu : public TQValueList<KCModuleInfo>
{
public:
- QString caption;
+ TQString caption;
/**
* @param the X-KDE-BaseGroup item from the directory file
@@ -98,7 +98,7 @@ public:
* X-KDE-BaseGroup=examplemenu
* so menuName should be "systemsettings"
*/
- KCModuleMenu( const QString &menuName );
+ KCModuleMenu( const TQString &menuName );
/**
* Deconstructor
@@ -111,21 +111,21 @@ public:
* @param path to return submenus from.
* @return all items in menuPath.
*/
- QValueList<MenuItem> menuList( const QString &menuPath=QString::null );
+ TQValueList<MenuItem> menuList( const TQString &menuPath=TQString() );
/**
* Returns the modules in a menu path. An empty string is the top level.
* @param menu to return modules from.
* @returns only the top level modules of menuPath
*/
- QValueList<KCModuleInfo> modules( const QString &menuPath=QString::null );
+ TQValueList<KCModuleInfo> modules( const TQString &menuPath=TQString() );
/**
* Returns the sub menus of a menu path. An empty string is the top level.
* @param path to return submenus from.
* @return only the submenus of menuPath.
*/
- QStringList submenus( const QString &menuPath=QString::null );
+ TQStringList submenus( const TQString &menuPath=TQString() );
protected:
@@ -135,7 +135,7 @@ protected:
* This is the <Name> from the merge.menu file
* @param pathName the base path name of the menu.
*/
- virtual void readMenu( const QString &pathName );
+ virtual void readMenu( const TQString &pathName );
/**
* Function that determines if the entry from readMenu
@@ -151,7 +151,7 @@ protected:
private:
KCModuleMenuPrivate *d;
- QString deriveCaptionFromPath( const QString &menuPath );
+ TQString deriveCaptionFromPath( const TQString &menuPath );
};
#endif // KCMMODULEMENU_H