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 /kttsd/kttsmgr | |
parent | ce843d9ed1e2f6e4ee1ba31f7f6ac331c524da68 (diff) | |
download | tdeaccessibility-98841fe5a255d63ee9d05d74acc4c90c4598bb00.tar.gz tdeaccessibility-98841fe5a255d63ee9d05d74acc4c90c4598bb00.zip |
Rename KIcon to enhance compatibility with KDE4
Diffstat (limited to 'kttsd/kttsmgr')
-rw-r--r-- | kttsd/kttsmgr/kttsmgr.cpp | 16 |
1 files changed, 8 insertions, 8 deletions
diff --git a/kttsd/kttsmgr/kttsmgr.cpp b/kttsd/kttsmgr/kttsmgr.cpp index 92805dd..95d4be5 100644 --- a/kttsd/kttsmgr/kttsmgr.cpp +++ b/kttsd/kttsmgr/kttsmgr.cpp @@ -81,7 +81,7 @@ int main (int argc, char *argv[]) KUniqueApplication app; #if TDE_VERSION >= TDE_MAKE_VERSION (3,3,90) - TQPixmap icon = TDEGlobal::iconLoader()->loadIcon("kttsd", KIcon::Panel); + TQPixmap icon = TDEGlobal::iconLoader()->loadIcon("kttsd", TDEIcon::Panel); aboutdata.setProgramLogo(icon.convertToImage()); #endif @@ -89,7 +89,7 @@ int main (int argc, char *argv[]) KCMultiDialog dlg(KCMultiDialog::Plain, i18n("TDE Text-to-Speech Manager"), 0, "kttsmgrdlg", false); dlg.addModule("kcmkttsd"); - dlg.setIcon(TDEGlobal::iconLoader()->loadIcon("kttsd", KIcon::Small)); + dlg.setIcon(TDEGlobal::iconLoader()->loadIcon("kttsd", TDEIcon::Small)); // Get SysTray and ShowMainWindow options. TDEConfig* config = new TDEConfig("kttsdrc"); @@ -168,7 +168,7 @@ KttsMgrTray::KttsMgrTray(TQWidget *parent): DCOPObject("kkttsmgr_kspeechsink"), KSystemTray(parent, "kttsmgrsystemtray") { - TQPixmap icon = TDEGlobal::iconLoader()->loadIcon("kttsd", KIcon::Small); + TQPixmap icon = TDEGlobal::iconLoader()->loadIcon("kttsd", TDEIcon::Small); setPixmap (icon); // TQToolTip::add(this, i18n("Text-to-speech manager")); @@ -178,16 +178,16 @@ KttsMgrTray::KttsMgrTray(TQWidget *parent): id = contextMenu()->idAt(0); if (id != -1) contextMenu()->changeTitle(id, icon, "KTTSMgr"); - id = contextMenu()->insertItem (TDEGlobal::iconLoader()->loadIcon("klipper", KIcon::Small), + id = contextMenu()->insertItem (TDEGlobal::iconLoader()->loadIcon("klipper", TDEIcon::Small), i18n("&Speak Clipboard Contents"), this, TQT_SLOT(speakClipboardSelected())); - id = contextMenu()->insertItem (TDEGlobal::iconLoader()->loadIcon("stop", KIcon::Small), + id = contextMenu()->insertItem (TDEGlobal::iconLoader()->loadIcon("stop", TDEIcon::Small), i18n("&Hold"), this, TQT_SLOT(holdSelected())); - id = contextMenu()->insertItem (TDEGlobal::iconLoader()->loadIcon("exec", KIcon::Small), + id = contextMenu()->insertItem (TDEGlobal::iconLoader()->loadIcon("exec", TDEIcon::Small), i18n("Resume"), this, TQT_SLOT(resumeSelected())); id = contextMenu()->insertSeparator(); - id = contextMenu()->insertItem (TDEGlobal::iconLoader()->loadIcon("contents", KIcon::Small), + id = contextMenu()->insertItem (TDEGlobal::iconLoader()->loadIcon("contents", TDEIcon::Small), i18n("KTTS &Handbook"), this, TQT_SLOT(helpSelected())); - id = contextMenu()->insertItem (TDEGlobal::iconLoader()->loadIcon("kttsd", KIcon::Small), + id = contextMenu()->insertItem (TDEGlobal::iconLoader()->loadIcon("kttsd", TDEIcon::Small), i18n("&About KTTSMgr"), this, TQT_SLOT(aboutSelected())); connect(this, TQT_SIGNAL(quitSelected()), this, TQT_SLOT(quitSelected())); |