|
|
@ -1576,6 +1576,29 @@ public:
|
|
|
|
bool bPersistent = true, bool bGlobal = false,
|
|
|
|
bool bPersistent = true, bool bGlobal = false,
|
|
|
|
bool bNLS = false );
|
|
|
|
bool bNLS = false );
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
/**
|
|
|
|
|
|
|
|
* Writes a file path.
|
|
|
|
|
|
|
|
*
|
|
|
|
|
|
|
|
* It is checked whether the path is located under $HOME. If so the
|
|
|
|
|
|
|
|
* path is written out with the user's home-directory replaced with
|
|
|
|
|
|
|
|
* $HOME. The path should be read back with readPathEntry()
|
|
|
|
|
|
|
|
*
|
|
|
|
|
|
|
|
* @param pKey The key to write.
|
|
|
|
|
|
|
|
* @param path The path to write.
|
|
|
|
|
|
|
|
* @param bPersistent If @p bPersistent is false, the entry's dirty
|
|
|
|
|
|
|
|
* flag will not be set and thus the entry will not be written to
|
|
|
|
|
|
|
|
* disk at deletion time.
|
|
|
|
|
|
|
|
* @param bGlobal If @p bGlobal is true, the pair is not saved to the
|
|
|
|
|
|
|
|
* application specific config file, but to the global KDE config file.
|
|
|
|
|
|
|
|
* @param bNLS If @p bNLS is true, the locale tag is added to the key
|
|
|
|
|
|
|
|
* when writing it back.
|
|
|
|
|
|
|
|
* @param expand If @p expand is true, environment variables will be
|
|
|
|
|
|
|
|
* expanded on read.
|
|
|
|
|
|
|
|
*/
|
|
|
|
|
|
|
|
void writePathEntry( const char *pKey, const TQString & path,
|
|
|
|
|
|
|
|
bool bPersistent, bool bGlobal,
|
|
|
|
|
|
|
|
bool bNLS, bool expand );
|
|
|
|
|
|
|
|
|
|
|
|
/**
|
|
|
|
/**
|
|
|
|
* writePathEntry() overridden to accept a list of paths (strings).
|
|
|
|
* writePathEntry() overridden to accept a list of paths (strings).
|
|
|
|
*
|
|
|
|
*
|
|
|
|