summaryrefslogtreecommitdiffstats
path: root/kdat
diff options
context:
space:
mode:
authorTimothy Pearson <kb9vqf@pearsoncomputing.net>2013-01-25 00:28:32 -0600
committerTimothy Pearson <kb9vqf@pearsoncomputing.net>2013-01-25 00:28:32 -0600
commit555ea1c7f342582df2985a7c02e880174877526e (patch)
treeeeab8a68eb4f5b0689daada659450ffadc7f428b /kdat
parent5f444a9ea966b68991cef44d2711378ef9ff406d (diff)
downloadtdeadmin-555ea1c7f342582df2985a7c02e880174877526e.tar.gz
tdeadmin-555ea1c7f342582df2985a7c02e880174877526e.zip
Rename KCModule, KConfig, KIO, KServer, and KSocket to avoid conflicts with KDE4
Diffstat (limited to 'kdat')
-rw-r--r--kdat/KDatMainWindow.cpp4
-rw-r--r--kdat/KDatMainWindow.h4
-rw-r--r--kdat/Options.h4
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;