summaryrefslogtreecommitdiffstats
path: root/kdf
diff options
context:
space:
mode:
authorTimothy Pearson <kb9vqf@pearsoncomputing.net>2013-02-04 14:19:04 -0600
committerTimothy Pearson <kb9vqf@pearsoncomputing.net>2013-02-04 14:19:04 -0600
commit34ec7cf1e70300eb43f3822ce3261893f9f8ace6 (patch)
treec7fe414e406e16a97e53d9eed0979d9ea85d2915 /kdf
parente6b6046f50ea600fc78e00071e2a79e3c8c08ccd (diff)
downloadtdeutils-34ec7cf1e70300eb43f3822ce3261893f9f8ace6.tar.gz
tdeutils-34ec7cf1e70300eb43f3822ce3261893f9f8ace6.zip
Rename KIcon to enhance compatibility with KDE4
Diffstat (limited to 'kdf')
-rw-r--r--kdf/mntconfig.cpp8
-rw-r--r--kdf/mntconfig.h4
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;