diff options
author | Timothy Pearson <[email protected]> | 2013-02-04 14:14:55 -0600 |
---|---|---|
committer | Timothy Pearson <[email protected]> | 2013-02-04 14:14:55 -0600 |
commit | de9b6c9ad15f9f51812daae17cce635d1050a9ba (patch) | |
tree | 6b26400ab1a616925443c5d365246eb86c9bad57 /kmenuedit | |
parent | 4f841fbbbc5d3399535ade061699cc76363c7a3f (diff) | |
download | tdebase-de9b6c9ad15f9f51812daae17cce635d1050a9ba.tar.gz tdebase-de9b6c9ad15f9f51812daae17cce635d1050a9ba.zip |
Rename KIcon to enhance compatibility with KDE4
Diffstat (limited to 'kmenuedit')
-rw-r--r-- | kmenuedit/basictab.cpp | 2 | ||||
-rw-r--r-- | kmenuedit/basictab.h | 4 | ||||
-rw-r--r-- | kmenuedit/treeview.cpp | 2 |
3 files changed, 4 insertions, 4 deletions
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) { |