summaryrefslogtreecommitdiffstats
path: root/src/common/gui/purl_gui.cpp
diff options
context:
space:
mode:
authorTimothy Pearson <[email protected]>2013-02-04 14:08:40 -0600
committerTimothy Pearson <[email protected]>2013-02-04 14:08:40 -0600
commitdca4b260f029db8fbb9a33bfb2b0a2aa9a28edf1 (patch)
tree18ba70f38844c0b7b78264e28284da691c760e0f /src/common/gui/purl_gui.cpp
parent08396682f3324c6c1266be6a084793b261ada6a4 (diff)
downloadpiklab-dca4b260f029db8fbb9a33bfb2b0a2aa9a28edf1.tar.gz
piklab-dca4b260f029db8fbb9a33bfb2b0a2aa9a28edf1.zip
Rename KIcon to enhance compatibility with KDE4
Diffstat (limited to 'src/common/gui/purl_gui.cpp')
-rw-r--r--src/common/gui/purl_gui.cpp6
1 files changed, 3 insertions, 3 deletions
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);