summaryrefslogtreecommitdiffstats
path: root/kdict
diff options
context:
space:
mode:
Diffstat (limited to 'kdict')
-rw-r--r--kdict/applet/kdictapplet.cpp6
-rw-r--r--kdict/options.cpp8
2 files changed, 7 insertions, 7 deletions
diff --git a/kdict/applet/kdictapplet.cpp b/kdict/applet/kdictapplet.cpp
index 8499e23e..681603b4 100644
--- a/kdict/applet/kdictapplet.cpp
+++ b/kdict/applet/kdictapplet.cpp
@@ -99,7 +99,7 @@ DictApplet::DictApplet(const TQString& configFile, Type type, int actions, TQWid
iconLabel = new TQLabel(baseWidget);
iconLabel->setBackgroundOrigin(AncestorOrigin);
- TQPixmap pm = TDEGlobal::iconLoader()->loadIcon("kdict", KIcon::Panel, KIcon::SizeSmall, KIcon::DefaultState, 0L, true);
+ TQPixmap pm = TDEGlobal::iconLoader()->loadIcon("kdict", TDEIcon::Panel, TDEIcon::SizeSmall, TDEIcon::DefaultState, 0L, true);
iconLabel->setPixmap(pm);
baseLay->addWidget(iconLabel,1,0);
iconLabel->setAlignment(TQt::AlignCenter | TQt::AlignVCenter);
@@ -251,8 +251,8 @@ void DictApplet::resizeEvent(TQResizeEvent*)
baseWidget->hide();
verticalBtn->setFixedSize(width(),width());
- KIcon::StdSizes sz = width() < 32 ? KIcon::SizeSmall : (width() < 48 ? KIcon::SizeMedium : KIcon::SizeLarge);
- TQPixmap pm = TDEGlobal::iconLoader()->loadIcon("kdict", KIcon::Panel, sz, KIcon::DefaultState, 0L, true);
+ TDEIcon::StdSizes sz = width() < 32 ? TDEIcon::SizeSmall : (width() < 48 ? TDEIcon::SizeMedium : TDEIcon::SizeLarge);
+ TQPixmap pm = TDEGlobal::iconLoader()->loadIcon("kdict", TDEIcon::Panel, sz, TDEIcon::DefaultState, 0L, true);
verticalBtn->setPixmap(pm);
}
}
diff --git a/kdict/options.cpp b/kdict/options.cpp
index e3ea91cc..6885ae8d 100644
--- a/kdict/options.cpp
+++ b/kdict/options.cpp
@@ -493,7 +493,7 @@ OptionsDialog::OptionsDialog(TQWidget *parent, const char *name)
{
//******** Server ************************************
- serverTab = addPage(i18n("Server"),i18n("DICT Server Configuration"), BarIcon("network", KIcon::SizeMedium ));
+ serverTab = addPage(i18n("Server"),i18n("DICT Server Configuration"), BarIcon("network", TDEIcon::SizeMedium ));
TQGridLayout* grid = new TQGridLayout(serverTab,10,3,0,spacingHint());
w_server = new KLineEdit(serverTab);
@@ -579,7 +579,7 @@ OptionsDialog::OptionsDialog(TQWidget *parent, const char *name)
grid->setColStretch(2,2);
//************ Appearance ***************************
- appTab = addPage(i18n("Appearance"),i18n("Customize Visual Appearance"), BarIcon("appearance", KIcon::SizeMedium ));
+ appTab = addPage(i18n("Appearance"),i18n("Customize Visual Appearance"), BarIcon("appearance", TDEIcon::SizeMedium ));
TQGridLayout *topL=new TQGridLayout(appTab, 8, 3, 0, spacingHint());
@@ -641,7 +641,7 @@ OptionsDialog::OptionsDialog(TQWidget *parent, const char *name)
f_List->insertItem(new FontListItem(global->fontName(i), global->font(i)));
//************ Layout ***************************
- layoutTab = addPage(i18n("Layout"),i18n("Customize Output Format"), BarIcon("text_left", KIcon::SizeMedium ));
+ layoutTab = addPage(i18n("Layout"),i18n("Customize Output Format"), BarIcon("text_left", TDEIcon::SizeMedium ));
TQVBoxLayout *vbox = new TQVBoxLayout(layoutTab, 0, spacingHint());
@@ -666,7 +666,7 @@ OptionsDialog::OptionsDialog(TQWidget *parent, const char *name)
vbox->addStretch(1);
//************ Other ***************************
- otherTab = addPage(i18n("Miscellaneous"),i18n("Various Settings"), BarIcon("misc", KIcon::SizeMedium ));
+ otherTab = addPage(i18n("Miscellaneous"),i18n("Various Settings"), BarIcon("misc", TDEIcon::SizeMedium ));
vbox = new TQVBoxLayout(otherTab, 0, spacingHint());