summaryrefslogtreecommitdiffstats
path: root/kate/filelistloader/katefll_initplugin.cpp
diff options
context:
space:
mode:
authortpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2010-07-31 19:22:56 +0000
committertpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2010-07-31 19:22:56 +0000
commit7346aee26bf190a7e70333c40fab4caca847cd27 (patch)
tree4b019b434f88dcc3eeaafe1d3f26240b4c4718e8 /kate/filelistloader/katefll_initplugin.cpp
parent23a3d3aa5b44cbdf305495919866d9dbf4f6da54 (diff)
downloadtdeaddons-7346aee26bf190a7e70333c40fab4caca847cd27.tar.gz
tdeaddons-7346aee26bf190a7e70333c40fab4caca847cd27.zip
Trinity Qt initial conversion
git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kdeaddons@1157634 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
Diffstat (limited to 'kate/filelistloader/katefll_initplugin.cpp')
-rw-r--r--kate/filelistloader/katefll_initplugin.cpp16
1 files changed, 8 insertions, 8 deletions
diff --git a/kate/filelistloader/katefll_initplugin.cpp b/kate/filelistloader/katefll_initplugin.cpp
index 4eb116f..8fb8061 100644
--- a/kate/filelistloader/katefll_initplugin.cpp
+++ b/kate/filelistloader/katefll_initplugin.cpp
@@ -20,7 +20,7 @@
#include <kate/pluginmanager.h>
-#include <qfileinfo.h>
+#include <tqfileinfo.h>
#include <kgenericfactory.h>
#include <kaction.h>
#include <klocale.h>
@@ -30,7 +30,7 @@
K_EXPORT_COMPONENT_FACTORY( katefll_initplugin, KGenericFactory<InitPluginKateFileListLoader>( "katefll_loader" ) )
-InitPluginKateFileListLoader::InitPluginKateFileListLoader (QObject * parent, const char *name, const QStringList datalist)
+InitPluginKateFileListLoader::InitPluginKateFileListLoader (TQObject * parent, const char *name, const TQStringList datalist)
:InitPlugin((Kate::Application*)parent,name)
{
}
@@ -48,14 +48,14 @@ int InitPluginKateFileListLoader::actionsKateShouldNotPerformOnRealStartup()
int InitPluginKateFileListLoader::initKate()
{
- QString tmpFile;
+ TQString tmpFile;
KURL tmpURL;
if( KIO::NetAccess::download( configScript(), tmpFile ) )
{
- QFile file(tmpFile);
+ TQFile file(tmpFile);
file.open(IO_ReadOnly);
- QTextStream t(&file);
+ TQTextStream t(&file);
bool somethingOpened=false;
@@ -79,11 +79,11 @@ int InitPluginKateFileListLoader::initKate()
Kate::Plugin *pl=application()->pluginManager()->plugin("katefll_plugin");
if (pl)
{
- connect(this,SIGNAL(updateInit()),pl,SLOT(updateInit()));
+ connect(this,TQT_SIGNAL(updateInit()),pl,TQT_SLOT(updateInit()));
updateInit();
- disconnect(this,SIGNAL(updateInit()),pl,SLOT(updateInit()));
+ disconnect(this,TQT_SIGNAL(updateInit()),pl,TQT_SLOT(updateInit()));
-/* int id = pl->metaObject()->findSlot( SLOT(updateInit()) );
+/* int id = pl->metaObject()->findSlot( TQT_SLOT(updateInit()) );
if ( id != -1 )
{
kdDebug()<<"Action slot was found, it will be called now"<<endl;