diff options
author | Timothy Pearson <kb9vqf@pearsoncomputing.net> | 2013-02-04 14:13:16 -0600 |
---|---|---|
committer | Timothy Pearson <kb9vqf@pearsoncomputing.net> | 2013-02-04 14:13:16 -0600 |
commit | 98841fe5a255d63ee9d05d74acc4c90c4598bb00 (patch) | |
tree | 5f54fdff4d43ba9e8c0c4fcaa3c4536edac3b6e2 /kmousetool | |
parent | ce843d9ed1e2f6e4ee1ba31f7f6ac331c524da68 (diff) | |
download | tdeaccessibility-98841fe5a255d63ee9d05d74acc4c90c4598bb00.tar.gz tdeaccessibility-98841fe5a255d63ee9d05d74acc4c90c4598bb00.zip |
Rename KIcon to enhance compatibility with KDE4
Diffstat (limited to 'kmousetool')
-rw-r--r-- | kmousetool/kmousetool/kmousetool.cpp | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/kmousetool/kmousetool/kmousetool.cpp b/kmousetool/kmousetool/kmousetool.cpp index 256e00e..31ee09c 100644 --- a/kmousetool/kmousetool/kmousetool.cpp +++ b/kmousetool/kmousetool/kmousetool.cpp @@ -612,12 +612,12 @@ KMouseToolTray::KMouseToolTray (TQWidget *parent, const char *name) : KSystemTra { startStopId = contextMenu()->insertItem (i18n("&Start"), this, TQT_SIGNAL(startStopSelected())); contextMenu()->insertSeparator(); - contextMenu()->insertItem (TDEGlobal::iconLoader()->loadIcon("configure", KIcon::Small), + contextMenu()->insertItem (TDEGlobal::iconLoader()->loadIcon("configure", TDEIcon::Small), i18n("&Configure KMouseTool..."), this, TQT_SIGNAL(configureSelected())); contextMenu()->insertSeparator(); - contextMenu()->insertItem (TDEGlobal::iconLoader()->loadIcon("contents", KIcon::Small), + contextMenu()->insertItem (TDEGlobal::iconLoader()->loadIcon("contents", TDEIcon::Small), i18n("KMousetool &Handbook"), this, TQT_SIGNAL(helpSelected())); - contextMenu()->insertItem (TDEGlobal::iconLoader()->loadIcon("kmousetool", KIcon::Small), + contextMenu()->insertItem (TDEGlobal::iconLoader()->loadIcon("kmousetool", TDEIcon::Small), i18n("&About KMouseTool"), this, TQT_SIGNAL(aboutSelected())); } @@ -630,11 +630,11 @@ void KMouseToolTray::updateStartStopText(bool mousetool_is_running) if (mousetool_is_running) { contextMenu()->changeItem (startStopId, i18n("&Stop")); - icon = TDEGlobal::iconLoader()->loadIcon("kmousetool_on", KIcon::Small); + icon = TDEGlobal::iconLoader()->loadIcon("kmousetool_on", TDEIcon::Small); } else { contextMenu()->changeItem (startStopId, i18n("&Start")); - icon = TDEGlobal::iconLoader()->loadIcon("kmousetool_off", KIcon::Small); + icon = TDEGlobal::iconLoader()->loadIcon("kmousetool_off", TDEIcon::Small); } setPixmap (icon); show(); |