summaryrefslogtreecommitdiffstats
path: root/libkcal/tests
diff options
context:
space:
mode:
Diffstat (limited to 'libkcal/tests')
-rw-r--r--libkcal/tests/testresource.cpp6
-rw-r--r--libkcal/tests/testresource.h6
2 files changed, 6 insertions, 6 deletions
diff --git a/libkcal/tests/testresource.cpp b/libkcal/tests/testresource.cpp
index b7f2f24c..25c9e5d6 100644
--- a/libkcal/tests/testresource.cpp
+++ b/libkcal/tests/testresource.cpp
@@ -68,9 +68,9 @@ int main(int argc, char *argv[])
TQString type = TQString();
if ( args->getOption( "resource" ) )
type = TQString::fromLocal8Bit( args->getOption( "resource" ) );
- KConfig *config = 0;
+ TDEConfig *config = 0;
if ( args->getOption( "configfile" ) )
- config = new KConfig( KURL( args->getOption( "configfile" ) ).url() );
+ config = new TDEConfig( KURL( args->getOption( "configfile" ) ).url() );
kdDebug() << KURL( args->getOption( "configfile" ) ).url() << endl;
KCal::TestResource test( type, config );
test.setup();
@@ -82,7 +82,7 @@ int main(int argc, char *argv[])
namespace KCal {
-TestResource::TestResource( const TQString &type, KConfig *config )
+TestResource::TestResource( const TQString &type, TDEConfig *config )
:m_resource_type( type ), m_config( config ), m_res( 0 )
{}
diff --git a/libkcal/tests/testresource.h b/libkcal/tests/testresource.h
index f6d7fc12..4d17c7b4 100644
--- a/libkcal/tests/testresource.h
+++ b/libkcal/tests/testresource.h
@@ -20,7 +20,7 @@
#define TESTRESOURCE_H
#include <tqobject.h>
-class KConfig;
+class TDEConfig;
namespace KCal {
@@ -32,7 +32,7 @@ class TestResource : public TQObject
public:
- TestResource( const TQString& type, KConfig *config );
+ TestResource( const TQString& type, TDEConfig *config );
void setup();
void runAll();
void cleanup();
@@ -49,7 +49,7 @@ public:
private:
bool check(const TQString& txt, TQString a, TQString b);
TQString m_resource_type;
- KConfig *m_config;
+ TDEConfig *m_config;
ResourceCalendar *m_res;
};
}