summaryrefslogtreecommitdiffstats
path: root/konqueror/preloader/preloader.cc
diff options
context:
space:
mode:
authortpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2010-07-31 19:33:34 +0000
committertpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2010-07-31 19:33:34 +0000
commitc663b6440964f6ac48027143ac9e63298991f9d0 (patch)
tree6d8b0c5a5f9db1ee16acf98b1397cea9126b281d /konqueror/preloader/preloader.cc
parenta061f7191beebb0e4a3b0c0a7c534ec5f22f2dc7 (diff)
downloadtdebase-c663b6440964f6ac48027143ac9e63298991f9d0.tar.gz
tdebase-c663b6440964f6ac48027143ac9e63298991f9d0.zip
Trinity Qt initial conversion
git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kdebase@1157639 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
Diffstat (limited to 'konqueror/preloader/preloader.cc')
-rw-r--r--konqueror/preloader/preloader.cc26
1 files changed, 13 insertions, 13 deletions
diff --git a/konqueror/preloader/preloader.cc b/konqueror/preloader/preloader.cc
index a60604e86..23c1704d9 100644
--- a/konqueror/preloader/preloader.cc
+++ b/konqueror/preloader/preloader.cc
@@ -26,14 +26,14 @@
#include <dcopclient.h>
#include <kdebug.h>
-KonqyPreloader::KonqyPreloader( const QCString& obj )
+KonqyPreloader::KonqyPreloader( const TQCString& obj )
: KDEDModule( obj )
{
reconfigure();
- connect( kapp->dcopClient(), SIGNAL( applicationRemoved( const QCString& )),
- SLOT( appRemoved( const QCString& )));
- connect( &check_always_preloaded_timer, SIGNAL( timeout()),
- SLOT( checkAlwaysPreloaded()));
+ connect( kapp->dcopClient(), TQT_SIGNAL( applicationRemoved( const TQCString& )),
+ TQT_SLOT( appRemoved( const TQCString& )));
+ connect( &check_always_preloaded_timer, TQT_SIGNAL( timeout()),
+ TQT_SLOT( checkAlwaysPreloaded()));
}
KonqyPreloader::~KonqyPreloader()
@@ -41,7 +41,7 @@ KonqyPreloader::~KonqyPreloader()
updateCount();
}
-bool KonqyPreloader::registerPreloadedKonqy( QCString id, int screen )
+bool KonqyPreloader::registerPreloadedKonqy( TQCString id, int screen )
{
if( instances.count() >= (uint)KonqSettings::maxPreloadCount() )
return false;
@@ -49,7 +49,7 @@ bool KonqyPreloader::registerPreloadedKonqy( QCString id, int screen )
return true;
}
-QCString KonqyPreloader::getPreloadedKonqy( int screen )
+TQCString KonqyPreloader::getPreloadedKonqy( int screen )
{
if( instances.count() == 0 )
return "";
@@ -59,7 +59,7 @@ QCString KonqyPreloader::getPreloadedKonqy( int screen )
{
if( (*it).screen == screen )
{
- QCString ret = (*it).id;
+ TQCString ret = (*it).id;
instances.remove( it );
check_always_preloaded_timer.start( 5000, true );
return ret;
@@ -68,7 +68,7 @@ QCString KonqyPreloader::getPreloadedKonqy( int screen )
return "";
}
-void KonqyPreloader::unregisterPreloadedKonqy( QCString id_P )
+void KonqyPreloader::unregisterPreloadedKonqy( TQCString id_P )
{
for( InstancesList::Iterator it = instances.begin();
it != instances.end();
@@ -80,7 +80,7 @@ void KonqyPreloader::unregisterPreloadedKonqy( QCString id_P )
}
}
-void KonqyPreloader::appRemoved( const QCString& id )
+void KonqyPreloader::appRemoved( const TQCString& id )
{
unregisterPreloadedKonqy( id );
}
@@ -109,8 +109,8 @@ void KonqyPreloader::updateCount()
{
if( !check_always_preloaded_timer.isActive())
{
- if( kapp->kdeinitExec( QString::fromLatin1( "konqueror" ),
- QStringList() << QString::fromLatin1( "--preload" ), NULL, NULL, "0" ) == 0 )
+ if( kapp->kdeinitExec( TQString::fromLatin1( "konqueror" ),
+ TQStringList() << TQString::fromLatin1( "--preload" ), NULL, NULL, "0" ) == 0 )
{
kdDebug( 1202 ) << "Preloading Konqueror instance" << endl;
check_always_preloaded_timer.start( 5000, true );
@@ -143,7 +143,7 @@ void KonqyPreloader::unloadAllPreloaded()
}
extern "C"
-KDE_EXPORT KDEDModule *create_konqy_preloader( const QCString& obj )
+KDE_EXPORT KDEDModule *create_konqy_preloader( const TQCString& obj )
{
return new KonqyPreloader( obj );
}