summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--src/app/historyAction.cpp4
-rw-r--r--src/app/historyAction.h6
-rw-r--r--src/app/mainWindow.cpp10
-rw-r--r--src/app/mainWindow.h4
-rw-r--r--src/part/Config.cpp8
-rw-r--r--src/part/Config.h4
-rw-r--r--src/part/progressBox.cpp2
-rw-r--r--src/part/progressBox.h2
-rw-r--r--src/part/radialMap/widget.h4
-rw-r--r--src/part/radialMap/widgetEvents.cpp6
-rw-r--r--src/part/remoteLister.cpp2
11 files changed, 26 insertions, 26 deletions
diff --git a/src/app/historyAction.cpp b/src/app/historyAction.cpp
index 9d27ef1..f0864a9 100644
--- a/src/app/historyAction.cpp
+++ b/src/app/historyAction.cpp
@@ -79,14 +79,14 @@ HistoryCollection::pop() //slot
}
void
-HistoryCollection::save( KConfig *config )
+HistoryCollection::save( TDEConfig *config )
{
config->writePathEntry( "backHistory", m_b->m_list );
config->writePathEntry( "forwardHistory", m_f->m_list );
}
void
-HistoryCollection::restore( KConfig *config )
+HistoryCollection::restore( TDEConfig *config )
{
m_b->m_list = config->readPathListEntry( "backHistory" );
m_f->m_list = config->readPathListEntry( "forwardHistory" );
diff --git a/src/app/historyAction.h b/src/app/historyAction.h
index 9ed65ab..1eaa1aa 100644
--- a/src/app/historyAction.h
+++ b/src/app/historyAction.h
@@ -8,7 +8,7 @@
#include <kurl.h>
#include <tqstringlist.h>
-class KConfig;
+class TDEConfig;
/// defined in mainWindow.cpp
@@ -45,8 +45,8 @@ Q_OBJECT
public:
HistoryCollection( KActionCollection *ac, TQObject *parent, const char *name );
- void save( KConfig *config );
- void restore( KConfig *config );
+ void save( TDEConfig *config );
+ void restore( TDEConfig *config );
public slots:
void push( const KURL& );
diff --git a/src/app/mainWindow.cpp b/src/app/mainWindow.cpp
index fa5d365..b7f99ec 100644
--- a/src/app/mainWindow.cpp
+++ b/src/app/mainWindow.cpp
@@ -57,7 +57,7 @@ MainWindow::MainWindow()
KMessageBox::error( this, i18n("Filelight is not installed properly, consequently its menus and toolbars will appear reduced or even empty") );
delete buttons;
- connect( m_part, TQT_SIGNAL(started( KIO::Job* )), TQT_SLOT(scanStarted()) );
+ connect( m_part, TQT_SIGNAL(started( TDEIO::Job* )), TQT_SLOT(scanStarted()) );
connect( m_part, TQT_SIGNAL(completed()), TQT_SLOT(scanCompleted()) );
connect( m_part, TQT_SIGNAL(canceled( const TQString& )), TQT_SLOT(scanFailed()) );
@@ -65,7 +65,7 @@ MainWindow::MainWindow()
connect( m_part, TQT_SIGNAL(canceled( const TQString& )), m_histories, TQT_SLOT(stop()) );
connect( BrowserExtension::childObject( m_part ), TQT_SIGNAL(openURLNotify()), TQT_SLOT(urlAboutToChange()) );
- KConfig* const config = TDEGlobal::config();
+ TDEConfig* const config = TDEGlobal::config();
config->setGroup( "general" );
m_combo->setHistoryItems( config->readPathListEntry( "comboHistory" ) );
applyMainWindowSettings( config, "window" );
@@ -114,7 +114,7 @@ MainWindow::queryExit()
if( !m_part ) //apparently std::exit() still calls this function, and abort() causes a crash..
return true;
- KConfig* const config = TDEGlobal::config();
+ TDEConfig* const config = TDEGlobal::config();
saveMainWindowSettings( config, "window" );
m_recentScans->saveEntries( config );
@@ -237,14 +237,14 @@ MainWindow::urlAboutToChange()
**********************************************/
void
-MainWindow::saveProperties( KConfig *config ) //virtual
+MainWindow::saveProperties( TDEConfig *config ) //virtual
{
m_histories->save( config );
config->writeEntry( "currentMap", m_part->url().path() );
}
void
-MainWindow::readProperties( KConfig *config ) //virtual
+MainWindow::readProperties( TDEConfig *config ) //virtual
{
m_histories->restore( config );
slotScanPath( config->readEntry( "currentMap", TQString() ) );
diff --git a/src/app/mainWindow.h b/src/app/mainWindow.h
index 777a692..68314aa 100644
--- a/src/app/mainWindow.h
+++ b/src/app/mainWindow.h
@@ -63,8 +63,8 @@ class MainWindow : public KParts::MainWindow
void urlAboutToChange();
protected:
- virtual void saveProperties( KConfig * );
- virtual void readProperties( KConfig * );
+ virtual void saveProperties( TDEConfig * );
+ virtual void readProperties( TDEConfig * );
virtual bool queryExit();
private:
diff --git a/src/part/Config.cpp b/src/part/Config.cpp
index 2da592d..3b4a925 100644
--- a/src/part/Config.cpp
+++ b/src/part/Config.cpp
@@ -17,10 +17,10 @@ Filelight::MapScheme Config::scheme;
TQStringList Config::skipList;
-inline KConfig&
+inline TDEConfig&
Filelight::Config::kconfig()
{
- KConfig *config = TDEGlobal::config();
+ TDEConfig *config = TDEGlobal::config();
config->setGroup( "filelight_part" );
return *config;
}
@@ -28,7 +28,7 @@ Filelight::Config::kconfig()
void
Filelight::Config::read()
{
- const KConfig &config = kconfig();
+ const TDEConfig &config = kconfig();
scanAcrossMounts = config.readBoolEntry( "scanAcrossMounts", false );
scanRemoteMounts = config.readBoolEntry( "scanRemoteMounts", false );
@@ -47,7 +47,7 @@ Filelight::Config::read()
void
Filelight::Config::write()
{
- KConfig &config = kconfig();
+ TDEConfig &config = kconfig();
config.writeEntry( "scanAcrossMounts", scanAcrossMounts );
config.writeEntry( "scanRemoteMounts", scanRemoteMounts );
diff --git a/src/part/Config.h b/src/part/Config.h
index 7aad62a..47e6cf5 100644
--- a/src/part/Config.h
+++ b/src/part/Config.h
@@ -4,7 +4,7 @@
#include <tqstringlist.h>
-class KConfig;
+class TDEConfig;
namespace Filelight
@@ -13,7 +13,7 @@ namespace Filelight
class Config
{
- static KConfig& kconfig();
+ static TDEConfig& kconfig();
public:
static void read();
diff --git a/src/part/progressBox.cpp b/src/part/progressBox.cpp
index 0cc99f3..03c4275 100644
--- a/src/part/progressBox.cpp
+++ b/src/part/progressBox.cpp
@@ -23,7 +23,7 @@ ProgressBox::ProgressBox( TQWidget *parent, TQObject *part )
setMinimumWidth( sizeHint().width() );
connect( &m_timer, TQT_SIGNAL(timeout()), TQT_SLOT(report()) );
- connect( part, TQT_SIGNAL(started( KIO::Job* )), TQT_SLOT(start()) );
+ connect( part, TQT_SIGNAL(started( TDEIO::Job* )), TQT_SLOT(start()) );
connect( part, TQT_SIGNAL(completed()), TQT_SLOT(stop()) );
connect( part, TQT_SIGNAL(canceled( const TQString& )), TQT_SLOT(halt()) );
}
diff --git a/src/part/progressBox.h b/src/part/progressBox.h
index c7cf61e..7bfa882 100644
--- a/src/part/progressBox.h
+++ b/src/part/progressBox.h
@@ -7,7 +7,7 @@
#include <tqlabel.h>
#include <tqtimer.h>
-namespace KIO { class Job; }
+namespace TDEIO { class Job; }
class ProgressBox : public TQLabel
diff --git a/src/part/radialMap/widget.h b/src/part/radialMap/widget.h
index 61227a0..3b8ae00 100644
--- a/src/part/radialMap/widget.h
+++ b/src/part/radialMap/widget.h
@@ -11,7 +11,7 @@
template <class T> class Chain;
class Directory;
class File;
-namespace KIO { class Job; }
+namespace TDEIO { class Job; }
class KURL;
namespace RadialMap
@@ -76,7 +76,7 @@ namespace RadialMap
private slots:
void resizeTimeout();
void sendFakeMouseEvent();
- void deleteJobFinished( KIO::Job* );
+ void deleteJobFinished( TDEIO::Job* );
void createFromCache( const Directory* );
signals:
diff --git a/src/part/radialMap/widgetEvents.cpp b/src/part/radialMap/widgetEvents.cpp
index ca75c2f..44214c1 100644
--- a/src/part/radialMap/widgetEvents.cpp
+++ b/src/part/radialMap/widgetEvents.cpp
@@ -211,9 +211,9 @@ RadialMap::Widget::mousePressEvent( TQMouseEvent *e )
TQString(), KGuiItem( i18n("&Delete"), "editdelete" ) );
if (userIntention == KMessageBox::Continue) {
- KIO::Job *job = KIO::del( url );
+ TDEIO::Job *job = TDEIO::del( url );
job->setWindow( this );
- connect( job, TQT_SIGNAL(result( KIO::Job* )), TQT_SLOT(deleteJobFinished( KIO::Job* )) );
+ connect( job, TQT_SIGNAL(result( TDEIO::Job* )), TQT_SLOT(deleteJobFinished( TDEIO::Job* )) );
TQApplication::setOverrideCursor( KCursor::workingCursor() );
}
}
@@ -246,7 +246,7 @@ RadialMap::Widget::mousePressEvent( TQMouseEvent *e )
}
void
-RadialMap::Widget::deleteJobFinished( KIO::Job *job )
+RadialMap::Widget::deleteJobFinished( TDEIO::Job *job )
{
TQApplication::restoreOverrideCursor();
if( !job->error() )
diff --git a/src/part/remoteLister.cpp b/src/part/remoteLister.cpp
index f18691a..834e9cd 100644
--- a/src/part/remoteLister.cpp
+++ b/src/part/remoteLister.cpp
@@ -70,7 +70,7 @@ namespace Filelight
setShowingDotFiles( true ); //stupid KDirLister API function names
setMainWindow( parent );
- //use TQT_SIGNAL(result(KIO::Job*)) instead and then use Job::error()
+ //use TQT_SIGNAL(result(TDEIO::Job*)) instead and then use Job::error()
connect( this, TQT_SIGNAL(completed()), TQT_SLOT(completed()) );
connect( this, TQT_SIGNAL(canceled()), TQT_SLOT(canceled()) );