summaryrefslogtreecommitdiffstats
path: root/knights/resource.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'knights/resource.cpp')
-rw-r--r--knights/resource.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/knights/resource.cpp b/knights/resource.cpp
index 4dfc022..48d3001 100644
--- a/knights/resource.cpp
+++ b/knights/resource.cpp
@@ -64,7 +64,7 @@ resource::resource(TDECmdLineArgs *args)
/* Define GlobalDataDir... This is very important! */
GlobalDataDir = args->getOption( "d" );
if( GlobalDataDir.isEmpty() )
- GlobalDataDir = KGlobal::dirs()->findResourceDir("data", "knights/splash.png") + "knights/";
+ GlobalDataDir = TDEGlobal::dirs()->findResourceDir("data", "knights/splash.png") + "knights/";
if( GlobalDataDir.isEmpty() )
{
kdWarning() << "resource::resource: Can not read GlobalDataDir from environment." << endl;
@@ -97,7 +97,7 @@ resource::~resource()
delete myAccel;
/* Remove temp files that we missed
- TQStringList temps = KGlobal::dirs()->findAllResources("tmp","knights*");
+ TQStringList temps = TDEGlobal::dirs()->findAllResources("tmp","knights*");
for( int a=0; a < temps.count(); a++)
{
KIO::NetAccess::del( "file://" + temps[a] );
@@ -869,7 +869,7 @@ void resource::WriteColors( void )
///////////////////////////////////////
void resource::ReadFonts( void )
{
- TQFont Fixed = KGlobalSettings::fixedFont();
+ TQFont Fixed = TDEGlobalSettings::fixedFont();
CFG->setGroup( "Fonts" );
FONT_Standard = CFG->readFontEntry( "StandardFont", &Fixed );
FONT_PrivateTell = CFG->readFontEntry( "PrivateFont", &Fixed );