summaryrefslogtreecommitdiffstats
path: root/ksquirrel/sq_viewcache.ui.h
diff options
context:
space:
mode:
authortpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2011-07-03 01:36:58 +0000
committertpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2011-07-03 01:36:58 +0000
commitd9d0ac84a2b1609ff81b399b81842a15704cbefd (patch)
tree58c783db373c4633201e5a9716901599c1afad92 /ksquirrel/sq_viewcache.ui.h
parent63f270d62c4541f1379f0f82f5255a34e5037e00 (diff)
downloadksquirrel-d9d0ac84a2b1609ff81b399b81842a15704cbefd.tar.gz
ksquirrel-d9d0ac84a2b1609ff81b399b81842a15704cbefd.zip
TQt4 port ksquirrel
This enables compilation under both Qt3 and Qt4 git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/applications/ksquirrel@1239132 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
Diffstat (limited to 'ksquirrel/sq_viewcache.ui.h')
-rw-r--r--ksquirrel/sq_viewcache.ui.h16
1 files changed, 8 insertions, 8 deletions
diff --git a/ksquirrel/sq_viewcache.ui.h b/ksquirrel/sq_viewcache.ui.h
index fa7dc8a..5066e05 100644
--- a/ksquirrel/sq_viewcache.ui.h
+++ b/ksquirrel/sq_viewcache.ui.h
@@ -2,26 +2,26 @@
** ui.h extension file, included from the uic-generated form implementation.
**
** If you wish to add, delete or rename functions or slots use
-** Qt Designer which will update this file, preserving your code. Create an
+** TQt Designer which will update this file, preserving your code. Create an
** init() function in place of a constructor, and a destroy() function in
** place of a destructor.
*****************************************************************************/
void SQ_ViewCache::init()
{
- textTotal->setText(QString("<b>%1</b>").arg((int)SQ_PixmapCache::instance()->count()));
+ textTotal->setText(TQString("<b>%1</b>").tqarg((int)SQ_PixmapCache::instance()->count()));
if(SQ_PixmapCache::instance()->isEmpty())
return;
listCache->setSorting(-1);
- QListViewItem *itemafter = 0, *item;
+ TQListViewItem *itemafter = 0, *item;
SQ_PixmapCache::iterator itEnd = SQ_PixmapCache::instance()->end();
SQ_Thumbnail th;
KURL url;
- QString s;
+ TQString s;
for(SQ_PixmapCache::iterator it = SQ_PixmapCache::instance()->begin();it != itEnd;++it)
{
@@ -30,11 +30,11 @@ void SQ_ViewCache::init()
s = url.isLocalFile() ? url.path() : url.prettyURL();
if(itemafter)
- item = new QListViewItem(listCache, itemafter, s,
- QString::null, QString::fromLatin1("%1x%2").arg(th.w).arg(th.h));
+ item = new TQListViewItem(listCache, itemafter, s,
+ TQString(), TQString::tqfromLatin1("%1x%2").tqarg(th.w).tqarg(th.h));
else
- item = new QListViewItem(listCache, s,
- QString::null, QString::fromLatin1("%1x%2").arg(th.w).arg(th.h));
+ item = new TQListViewItem(listCache, s,
+ TQString(), TQString::tqfromLatin1("%1x%2").tqarg(th.w).tqarg(th.h));
item->setPixmap(1, it.data().mime);