summaryrefslogtreecommitdiffstats
path: root/libkcal/tests/testresource.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'libkcal/tests/testresource.cpp')
-rw-r--r--libkcal/tests/testresource.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/libkcal/tests/testresource.cpp b/libkcal/tests/testresource.cpp
index b7f2f24c4..25c9e5d6c 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 )
{}