diff options
Diffstat (limited to 'kshutdown/msystemtray.cpp')
-rw-r--r-- | kshutdown/msystemtray.cpp | 16 |
1 files changed, 8 insertions, 8 deletions
diff --git a/kshutdown/msystemtray.cpp b/kshutdown/msystemtray.cpp index 5731842..e97eb2f 100644 --- a/kshutdown/msystemtray.cpp +++ b/kshutdown/msystemtray.cpp @@ -24,14 +24,14 @@ #include <ntqtimer.h> -#include <kaction.h> +#include <tdeaction.h> #include <kdebug.h> #include <kiconloader.h> -#include <klocale.h> +#include <tdelocale.h> #include <kpixmap.h> #include <kpixmapeffect.h> -#include <kpopupmenu.h> -#include <kwin.h> +#include <tdepopupmenu.h> +#include <twin.h> const double KS_TRAY_FADE_CHANGE = 0.05f, @@ -134,7 +134,7 @@ MSystemTray::MSystemTray() _flashCount(0), _saveIcon(0) { - setPixmap(SmallIcon("exit", KIcon::SizeSmallMedium)); // 22x22 + setPixmap(SmallIcon("exit", TDEIcon::SizeSmallMedium)); // 22x22 // TODO: 2.0: mouse wheel: decrease/increase end time by 5min. (?) @@ -147,13 +147,13 @@ MSystemTray::MSystemTray() connect(_flashTimer, SIGNAL(timeout()), SLOT(slotFlashTimeout())); // init icons - KPixmap pm(SmallIcon("exit", KIcon::SizeSmallMedium)); + KPixmap pm(SmallIcon("exit", TDEIcon::SizeSmallMedium)); _flashIcon = new KPixmap(KPixmapEffect::fade(pm, 0.7f, white)); show(); // add some items to the context menu - KPopupMenu *pm_systemTrayMenu = contextMenu(); + TDEPopupMenu *pm_systemTrayMenu = contextMenu(); pm_systemTrayMenu->setCaption("KShutDown"); // id 0 = title ks_main->shutDownAction()->plug(pm_systemTrayMenu, 1); @@ -194,7 +194,7 @@ void MSystemTray::slotFade() _fadeValue = 0.0f; } } - KPixmap p(SmallIcon("exit", KIcon::SizeSmallMedium)); + KPixmap p(SmallIcon("exit", TDEIcon::SizeSmallMedium)); setPixmap(KPixmapEffect::fade(p, _fadeValue, KS_TRAY_FADE_COLOR)); } |