diff options
author | Timothy Pearson <kb9vqf@pearsoncomputing.net> | 2013-01-25 00:30:47 -0600 |
---|---|---|
committer | Timothy Pearson <kb9vqf@pearsoncomputing.net> | 2013-01-25 00:30:47 -0600 |
commit | cc74f360bb40da3d79f58048f8e8611804980aa6 (patch) | |
tree | c4385d2c16b904757b1c8bb998a4aec6993373f7 /kicker/menuext/tom | |
parent | 79b21d47bce1ee428affc97534cd8b257232a871 (diff) | |
download | tdebase-cc74f360bb40da3d79f58048f8e8611804980aa6.tar.gz tdebase-cc74f360bb40da3d79f58048f8e8611804980aa6.zip |
Rename KCModule, KConfig, KIO, KServer, and KSocket to avoid conflicts with KDE4
Diffstat (limited to 'kicker/menuext/tom')
-rw-r--r-- | kicker/menuext/tom/tom.cc | 12 | ||||
-rw-r--r-- | kicker/menuext/tom/tom.h | 2 |
2 files changed, 7 insertions, 7 deletions
diff --git a/kicker/menuext/tom/tom.cc b/kicker/menuext/tom/tom.cc index 5ab089f0d..19ff376f4 100644 --- a/kicker/menuext/tom/tom.cc +++ b/kicker/menuext/tom/tom.cc @@ -180,7 +180,7 @@ TOM::TOM(TQWidget *parent, const char *name) setCaption(i18n("Task-Oriented Menu")); // KMenu legacy: support some menu config options - KConfig* config = TDEGlobal::config(); + TDEConfig* config = TDEGlobal::config(); config->setGroup("menus"); m_detailedTaskEntries = config->readBoolEntry("DetailedMenuEntries", false); if (m_detailedTaskEntries) @@ -244,7 +244,7 @@ void TOM::initializeRecentDocs() } } -int TOM::appendTaskGroup(KConfig& config, bool inSubMenu) +int TOM::appendTaskGroup(TDEConfig& config, bool inSubMenu) { if (!config.hasGroup("General")) { @@ -452,7 +452,7 @@ void TOM::initialize() for (; eIt != eEnd; ++eIt ) { - KConfig config(*dIt + *eIt); + TDEConfig config(*dIt + *eIt); appendTaskGroup(config); } } @@ -476,7 +476,7 @@ void TOM::initialize() if (!destinationsConfig.isEmpty() && TQFile::exists(destinationsConfig)) { - KConfig config(destinationsConfig); + TDEConfig config(destinationsConfig); numDests = appendTaskGroup(config, false); } @@ -516,7 +516,7 @@ void TOM::initialize() } - KConfig* config = TDEGlobal::config(); + TDEConfig* config = TDEGlobal::config(); TQStringList menu_ext = config->readListEntry("Extensions"); if (!menu_ext.isEmpty()) { @@ -628,7 +628,7 @@ void TOM::removeTask() * bool TOM::loadSidePixmap() { - KConfig *config = TDEGlobal::config(); + TDEConfig *config = TDEGlobal::config(); TQColor color = palette().active().highlight(); TQImage image; diff --git a/kicker/menuext/tom/tom.h b/kicker/menuext/tom/tom.h index b42feb536..e4b8cc884 100644 --- a/kicker/menuext/tom/tom.h +++ b/kicker/menuext/tom/tom.h @@ -66,7 +66,7 @@ class TOM : public KPanelMenu protected: void reload(); - int appendTaskGroup(KConfig& config, bool inSubMenu = true ); + int appendTaskGroup(TDEConfig& config, bool inSubMenu = true ); void initializeRecentApps(TQPopupMenu* menu); //int insertTOMTitle(TQPopupMenu* menu, const TQString &text, int id = -1, int index = -1); |