diff options
author | Timothy Pearson <[email protected]> | 2013-01-25 00:30:47 -0600 |
---|---|---|
committer | Timothy Pearson <[email protected]> | 2013-01-25 00:30:47 -0600 |
commit | cc74f360bb40da3d79f58048f8e8611804980aa6 (patch) | |
tree | c4385d2c16b904757b1c8bb998a4aec6993373f7 /kicker/menuext | |
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')
-rw-r--r-- | kicker/menuext/konq-profiles/konqy_menu.cpp | 2 | ||||
-rw-r--r-- | kicker/menuext/konsole/konsole_mnu.cpp | 2 | ||||
-rw-r--r-- | kicker/menuext/tom/tom.cc | 12 | ||||
-rw-r--r-- | kicker/menuext/tom/tom.h | 2 |
4 files changed, 9 insertions, 9 deletions
diff --git a/kicker/menuext/konq-profiles/konqy_menu.cpp b/kicker/menuext/konq-profiles/konqy_menu.cpp index ea7668c8a..a3c076741 100644 --- a/kicker/menuext/konq-profiles/konqy_menu.cpp +++ b/kicker/menuext/konq-profiles/konqy_menu.cpp @@ -63,7 +63,7 @@ void KonquerorProfilesMenu::initialize() for (TQStringList::ConstIterator pIt = profiles.begin(); pIt != pEnd; ++pIt ) { TQFileInfo info( *pIt ); - TQString profileName = KIO::decodeFileName( info.baseName() ); + TQString profileName = TDEIO::decodeFileName( info.baseName() ); TQString niceName=profileName; KSimpleConfig cfg( *pIt, true ); if ( cfg.hasGroup( "Profile" ) ) diff --git a/kicker/menuext/konsole/konsole_mnu.cpp b/kicker/menuext/konsole/konsole_mnu.cpp index 16e11a039..dbaa1e434 100644 --- a/kicker/menuext/konsole/konsole_mnu.cpp +++ b/kicker/menuext/konsole/konsole_mnu.cpp @@ -205,7 +205,7 @@ void KonsoleMenu::initialize() for (TQStringList::ConstIterator pIt = profiles.begin(); pIt != pEnd; ++pIt) { TQFileInfo info(*pIt); - TQString profileName = KIO::decodeFileName(info.baseName()); + TQString profileName = TDEIO::decodeFileName(info.baseName()); TQString niceName = profileName; KSimpleConfig cfg(*pIt, true); if (cfg.hasGroup("Profile")) 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); |