From de9b6c9ad15f9f51812daae17cce635d1050a9ba Mon Sep 17 00:00:00 2001 From: Timothy Pearson Date: Mon, 4 Feb 2013 14:14:55 -0600 Subject: Rename KIcon to enhance compatibility with KDE4 --- kmenuedit/basictab.cpp | 2 +- kmenuedit/basictab.h | 4 ++-- kmenuedit/treeview.cpp | 2 +- 3 files changed, 4 insertions(+), 4 deletions(-) (limited to 'kmenuedit') diff --git a/kmenuedit/basictab.cpp b/kmenuedit/basictab.cpp index ce1667cae..45c6a1c29 100644 --- a/kmenuedit/basictab.cpp +++ b/kmenuedit/basictab.cpp @@ -123,7 +123,7 @@ BasicTab::BasicTab( TQWidget *parent, const char *name ) grid->addMultiCellWidget(_systrayCB, 5, 5, 0, 2); // setup icon button - _iconButton = new KIconButton(general_group); + _iconButton = new TDEIconButton(general_group); _iconButton->setFixedSize(56,56); _iconButton->setIconSize(48); connect(_iconButton, TQT_SIGNAL(iconChanged(TQString)), TQT_SLOT(slotChanged())); diff --git a/kmenuedit/basictab.h b/kmenuedit/basictab.h index 947a2a14a..724f1f339 100644 --- a/kmenuedit/basictab.h +++ b/kmenuedit/basictab.h @@ -27,7 +27,7 @@ class KKeyButton; class KLineEdit; -class KIconButton; +class TDEIconButton; class TQCheckBox; class TQGroupBox; class TQLabel; @@ -74,7 +74,7 @@ protected: KURLRequester *_execEdit, *_pathEdit; KLineEdit *_termOptEdit, *_uidEdit; TQCheckBox *_terminalCB, *_uidCB, *_launchCB, *_systrayCB; - KIconButton *_iconButton; + TDEIconButton *_iconButton; TQGroupBox *_path_group, *_term_group, *_uid_group, *general_group_keybind; TQLabel *_termOptLabel, *_uidLabel, *_pathLabel, *_nameLabel, *_commentLabel, *_execLabel; TQLabel *_descriptionLabel; diff --git a/kmenuedit/treeview.cpp b/kmenuedit/treeview.cpp index dc90bcda9..70ca66067 100644 --- a/kmenuedit/treeview.cpp +++ b/kmenuedit/treeview.cpp @@ -134,7 +134,7 @@ void TreeItem::setup() static TQPixmap appIcon(const TQString &iconName) { - TQPixmap normal = TDEGlobal::iconLoader()->loadIcon(iconName, KIcon::Small, 0, KIcon::DefaultState, 0L, true); + TQPixmap normal = TDEGlobal::iconLoader()->loadIcon(iconName, TDEIcon::Small, 0, TDEIcon::DefaultState, 0L, true); // make sure they are not larger than 20x20 if (normal.width() > 20 || normal.height() > 20) { -- cgit v1.2.3