summaryrefslogtreecommitdiffstats
path: root/kexi/widget/pixmapcollection.cpp
diff options
context:
space:
mode:
authortpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2011-08-10 06:08:18 +0000
committertpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2011-08-10 06:08:18 +0000
commitb6edfe41c9395f2e20784cbf0e630af6426950a3 (patch)
tree56ed9b871d4296e6c15949c24e16420be1b28697 /kexi/widget/pixmapcollection.cpp
parentef39e8e4178a8f98cf5f154916ba0f03e4855206 (diff)
downloadkoffice-b6edfe41c9395f2e20784cbf0e630af6426950a3.tar.gz
koffice-b6edfe41c9395f2e20784cbf0e630af6426950a3.zip
rename the following methods:
tqfind find tqreplace replace tqcontains contains git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/applications/koffice@1246075 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
Diffstat (limited to 'kexi/widget/pixmapcollection.cpp')
-rw-r--r--kexi/widget/pixmapcollection.cpp14
1 files changed, 7 insertions, 7 deletions
diff --git a/kexi/widget/pixmapcollection.cpp b/kexi/widget/pixmapcollection.cpp
index f5bc4d9e..fecc5b76 100644
--- a/kexi/widget/pixmapcollection.cpp
+++ b/kexi/widget/pixmapcollection.cpp
@@ -50,7 +50,7 @@ TQString
PixmapCollection::addPixmapPath(const KURL &url)
{
TQString name = url.filename();
- while(m_pixmaps.tqcontains(name))
+ while(m_pixmaps.contains(name))
{
bool ok;
int num = name.right(1).toInt(&ok, 10);
@@ -68,7 +68,7 @@ TQString
PixmapCollection::addPixmapName(const TQString &icon, int size)
{
TQString name = icon;
- while(m_pixmaps.tqcontains(name))
+ while(m_pixmaps.contains(name))
{
bool ok;
int num = name.right(1).toInt(&ok, 10);
@@ -91,7 +91,7 @@ PixmapCollection::removePixmap(const TQString &name)
TQPixmap
PixmapCollection::getPixmap(const TQString &name)
{
- if(!m_pixmaps.tqcontains(name))
+ if(!m_pixmaps.contains(name))
{
kdDebug() << " The icon " << name << " you requested is not in the collection" << endl;
return TQPixmap();
@@ -106,9 +106,9 @@ PixmapCollection::getPixmap(const TQString &name)
}
bool
-PixmapCollection::tqcontains(const TQString &name)
+PixmapCollection::contains(const TQString &name)
{
- return m_pixmaps.tqcontains(name);
+ return m_pixmaps.contains(name);
}
void
@@ -351,7 +351,7 @@ void
PixmapCollectionEditor::renameCollectionItem(TQIconViewItem *it, const TQString &name)
{
PixmapIconViewItem *item = static_cast<PixmapIconViewItem*>(it);
- if(!m_collection->m_pixmaps.tqcontains(item->name()))
+ if(!m_collection->m_pixmaps.contains(item->name()))
return;
// We just rename the collection item
@@ -390,7 +390,7 @@ PixmapCollectionChooser::PixmapCollectionChooser(PixmapCollection *collection, c
for(it = collection->m_pixmaps.constBegin(); it != endIt; ++it)
new PixmapIconViewItem(m_iconView, it.key(), getPixmap(it.key()));
- TQIconViewItem *item = m_iconView->tqfindItem(selectedItem, TQt::ExactMatch);
+ TQIconViewItem *item = m_iconView->findItem(selectedItem, TQt::ExactMatch);
if(item && !selectedItem.isEmpty())
m_iconView->setCurrentItem(item);
}