summaryrefslogtreecommitdiffstats
path: root/plugins/partfileimport/partfileimportplugin.cpp
diff options
context:
space:
mode:
authortpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2011-06-28 20:34:15 +0000
committertpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2011-06-28 20:34:15 +0000
commit1c1403293485f35fd53db45aaa77a01cdd9627e7 (patch)
tree38559cd68cd4f63023fb5f6375def9db3b8b491e /plugins/partfileimport/partfileimportplugin.cpp
parent894f94545727610df22c4f73911d62d58266f695 (diff)
downloadktorrent-1c1403293485f35fd53db45aaa77a01cdd9627e7.tar.gz
ktorrent-1c1403293485f35fd53db45aaa77a01cdd9627e7.zip
TQt4 port ktorrent
This enables compilation under both Qt3 and Qt4 git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/applications/ktorrent@1238733 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
Diffstat (limited to 'plugins/partfileimport/partfileimportplugin.cpp')
-rw-r--r--plugins/partfileimport/partfileimportplugin.cpp8
1 files changed, 4 insertions, 4 deletions
diff --git a/plugins/partfileimport/partfileimportplugin.cpp b/plugins/partfileimport/partfileimportplugin.cpp
index c154478..04ef8fd 100644
--- a/plugins/partfileimport/partfileimportplugin.cpp
+++ b/plugins/partfileimport/partfileimportplugin.cpp
@@ -39,8 +39,8 @@ K_EXPORT_COMPONENT_FACTORY(ktpartfileimportplugin,KGenericFactory<kt::PartFileIm
namespace kt
{
- PartFileImportPlugin::PartFileImportPlugin(QObject* parent, const char* name, const QStringList& args)
- : Plugin(parent, name, args,NAME,i18n("Import"),AUTHOR,EMAIL,i18n("Imports partially or fully downloaded torrents from other clients"),"ktplugins")
+ PartFileImportPlugin::PartFileImportPlugin(TQObject* tqparent, const char* name, const TQStringList& args)
+ : Plugin(tqparent, name, args,NAME,i18n("Import"),AUTHOR,EMAIL,i18n("Imports partially or fully downloaded torrents from other clients"),"ktplugins")
{
setXMLFile("ktpartfileimportpluginui.rc");
import_action = 0;
@@ -54,7 +54,7 @@ namespace kt
void PartFileImportPlugin::load()
{
import_action = new KAction(i18n("Import existing download" ), 0, this,
- SLOT(onImport()), actionCollection(), "partfileimport" );
+ TQT_SLOT(onImport()), actionCollection(), "partfileimport" );
}
void PartFileImportPlugin::unload()
@@ -69,7 +69,7 @@ namespace kt
dlg.exec();
}
- bool PartFileImportPlugin::versionCheck(const QString & version) const
+ bool PartFileImportPlugin::versionCheck(const TQString & version) const
{
return version == KT_VERSION_MACRO;
}