Provide Quassel::configDirPath() and Quassel::findDataFilePath()
authorManuel Nickschas <sputnick@quassel-irc.org>
Sat, 17 Jan 2009 00:18:43 +0000 (01:18 +0100)
committerManuel Nickschas <sputnick@quassel-irc.org>
Tue, 20 Jan 2009 21:07:48 +0000 (22:07 +0100)
commit176fd53453c51debbb963dee303e8853577aaac4
tree34fbe8a7707f738ef51da6c765231073f776b688
parentbefb959043f1acc297609fac40df728b98ed7e28
Provide Quassel::configDirPath() and Quassel::findDataFilePath()

These functions are about to obsolete their pendants in util.cpp. With KDE integration
enabled, data files will (only) be looked for in KDE's data directories rather than XDG.
This is in preparation of build system changes that will install stuff into KDE's dirs.
Still lacks some stuff to work properly on Win and Mac, I guess.

Instead of --datadir, use --configdir now. We'll move all user files in one location soon.
src/common/main.cpp
src/common/quassel.cpp
src/common/quassel.h
src/qtui/qtuiapplication.cpp