summaryrefslogtreecommitdiffstats
path: root/tdeprint/management/kiconselectaction.cpp
diff options
context:
space:
mode:
authorTimothy Pearson <[email protected]>2013-02-04 14:16:51 -0600
committerTimothy Pearson <[email protected]>2013-02-04 14:16:51 -0600
commitf2bfcad7ffdd09911f282afe2a2051b3708601c9 (patch)
treece4bebc206b6f9753745218e6a4c4368df624c16 /tdeprint/management/kiconselectaction.cpp
parenta14eaa044240517f1f3d7eb5dacbff96fd447ada (diff)
downloadtdelibs-f2bfcad7ffdd09911f282afe2a2051b3708601c9.tar.gz
tdelibs-f2bfcad7ffdd09911f282afe2a2051b3708601c9.zip
Rename KIcon to enhance compatibility with KDE4
Diffstat (limited to 'tdeprint/management/kiconselectaction.cpp')
-rw-r--r--tdeprint/management/kiconselectaction.cpp22
1 files changed, 11 insertions, 11 deletions
diff --git a/tdeprint/management/kiconselectaction.cpp b/tdeprint/management/kiconselectaction.cpp
index 230119d27..984d2c128 100644
--- a/tdeprint/management/kiconselectaction.cpp
+++ b/tdeprint/management/kiconselectaction.cpp
@@ -25,10 +25,10 @@
#include <tdetoolbar.h>
#include <tdetoolbarbutton.h>
-class KIconSelectActionPrivate
+class TDEIconSelectActionPrivate
{
public:
- KIconSelectActionPrivate()
+ TDEIconSelectActionPrivate()
{
m_menu = 0;
}
@@ -36,18 +36,18 @@ public:
TQPopupMenu* m_menu;
};
-KIconSelectAction::KIconSelectAction(const TQString& text, int accel, TQObject* parent, const char* name)
+TDEIconSelectAction::TDEIconSelectAction(const TQString& text, int accel, TQObject* parent, const char* name)
: TDESelectAction(text, accel, parent, name)
{
- d = new KIconSelectActionPrivate;
+ d = new TDEIconSelectActionPrivate;
}
-KIconSelectAction::~KIconSelectAction()
+TDEIconSelectAction::~TDEIconSelectAction()
{
delete d;
}
-void KIconSelectAction::updateIcons()
+void TDEIconSelectAction::updateIcons()
{
if (d->m_menu)
{
@@ -57,7 +57,7 @@ void KIconSelectAction::updateIcons()
}
}
-void KIconSelectAction::createPopupMenu()
+void TDEIconSelectAction::createPopupMenu()
{
if (!d->m_menu)
{
@@ -66,14 +66,14 @@ void KIconSelectAction::createPopupMenu()
}
}
-void KIconSelectAction::setItems(const TQStringList& lst, const TQStringList& iconlst)
+void TDEIconSelectAction::setItems(const TQStringList& lst, const TQStringList& iconlst)
{
TDESelectAction::setItems(lst);
d->m_iconlst = iconlst;
updateIcons();
}
-int KIconSelectAction::plug(TQWidget* widget, int index)
+int TDEIconSelectAction::plug(TQWidget* widget, int index)
{
int value(-1);
if (widget->inherits(TQPOPUPMENU_OBJECT_NAME_STRING))
@@ -101,7 +101,7 @@ int KIconSelectAction::plug(TQWidget* widget, int index)
return value;
}
-void KIconSelectAction::updateCurrentItem(int id)
+void TDEIconSelectAction::updateCurrentItem(int id)
{
TQWidget* w = container(id);
if (w->inherits("TDEToolBar"))
@@ -110,7 +110,7 @@ void KIconSelectAction::updateCurrentItem(int id)
TDESelectAction::updateCurrentItem(id);
}
-void KIconSelectAction::setCurrentItem(int index)
+void TDEIconSelectAction::setCurrentItem(int index)
{
TDESelectAction::setCurrentItem(index);
}