Main Page | Namespace List | Class Hierarchy | Alphabetical List | Class List | Directories | File List | Namespace Members | Class Members | File Members | Related Pages

kstandarddirs.cpp

Go to the documentation of this file.
00001 #include "kdebug.h"
00002 
00003 #include "kstandarddirs.h"
00004 
00005 QString KStandardDirs::mAppDir = QString::null;
00006 
00007 QString locate( const char *type, const QString& filename )
00008 {
00009   QString path = KStandardDirs::appDir() + type + "_" + filename;
00010 
00011   kdDebug() << "locate: '" << path << "'" << endl;
00012 
00013   return path;
00014 }
00015 
00016 QString locateLocal( const char *type, const QString& filename )
00017 {
00018   return locate( type, filename );
00019 }
00020 
00021 QStringList KStandardDirs::findAllResources( const QString &, const QString &, bool, bool)
00022 {
00023   QStringList list;
00024   list.append("/cpp.xml");
00025   return list;
00026 //  return QStringList();
00027 }
00028 
00029 QString KStandardDirs::findResourceDir( const QString &, const QString & )
00030 {
00031   return QString::null;
00032 }
00033 
00034 void KStandardDirs::setAppDir( const QString &appDir )
00035 {
00036   mAppDir = appDir;
00037 
00038   if ( mAppDir.right( 1 ) != "/" ) mAppDir += "/";
00039 }

Generated on Sat Nov 5 16:17:12 2005 for OPIE by  doxygen 1.4.2