summaryrefslogtreecommitdiffstats
path: root/katapult/plugins/catalogs/documentcatalog/actionopendocument.cpp
diff options
context:
space:
mode:
authortpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2011-05-28 18:03:09 +0000
committertpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2011-05-28 18:03:09 +0000
commit98d15d90b6a83e2df32d678013847e18b8a8c7e8 (patch)
tree02a588c0979fe1a40ae6216d1f831bb24de91a9f /katapult/plugins/catalogs/documentcatalog/actionopendocument.cpp
parente0974f69b7603e3d8f2d936301e05535af25346e (diff)
downloadkatapult-98d15d90b6a83e2df32d678013847e18b8a8c7e8.tar.gz
katapult-98d15d90b6a83e2df32d678013847e18b8a8c7e8.zip
TQt4 port Katapult
This enables compilation under both Qt3 and Qt4 git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/applications/katapult@1233929 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
Diffstat (limited to 'katapult/plugins/catalogs/documentcatalog/actionopendocument.cpp')
-rw-r--r--katapult/plugins/catalogs/documentcatalog/actionopendocument.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/katapult/plugins/catalogs/documentcatalog/actionopendocument.cpp b/katapult/plugins/catalogs/documentcatalog/actionopendocument.cpp
index 70f91a7..3de6f5a 100644
--- a/katapult/plugins/catalogs/documentcatalog/actionopendocument.cpp
+++ b/katapult/plugins/catalogs/documentcatalog/actionopendocument.cpp
@@ -37,12 +37,12 @@ bool ActionOpenDocument::accepts(const KatapultItem* item) const
return strcmp(item->className(), "Document") == 0 || strcmp(item->className(), "Directory") == 0;
}
-QPixmap ActionOpenDocument::icon(int size) const
+TQPixmap ActionOpenDocument::icon(int size) const
{
return KGlobal::iconLoader()->loadIcon("fileopen", KIcon::NoGroup, size);
}
-QString ActionOpenDocument::text() const
+TQString ActionOpenDocument::text() const
{
return i18n("Open");
}
@@ -51,7 +51,7 @@ void ActionOpenDocument::execute(const KatapultItem* item) const
{
if(strcmp(item->className(), "Document") == 0 || strcmp(item->className(), "Directory") == 0) {
const Document *document = (const Document *) item;
- qDebug("%s", QString("Running: %1").arg(document->path()).latin1());
+ qDebug("%s", TQString("Running: %1").tqarg(document->path()).latin1());
new KRun(document->path());
}
}