diff options
author | Timothy Pearson <kb9vqf@pearsoncomputing.net> | 2013-02-04 14:19:04 -0600 |
---|---|---|
committer | Timothy Pearson <kb9vqf@pearsoncomputing.net> | 2013-02-04 14:19:04 -0600 |
commit | 34ec7cf1e70300eb43f3822ce3261893f9f8ace6 (patch) | |
tree | c7fe414e406e16a97e53d9eed0979d9ea85d2915 /kdf | |
parent | e6b6046f50ea600fc78e00071e2a79e3c8c08ccd (diff) | |
download | tdeutils-34ec7cf1e70300eb43f3822ce3261893f9f8ace6.tar.gz tdeutils-34ec7cf1e70300eb43f3822ce3261893f9f8ace6.zip |
Rename KIcon to enhance compatibility with KDE4
Diffstat (limited to 'kdf')
-rw-r--r-- | kdf/mntconfig.cpp | 8 | ||||
-rw-r--r-- | kdf/mntconfig.h | 4 |
2 files changed, 6 insertions, 6 deletions
diff --git a/kdf/mntconfig.cpp b/kdf/mntconfig.cpp index aa2b566..db4e715 100644 --- a/kdf/mntconfig.cpp +++ b/kdf/mntconfig.cpp @@ -99,8 +99,8 @@ MntConfigWidget::MntConfigWidget(TQWidget *parent, const char *name, bool init) this,TQT_SLOT(slotChanged())); gl->addWidget( mIconLineEdit, 2, 0 ); - mIconButton = new KIconButton(mGroupBox); - mIconButton->setIconType(KIcon::Small, KIcon::Device); + mIconButton = new TDEIconButton(mGroupBox); + mIconButton->setIconType(TDEIcon::Small, TDEIcon::Device); TQ_CHECK_PTR(mIconButton); mIconButton->setFixedWidth( mIconButton->sizeHint().height() ); connect(mIconButton,TQT_SIGNAL(iconChanged(TQString)),this,TQT_SLOT(iconChangedButton(TQString))); @@ -273,8 +273,8 @@ void MntConfigWidget::iconChanged(const TQString &iconName) { disk->setIconName(iconName); mIconLineEdit->setText(iconName); - KIconLoader &loader = *TDEGlobal::iconLoader(); - item->setPixmap( ICONCOL, loader.loadIcon( iconName, KIcon::Small)); + TDEIconLoader &loader = *TDEGlobal::iconLoader(); + item->setPixmap( ICONCOL, loader.loadIcon( iconName, TDEIcon::Small)); } break; } diff --git a/kdf/mntconfig.h b/kdf/mntconfig.h index 3ae0c1a..6ea8125 100644 --- a/kdf/mntconfig.h +++ b/kdf/mntconfig.h @@ -36,7 +36,7 @@ class TQGroupBox; class TQPushButton; class TQRadioButton; class TQLineEdit; -class KIconButton; +class TDEIconButton; class CListView; class TQListViewItem; @@ -90,7 +90,7 @@ class MntConfigWidget : public TQWidget TQLineEdit *mUmountLineEdit; TQPushButton *mMountButton; TQPushButton *mUmountButton; - KIconButton *mIconButton; + TDEIconButton *mIconButton; DiskList mDiskList; bool mInitializing; TQMemArray<TQListViewItem*> mDiskLookup; |