summaryrefslogtreecommitdiffstats
path: root/kdeprint/management/kiconselectaction.cpp
diff options
context:
space:
mode:
authortpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2011-01-16 02:40:35 +0000
committertpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2011-01-16 02:40:35 +0000
commitbab40890696ec68c337dc290880423a0602b83c7 (patch)
tree6ba03f720b1fa88235ba339e7aedb4455430357e /kdeprint/management/kiconselectaction.cpp
parentf7e71d47719ab6094cf4a9fafffa5ea351973522 (diff)
downloadtdelibs-bab40890696ec68c337dc290880423a0602b83c7.tar.gz
tdelibs-bab40890696ec68c337dc290880423a0602b83c7.zip
Finished remaining porting to new TQt API
git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kdelibs@1214736 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
Diffstat (limited to 'kdeprint/management/kiconselectaction.cpp')
-rw-r--r--kdeprint/management/kiconselectaction.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/kdeprint/management/kiconselectaction.cpp b/kdeprint/management/kiconselectaction.cpp
index d2c4c873f..eb7d1a82a 100644
--- a/kdeprint/management/kiconselectaction.cpp
+++ b/kdeprint/management/kiconselectaction.cpp
@@ -32,7 +32,7 @@ public:
{
m_menu = 0;
}
- QStringList m_iconlst;
+ TQStringList m_iconlst;
TQPopupMenu* m_menu;
};
@@ -51,7 +51,7 @@ void KIconSelectAction::updateIcons()
{
if (d->m_menu)
{
- QStringList lst = items();
+ TQStringList lst = items();
for (uint id=0; id<lst.count(); ++id)
d->m_menu->changeItem(id, SmallIconSet(d->m_iconlst[id]), lst[id]);
}
@@ -87,7 +87,7 @@ int KIconSelectAction::plug(TQWidget* widget, int index)
int id = KAction::getToolButtonID();
// To have a correct layout in the toolbar, a non
// empty icon has to be used. Use "unknown" by default.
- QString iconName = (currentItem() != -1 ? d->m_iconlst[currentItem()] : "unknown");
+ TQString iconName = (currentItem() != -1 ? d->m_iconlst[currentItem()] : "unknown");
createPopupMenu();
bar->insertButton(iconName, id, true, plainText(), index);