diff options
Diffstat (limited to 'kicker/menuext/system')
-rw-r--r-- | kicker/menuext/system/systemmenu.cpp | 18 | ||||
-rw-r--r-- | kicker/menuext/system/systemmenu.h | 8 |
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 |