diff --git a/yakuake/src/main_window.cpp b/yakuake/src/main_window.cpp index 7d7b886..558b15a 100644 --- a/yakuake/src/main_window.cpp +++ b/yakuake/src/main_window.cpp @@ -66,7 +66,7 @@ MainWindow::MainWindow(TQWidget * parent, const char * name) : Settings::setSkin("default"); // Initialize access key. - global_key = new KGlobalAccel(TQT_TQOBJECT(this)); + global_key = new TDEGlobalAccel(TQT_TQOBJECT(this)); global_key->insert("AccessKey", i18n("Open/Retract Yakuake"), i18n("Slides the Yakuake window in and out"), Key_F12, 0, TQT_TQOBJECT(this), TQT_SLOT(slotToggleState())); @@ -724,7 +724,7 @@ TQRect MainWindow::getDesktopGeometry() TQRect result; result = desk_info.workArea(); - KConfigGroup group(KGlobal::config(), "Windows"); + KConfigGroup group(TDEGlobal::config(), "Windows"); if (TQApplication::desktop()->isVirtualDesktop() && group.readBoolEntry("XineramaEnabled", true) && diff --git a/yakuake/src/main_window.h b/yakuake/src/main_window.h index a67e736..3aa327c 100644 --- a/yakuake/src/main_window.h +++ b/yakuake/src/main_window.h @@ -190,7 +190,7 @@ class MainWindow : public KMainWindow, virtual public DCOPInterface KPopupMenu* height_menu; /* Global Key shortcut. */ - KGlobalAccel* global_key; + TDEGlobalAccel* global_key; /* Background widget. */ TQWidget* back_widget; diff --git a/yakuake/src/skin_list_item.cpp b/yakuake/src/skin_list_item.cpp index 294a08b..d9f3543 100644 --- a/yakuake/src/skin_list_item.cpp +++ b/yakuake/src/skin_list_item.cpp @@ -92,8 +92,8 @@ void SkinListItem::paintCell(TQPainter* p, const TQColorGroup& /* cg */, int /* { if (width <= 0) return; - TQColor textColor = isSelected() ? KGlobalSettings::highlightedTextColor() : KGlobalSettings::textColor(); - TQColor background = isSelected() ? KGlobalSettings::highlightColor() : listView()->paletteBackgroundColor(); + TQColor textColor = isSelected() ? TDEGlobalSettings::highlightedTextColor() : TDEGlobalSettings::textColor(); + TQColor background = isSelected() ? TDEGlobalSettings::highlightColor() : listView()->paletteBackgroundColor(); TQColorGroup colors; colors.setColor(TQColorGroup::Foreground, textColor); diff --git a/yakuake/src/skin_settings.cpp b/yakuake/src/skin_settings.cpp index a9d6928..d727d6f 100644 --- a/yakuake/src/skin_settings.cpp +++ b/yakuake/src/skin_settings.cpp @@ -89,8 +89,8 @@ void SkinSettings::showEvent(TQShowEvent* e) void SkinSettings::slotPopulate() { TQStringList skins_dirs; - TQStringList titles_dirs = KGlobal::dirs()->findAllResources("data","yakuake/*/title.skin"); - TQStringList tabs_dirs = KGlobal::dirs()->findAllResources("data","yakuake/*/tabs.skin"); + TQStringList titles_dirs = TDEGlobal::dirs()->findAllResources("data","yakuake/*/title.skin"); + TQStringList tabs_dirs = TDEGlobal::dirs()->findAllResources("data","yakuake/*/tabs.skin"); for (TQStringList::Iterator it = titles_dirs.begin(); it != titles_dirs.end(); ++it) {