diff options
Diffstat (limited to 'kdat')
-rw-r--r-- | kdat/KDatMainWindow.cpp | 4 | ||||
-rw-r--r-- | kdat/KDatMainWindow.h | 4 | ||||
-rw-r--r-- | kdat/Options.h | 4 |
3 files changed, 6 insertions, 6 deletions
diff --git a/kdat/KDatMainWindow.cpp b/kdat/KDatMainWindow.cpp index 343652a..37d1715 100644 --- a/kdat/KDatMainWindow.cpp +++ b/kdat/KDatMainWindow.cpp @@ -1309,14 +1309,14 @@ void KDatMainWindow::configureUI( Tape* tape ) _fileMenu->setItemEnabled( _fileMenu->idAt( 10 ), TapeManager::instance()->getMountedTape() && !TapeDrive::instance()->isReadOnly() ); } -void KDatMainWindow::readProperties( KConfig* config ) +void KDatMainWindow::readProperties( TDEConfig* config ) { TQValueList<int> sizes; sizes << config->readNumEntry( "panner", 50 ); _panner->setSizes( sizes ); } -void KDatMainWindow::saveProperties( KConfig* config ) +void KDatMainWindow::saveProperties( TDEConfig* config ) { config->writeEntry( "panner", _panner->sizes().first()); } diff --git a/kdat/KDatMainWindow.h b/kdat/KDatMainWindow.h index 9f7d46f..76ae941 100644 --- a/kdat/KDatMainWindow.h +++ b/kdat/KDatMainWindow.h @@ -133,8 +133,8 @@ private slots: // 2002-01-24 LEW protected: - virtual void readProperties( KConfig* config ); - virtual void saveProperties( KConfig* config ); + virtual void readProperties( TDEConfig* config ); + virtual void saveProperties( TDEConfig* config ); public: /** diff --git a/kdat/Options.h b/kdat/Options.h index 522abd8..7543897 100644 --- a/kdat/Options.h +++ b/kdat/Options.h @@ -21,7 +21,7 @@ #include <tqobject.h> -class KConfig; +class TDEConfig; /** * @short The central repository for user preferences. @@ -29,7 +29,7 @@ class KConfig; class Options : public TQObject { Q_OBJECT - KConfig* _config; + TDEConfig* _config; int _defaultTapeSize; int _tapeBlockSize; TQString _tapeDevice; |