diff options
author | Timothy Pearson <kb9vqf@pearsoncomputing.net> | 2013-01-19 23:59:48 -0600 |
---|---|---|
committer | Timothy Pearson <kb9vqf@pearsoncomputing.net> | 2013-01-19 23:59:48 -0600 |
commit | 1c61261489751a320394ea8068fc877dc3e2fb47 (patch) | |
tree | c94a83052f518a342534523bebba19aad2b9ad8d /plugins | |
parent | c5528d18d7870d01c4d8f1b8398db31f68bd7b41 (diff) | |
download | ktorrent-1c61261489751a320394ea8068fc877dc3e2fb47.tar.gz ktorrent-1c61261489751a320394ea8068fc877dc3e2fb47.zip |
Rename KApplication to TDEApplication to avoid conflicts with KDE4
Diffstat (limited to 'plugins')
-rw-r--r-- | plugins/ipfilter/convertdialog.cpp | 6 | ||||
-rw-r--r-- | plugins/rssfeed/rss/testlibrss.cpp | 2 |
2 files changed, 4 insertions, 4 deletions
diff --git a/plugins/ipfilter/convertdialog.cpp b/plugins/ipfilter/convertdialog.cpp index 8c9cf5a..95fb22a 100644 --- a/plugins/ipfilter/convertdialog.cpp +++ b/plugins/ipfilter/convertdialog.cpp @@ -122,7 +122,7 @@ namespace kt if(canceled) return; - KApplication::kApplication() ->processEvents(); + TDEApplication::kApplication() ->processEvents(); TQString line = stream.readLine(); i += line.length() * sizeof( char ); //rough estimation of string size kProgress1->setProgress( i * 100 / source_size ); @@ -184,7 +184,7 @@ namespace kt if ( i % 10000 == 0 ) Out(SYS_IPF|LOG_DEBUG) << "Block " << i << " written." << endl; } - KApplication::kApplication()->processEvents(); + TDEApplication::kApplication()->processEvents(); if(canceled) return; @@ -206,7 +206,7 @@ namespace kt converting = false; } - KApplication::kApplication()->processEvents(); + TDEApplication::kApplication()->processEvents(); //reload level1 filter if ( m_plugin ) m_plugin->loadAntiP2P(); diff --git a/plugins/rssfeed/rss/testlibrss.cpp b/plugins/rssfeed/rss/testlibrss.cpp index f66a53d..721c112 100644 --- a/plugins/rssfeed/rss/testlibrss.cpp +++ b/plugins/rssfeed/rss/testlibrss.cpp @@ -61,7 +61,7 @@ int main( int argc, char **argv ) KAboutData aboutData( "testlibrss", "testlibrss", "0.1" ); TDECmdLineArgs::init( argc, argv, &aboutData ); TDECmdLineArgs::addCmdLineOptions( options ); - KApplication app; + TDEApplication app; TDECmdLineArgs *args = TDECmdLineArgs::parsedArgs(); if ( args->count() != 1 ) args->usage(); |