Logo Search packages:      
Sourcecode: kmess version File versions

void KMessApplication::initializePaths (  )  [private]

Initialize additional paths

Definition at line 181 of file kmessapplication.cpp.

Referenced by KMessApplication().

{
  // Add compile time paths as fallback
  KGlobal::dirs()       -> addPrefix( KMESS_PREFIX );
  KIconLoader::global() -> addAppDir( KMESS_PREFIX "/share" );

  // Test whether the prefix is correct.
  if( KGlobal::dirs()->findResource( "appdata", "pics/kmesspic.png" ).isNull() )
  {
    kWarning() << "KMess could not find resources in the search paths: "
               << KGlobal::dirs()->findDirs( "appdata", QString::null ).join(", ") << endl;
  }
}


Generated by  Doxygen 1.6.0   Back to index