summaryrefslogtreecommitdiffstats
path: root/src/common/gui
diff options
context:
space:
mode:
authorTimothy Pearson <kb9vqf@pearsoncomputing.net>2013-02-04 14:08:40 -0600
committerTimothy Pearson <kb9vqf@pearsoncomputing.net>2013-02-04 14:08:40 -0600
commitdca4b260f029db8fbb9a33bfb2b0a2aa9a28edf1 (patch)
tree18ba70f38844c0b7b78264e28284da691c760e0f /src/common/gui
parent08396682f3324c6c1266be6a084793b261ada6a4 (diff)
downloadpiklab-dca4b260f029db8fbb9a33bfb2b0a2aa9a28edf1.tar.gz
piklab-dca4b260f029db8fbb9a33bfb2b0a2aa9a28edf1.zip
Rename KIcon to enhance compatibility with KDE4
Diffstat (limited to 'src/common/gui')
-rw-r--r--src/common/gui/editlistbox.cpp4
-rw-r--r--src/common/gui/misc_gui.cpp4
-rw-r--r--src/common/gui/purl_gui.cpp6
3 files changed, 7 insertions, 7 deletions
diff --git a/src/common/gui/editlistbox.cpp b/src/common/gui/editlistbox.cpp
index 8601399..432aacd 100644
--- a/src/common/gui/editlistbox.cpp
+++ b/src/common/gui/editlistbox.cpp
@@ -61,8 +61,8 @@ void EditListBox::init(uint nbColumns, TQWidget *view)
TQHBoxLayout *hbox = new TQHBoxLayout(KDialog::spacingHint());
grid->addMultiCellLayout(hbox, row,row, 0,1);
if (m_lineEdit) {
- KIconLoader loader;
- TQIconSet iconset = loader.loadIcon("locationbar_erase", KIcon::Toolbar);
+ TDEIconLoader loader;
+ TQIconSet iconset = loader.loadIcon("locationbar_erase", TDEIcon::Toolbar);
KPushButton *button = new KPushButton(iconset, TQString(), this);
connect(button, TQT_SIGNAL(clicked()), TQT_SLOT(clearEdit()));
hbox->addWidget(button);
diff --git a/src/common/gui/misc_gui.cpp b/src/common/gui/misc_gui.cpp
index 607156e..9808492 100644
--- a/src/common/gui/misc_gui.cpp
+++ b/src/common/gui/misc_gui.cpp
@@ -145,8 +145,8 @@ void PopupButton::appendAction(const TQString &label, const TQString &icon,
int PopupButton::appendItem(const TQString &label, const TQString &icon, int id)
{
- KIconLoader loader;
- TQPixmap pixmap = loader.loadIcon(icon, KIcon::Small);
+ TDEIconLoader loader;
+ TQPixmap pixmap = loader.loadIcon(icon, TDEIcon::Small);
return appendItem(label, pixmap, id);
}
diff --git a/src/common/gui/purl_gui.cpp b/src/common/gui/purl_gui.cpp
index 614ef76..3f5a742 100644
--- a/src/common/gui/purl_gui.cpp
+++ b/src/common/gui/purl_gui.cpp
@@ -61,7 +61,7 @@ PURL::Directory PURL::getExistingDirectory(const TQString &startDir, TQWidget *w
TQPixmap PURL::icon(FileType type)
{
if (type.data().xpm_icon) return TQPixmap(type.data().xpm_icon);
- if ( hasMimetype(type) ) return KMimeType::mimeType(type.data().mimetype)->pixmap(KIcon::Small);
+ if ( hasMimetype(type) ) return KMimeType::mimeType(type.data().mimetype)->pixmap(TDEIcon::Small);
return TQPixmap();
}
@@ -105,8 +105,8 @@ void PURL::BaseWidget::init()
_edit = new KLineEdit(this);
connect(_edit, TQT_SIGNAL(textChanged(const TQString &)), TQT_SIGNAL(changed()));
top->addWidget(_edit);
- KIconLoader loader;
- TQIconSet iconset = loader.loadIcon("fileopen", KIcon::Toolbar);
+ TDEIconLoader loader;
+ TQIconSet iconset = loader.loadIcon("fileopen", TDEIcon::Toolbar);
TQPushButton *button = new KPushButton(iconset, TQString(), this);
connect(button, TQT_SIGNAL(clicked()), TQT_SLOT(buttonClicked()));
top->addWidget(button);