From c663b6440964f6ac48027143ac9e63298991f9d0 Mon Sep 17 00:00:00 2001 From: tpearson Date: Sat, 31 Jul 2010 19:33:34 +0000 Subject: Trinity Qt initial conversion git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kdebase@1157639 283d02a7-25f6-0310-bc7c-ecb5cbfe19da --- kicker/menuext/find/findmenu.cpp | 12 ++++++------ kicker/menuext/find/findmenu.h | 4 ++-- 2 files changed, 8 insertions(+), 8 deletions(-) (limited to 'kicker/menuext/find') 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 -- cgit v1.2.1