diff options
Diffstat (limited to 'systemsettings/kcmodulemenu.h')
-rw-r--r-- | systemsettings/kcmodulemenu.h | 22 |
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 |