diff options
author | tpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da> | 2010-07-31 19:33:34 +0000 |
---|---|---|
committer | tpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da> | 2010-07-31 19:33:34 +0000 |
commit | c663b6440964f6ac48027143ac9e63298991f9d0 (patch) | |
tree | 6d8b0c5a5f9db1ee16acf98b1397cea9126b281d /kicker/menuext/find | |
parent | a061f7191beebb0e4a3b0c0a7c534ec5f22f2dc7 (diff) | |
download | tdebase-c663b6440964f6ac48027143ac9e63298991f9d0.tar.gz tdebase-c663b6440964f6ac48027143ac9e63298991f9d0.zip |
Trinity Qt initial conversion
git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kdebase@1157639 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
Diffstat (limited to 'kicker/menuext/find')
-rw-r--r-- | kicker/menuext/find/findmenu.cpp | 12 | ||||
-rw-r--r-- | kicker/menuext/find/findmenu.h | 4 |
2 files changed, 8 insertions, 8 deletions
diff --git a/kicker/menuext/find/findmenu.cpp b/kicker/menuext/find/findmenu.cpp index fc3ae12a6..24020e0c2 100644 --- a/kicker/menuext/find/findmenu.cpp +++ b/kicker/menuext/find/findmenu.cpp @@ -31,8 +31,8 @@ K_EXPORT_KICKER_MENUEXT( find, FindMenu ) -FindMenu::FindMenu( QWidget *parent, const char *name, - const QStringList &/*args*/) +FindMenu::FindMenu( TQWidget *parent, const char *name, + const TQStringList &/*args*/) : KPanelMenu( "", parent, name ) { } @@ -44,19 +44,19 @@ FindMenu::~FindMenu() void FindMenu::initialize() { - QStringList list = KGlobal::dirs()->findAllResources( "data", "kicker/menuext/find/*.desktop", false, true ); + TQStringList list = KGlobal::dirs()->findAllResources( "data", "kicker/menuext/find/*.desktop", false, true ); list.sort(); int id = 0; mConfigList.clear(); - for ( QStringList::ConstIterator it = list.begin(); it != list.end(); ++it ) { + for ( TQStringList::ConstIterator it = list.begin(); it != list.end(); ++it ) { KSimpleConfig config( *it, true ); config.setDesktopGroup(); mConfigList.append( *it ); - QString text = config.readEntry( "Name" ); + TQString text = config.readEntry( "Name" ); insertItem( SmallIconSet( config.readEntry( "Icon" ) ), text, id ); id++; @@ -65,7 +65,7 @@ void FindMenu::initialize() void FindMenu::slotExec( int pos ) { - QString app = mConfigList[ pos ]; + TQString app = mConfigList[ pos ]; kapp->propagateSessionManager(); diff --git a/kicker/menuext/find/findmenu.h b/kicker/menuext/find/findmenu.h index 2297c4dff..09bd06aca 100644 --- a/kicker/menuext/find/findmenu.h +++ b/kicker/menuext/find/findmenu.h @@ -33,7 +33,7 @@ class FindMenu : public KPanelMenu Q_OBJECT public: - FindMenu( QWidget* parent, const char* name, const QStringList &/*args*/ ); + FindMenu( TQWidget* parent, const char* name, const TQStringList &/*args*/ ); ~FindMenu(); protected slots: @@ -41,7 +41,7 @@ class FindMenu : public KPanelMenu void slotExec( int ); private: - QStringList mConfigList; + TQStringList mConfigList; }; #endif |