diff options
Diffstat (limited to 'kicker/menuext')
-rw-r--r-- | kicker/menuext/find/findmenu.cpp | 2 | ||||
-rw-r--r-- | kicker/menuext/kate/katesessionmenu.cpp | 2 | ||||
-rw-r--r-- | kicker/menuext/konq-profiles/konqy_menu.cpp | 4 | ||||
-rw-r--r-- | kicker/menuext/konsole/konsole_mnu.cpp | 8 | ||||
-rw-r--r-- | kicker/menuext/prefmenu/prefmenu.cpp | 2 | ||||
-rw-r--r-- | kicker/menuext/recentdocs/recentdocsmenu.cpp | 2 | ||||
-rw-r--r-- | kicker/menuext/remote/remotemenu.cpp | 6 | ||||
-rw-r--r-- | kicker/menuext/tdeprint/print_mnu.cpp | 2 | ||||
-rw-r--r-- | kicker/menuext/tom/tom.cc | 10 |
9 files changed, 19 insertions, 19 deletions
diff --git a/kicker/menuext/find/findmenu.cpp b/kicker/menuext/find/findmenu.cpp index a3138102b..90c4cb1e7 100644 --- a/kicker/menuext/find/findmenu.cpp +++ b/kicker/menuext/find/findmenu.cpp @@ -44,7 +44,7 @@ FindMenu::~FindMenu() void FindMenu::initialize() { - TQStringList list = KGlobal::dirs()->findAllResources( "data", "kicker/menuext/find/*.desktop", false, true ); + TQStringList list = TDEGlobal::dirs()->findAllResources( "data", "kicker/menuext/find/*.desktop", false, true ); list.sort(); diff --git a/kicker/menuext/kate/katesessionmenu.cpp b/kicker/menuext/kate/katesessionmenu.cpp index 9b237a703..032a2ab05 100644 --- a/kicker/menuext/kate/katesessionmenu.cpp +++ b/kicker/menuext/kate/katesessionmenu.cpp @@ -76,7 +76,7 @@ void KateSessionMenu::initialize() insertSeparator(); - TQStringList list = KGlobal::dirs()->findAllResources( "data", "kate/sessions/*.katesession", false, true); + TQStringList list = TDEGlobal::dirs()->findAllResources( "data", "kate/sessions/*.katesession", false, true); for (TQStringList::ConstIterator it = list.begin(); it != list.end(); ++it) { KSimpleConfig config( *it, true ); diff --git a/kicker/menuext/konq-profiles/konqy_menu.cpp b/kicker/menuext/konq-profiles/konqy_menu.cpp index cb340caf9..ea7668c8a 100644 --- a/kicker/menuext/konq-profiles/konqy_menu.cpp +++ b/kicker/menuext/konq-profiles/konqy_menu.cpp @@ -41,7 +41,7 @@ KonquerorProfilesMenu::KonquerorProfilesMenu(TQWidget *parent, const char *name, { static bool tdeprintIconsInitialized = false; if ( !tdeprintIconsInitialized ) { - KGlobal::iconLoader()->addAppDir("tdeprint"); + TDEGlobal::iconLoader()->addAppDir("tdeprint"); tdeprintIconsInitialized = true; } } @@ -55,7 +55,7 @@ void KonquerorProfilesMenu::initialize() if (initialized()) clear(); setInitialized(true); - TQStringList profiles = KGlobal::dirs()->findAllResources( "data", "konqueror/profiles/*", false, true ); + TQStringList profiles = TDEGlobal::dirs()->findAllResources( "data", "konqueror/profiles/*", false, true ); m_profiles.resize(profiles.count()); int id=1; diff --git a/kicker/menuext/konsole/konsole_mnu.cpp b/kicker/menuext/konsole/konsole_mnu.cpp index 093b4fc5e..16e11a039 100644 --- a/kicker/menuext/konsole/konsole_mnu.cpp +++ b/kicker/menuext/konsole/konsole_mnu.cpp @@ -54,7 +54,7 @@ KonsoleMenu::KonsoleMenu(TQWidget *parent, const char *name, const TQStringList& KonsoleMenu::~KonsoleMenu() { - KGlobal::locale()->removeCatalogue("libkickermenu_konsole"); + TDEGlobal::locale()->removeCatalogue("libkickermenu_konsole"); } static void insertItemSorted(KPopupMenu *menu, @@ -96,7 +96,7 @@ void KonsoleMenu::initialize() setInitialized(true); - TQStringList list = KGlobal::dirs()->findAllResources("data", + TQStringList list = TDEGlobal::dirs()->findAllResources("data", "konsole/*.desktop", false, true); @@ -126,7 +126,7 @@ void KonsoleMenu::initialize() exec = KRun::binaryName(exec, false); exec = KShell::tildeExpand(exec); - TQString pexec = KGlobal::dirs()->findExe(exec); + TQString pexec = TDEGlobal::dirs()->findExe(exec); if (text.isEmpty() || conf.readEntry("Type") != "KonsoleApplication" || (!exec.isEmpty() && pexec.isEmpty())) @@ -197,7 +197,7 @@ void KonsoleMenu::initialize() delete m_profileMenu; m_profileMenu = new KPopupMenu(this); - TQStringList profiles = KGlobal::dirs()->findAllResources("data", + TQStringList profiles = TDEGlobal::dirs()->findAllResources("data", "konsole/profiles/*", false, true ); m_profiles.resize(profiles.count()); diff --git a/kicker/menuext/prefmenu/prefmenu.cpp b/kicker/menuext/prefmenu/prefmenu.cpp index ee2a5268d..827b0e40c 100644 --- a/kicker/menuext/prefmenu/prefmenu.cpp +++ b/kicker/menuext/prefmenu/prefmenu.cpp @@ -182,7 +182,7 @@ void PrefMenu::mouseMoveEvent(TQMouseEvent * ev) case KST_KServiceGroup: { - icon = KGlobal::iconLoader()->loadIcon(static_cast<KServiceGroup*>(e)->icon(), + icon = TDEGlobal::iconLoader()->loadIcon(static_cast<KServiceGroup*>(e)->icon(), KIcon::Small); url = "programs:/" + static_cast<KServiceGroup*>(e)->relPath(); break; diff --git a/kicker/menuext/recentdocs/recentdocsmenu.cpp b/kicker/menuext/recentdocs/recentdocsmenu.cpp index cb26e4cae..3fb0b76d9 100644 --- a/kicker/menuext/recentdocs/recentdocsmenu.cpp +++ b/kicker/menuext/recentdocs/recentdocsmenu.cpp @@ -119,7 +119,7 @@ void RecentDocsMenu::mouseMoveEvent(TQMouseEvent* e) { int dragLength = (e->pos() - _mouseDown).manhattanLength(); - if (dragLength <= KGlobalSettings::dndEventDelay()) + if (dragLength <= TDEGlobalSettings::dndEventDelay()) return; // ignore it int id = idAt(_mouseDown); diff --git a/kicker/menuext/remote/remotemenu.cpp b/kicker/menuext/remote/remotemenu.cpp index c09f9a825..49cc0db79 100644 --- a/kicker/menuext/remote/remotemenu.cpp +++ b/kicker/menuext/remote/remotemenu.cpp @@ -42,10 +42,10 @@ RemoteMenu::RemoteMenu(TQWidget *parent, const char *name, const TQStringList &/*args*/) : KPanelMenu(parent, name), KDirNotify() { - KGlobal::dirs()->addResourceType("remote_entries", + TDEGlobal::dirs()->addResourceType("remote_entries", KStandardDirs::kde_default("data") + "remoteview"); - TQString path = KGlobal::dirs()->saveLocation("remote_entries"); + TQString path = TDEGlobal::dirs()->saveLocation("remote_entries"); TQDir dir = path; if (!dir.exists()) @@ -76,7 +76,7 @@ void RemoteMenu::initialize() m_desktopMap.clear(); TQStringList names_found; - TQStringList dirList = KGlobal::dirs()->resourceDirs("remote_entries"); + TQStringList dirList = TDEGlobal::dirs()->resourceDirs("remote_entries"); TQStringList::ConstIterator dirpath = dirList.begin(); TQStringList::ConstIterator end = dirList.end(); diff --git a/kicker/menuext/tdeprint/print_mnu.cpp b/kicker/menuext/tdeprint/print_mnu.cpp index 930dcaf1f..fb10e0f34 100644 --- a/kicker/menuext/tdeprint/print_mnu.cpp +++ b/kicker/menuext/tdeprint/print_mnu.cpp @@ -45,7 +45,7 @@ PrintMenu::PrintMenu(TQWidget *parent, const char *name, const TQStringList & /* { static bool tdeprintIconsInitialized = false; if ( !tdeprintIconsInitialized ) { - KGlobal::iconLoader()->addAppDir("tdeprint"); + TDEGlobal::iconLoader()->addAppDir("tdeprint"); tdeprintIconsInitialized = true; } } diff --git a/kicker/menuext/tom/tom.cc b/kicker/menuext/tom/tom.cc index 8e41497b6..5ab089f0d 100644 --- a/kicker/menuext/tom/tom.cc +++ b/kicker/menuext/tom/tom.cc @@ -64,7 +64,7 @@ extern "C" { KDE_EXPORT void* init_kickermenu_tom() { - KGlobal::locale()->insertCatalogue("libkickermenu_tom"); + TDEGlobal::locale()->insertCatalogue("libkickermenu_tom"); return new TOMFactory; } }; @@ -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 = KGlobal::config(); + KConfig* config = TDEGlobal::config(); config->setGroup("menus"); m_detailedTaskEntries = config->readBoolEntry("DetailedMenuEntries", false); if (m_detailedTaskEntries) @@ -438,7 +438,7 @@ void TOM::initialize() // TASKS insertTitle(i18n("Tasks"), contextMenuTitleID); - TQStringList dirs = KGlobal::dirs()->findDirs("data", "kicker/tom/"); + TQStringList dirs = TDEGlobal::dirs()->findDirs("data", "kicker/tom/"); TQStringList::ConstIterator dIt = dirs.begin(); TQStringList::ConstIterator dEnd = dirs.end(); @@ -516,7 +516,7 @@ void TOM::initialize() } - KConfig* config = KGlobal::config(); + KConfig* 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 = KGlobal::config(); + KConfig *config = TDEGlobal::config(); TQColor color = palette().active().highlight(); TQImage image; |