diff options
Diffstat (limited to 'karbon')
-rw-r--r-- | karbon/karbon_factory.cc | 10 | ||||
-rw-r--r-- | karbon/karbon_resourceserver.cc | 2 |
2 files changed, 6 insertions, 6 deletions
diff --git a/karbon/karbon_factory.cc b/karbon/karbon_factory.cc index 67ffb0bd..f7e3dc07 100644 --- a/karbon/karbon_factory.cc +++ b/karbon/karbon_factory.cc @@ -112,17 +112,17 @@ KarbonFactory::instance() // Add any application-specific resource directories here s_instance->dirs()->addResourceType( "kis_brushes", - KStandardDirs::kde_default( "data" ) + "chalk/brushes/" ); + TDEStandardDirs::kde_default( "data" ) + "chalk/brushes/" ); s_instance->dirs()->addResourceType( "kis_pattern", - KStandardDirs::kde_default( "data" ) + "chalk/patterns/" ); + TDEStandardDirs::kde_default( "data" ) + "chalk/patterns/" ); s_instance->dirs()->addResourceType( "karbon_gradient", - KStandardDirs::kde_default( "data" ) + "karbon/gradients/" ); + TDEStandardDirs::kde_default( "data" ) + "karbon/gradients/" ); s_instance->dirs()->addResourceType( "karbon_clipart", - KStandardDirs::kde_default( "data" ) + "karbon/cliparts/" ); - s_instance->dirs()->addResourceType( "karbon_template", KStandardDirs::kde_default("data") + "karbon/templates/" ); + TDEStandardDirs::kde_default( "data" ) + "karbon/cliparts/" ); + s_instance->dirs()->addResourceType( "karbon_template", TDEStandardDirs::kde_default("data") + "karbon/templates/" ); // Tell the iconloader about share/apps/koffice/icons s_instance->iconLoader()->addAppDir("koffice"); } diff --git a/karbon/karbon_resourceserver.cc b/karbon/karbon_resourceserver.cc index 3e96adcf..92c94fdf 100644 --- a/karbon/karbon_resourceserver.cc +++ b/karbon/karbon_resourceserver.cc @@ -378,7 +378,7 @@ KarbonResourceServer::addClipart( VObject* clipart, double width, double height char buffer[ 20 ]; sprintf( buffer, "%04d.kclp", i++ ); - while( KStandardDirs::exists( KarbonFactory::instance()->dirs()->saveLocation( "karbon_clipart" ) + buffer ) ) + while( TDEStandardDirs::exists( KarbonFactory::instance()->dirs()->saveLocation( "karbon_clipart" ) + buffer ) ) sprintf( buffer, "%04d.kclp", i++ ); TQString filename = KarbonFactory::instance()->dirs()->saveLocation( "karbon_clipart" ) + buffer; |