summaryrefslogtreecommitdiffstats
path: root/kicker/menuext/system
diff options
context:
space:
mode:
authortpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2010-07-31 19:33:34 +0000
committertpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2010-07-31 19:33:34 +0000
commitc663b6440964f6ac48027143ac9e63298991f9d0 (patch)
tree6d8b0c5a5f9db1ee16acf98b1397cea9126b281d /kicker/menuext/system
parenta061f7191beebb0e4a3b0c0a7c534ec5f22f2dc7 (diff)
downloadtdebase-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/system')
-rw-r--r--kicker/menuext/system/systemmenu.cpp18
-rw-r--r--kicker/menuext/system/systemmenu.h8
2 files changed, 13 insertions, 13 deletions
diff --git a/kicker/menuext/system/systemmenu.cpp b/kicker/menuext/system/systemmenu.cpp
index 68c3f5c66..12ec087d8 100644
--- a/kicker/menuext/system/systemmenu.cpp
+++ b/kicker/menuext/system/systemmenu.cpp
@@ -21,19 +21,19 @@
#include <krun.h>
#include <kiconloader.h>
-#include <qpixmap.h>
+#include <tqpixmap.h>
#include "global.h"
K_EXPORT_KICKER_MENUEXT(systemmenu, SystemMenu)
-SystemMenu::SystemMenu(QWidget *parent, const char *name,
- const QStringList &/*args*/)
+SystemMenu::SystemMenu(TQWidget *parent, const char *name,
+ const TQStringList &/*args*/)
: KPanelMenu( parent, name)
{
- connect( &m_dirLister, SIGNAL( completed() ),
- this, SLOT( slotCompleted() ) );
+ connect( &m_dirLister, TQT_SIGNAL( completed() ),
+ this, TQT_SLOT( slotCompleted() ) );
m_dirLister.openURL(KURL("system:/"));
}
@@ -42,8 +42,8 @@ SystemMenu::~SystemMenu()
{
}
-void SystemMenu::append(const QString &icon, const KURL &url,
- const QString &label)
+void SystemMenu::append(const TQString &icon, const KURL &url,
+ const TQString &label)
{
int id = insertItem(KickerLib::menuIconSet(icon), label);
m_urlMap.insert(id, url);
@@ -68,9 +68,9 @@ void SystemMenu::initialize()
for (; it!=end; ++it)
{
- QString icon = (*it)->iconName();
+ TQString icon = (*it)->iconName();
KURL url = (*it)->url();
- QString name = (*it)->name();
+ TQString name = (*it)->name();
append(icon, url, name);
}
}
diff --git a/kicker/menuext/system/systemmenu.h b/kicker/menuext/system/systemmenu.h
index 6f118d21c..f25280989 100644
--- a/kicker/menuext/system/systemmenu.h
+++ b/kicker/menuext/system/systemmenu.h
@@ -30,8 +30,8 @@ class SystemMenu : public KPanelMenu
Q_OBJECT
public:
- SystemMenu(QWidget *parent, const char *name,
- const QStringList & /*args*/);
+ SystemMenu(TQWidget *parent, const char *name,
+ const TQStringList & /*args*/);
~SystemMenu();
protected slots:
@@ -41,10 +41,10 @@ class SystemMenu : public KPanelMenu
void slotCompleted();
private:
- void append(const QString &icon, const KURL &url, const QString &label);
+ void append(const TQString &icon, const KURL &url, const TQString &label);
KDirLister m_dirLister;
KFileItemList m_entries;
- QMap<int, KURL> m_urlMap;
+ TQMap<int, KURL> m_urlMap;
};
#endif