misc: New KaduPaths class which replaces old path-conversion global functions
Small guide how to update Kadu <=0.11-compatible code:
- Replace homePath() calls with KaduPaths::homePath().
- Replace webKitPath(path) calls with KaduPaths::webKitPath(path).
- Replace desktopFilePath() calls with KaduPaths::instance()->desktopFilePath().
- Replace dataPath("kadu/path") calls as well as dataPath() + "kadu/path"
and other variants with
KaduPaths::instance()->dataPath() + QLatin1String("path").
- Replace libPath("kadu/plugins/path") calls as well as
libPath() + "kadu/plugins/path" and other variants with
KaduPaths::instance()->pluginsLibPath() + QLatin1String("path").
- Replace profilePath("path") calls with
KaduPaths::instance()->profilePath() + QLatin1String("path").
Signed-off-by: Bartosz Brachaczek <firstname.lastname@example.org>
- chat-styles-manager.cpp (diff)
- languages-manager.cpp (diff)
- main.cpp (diff)
- main_unix.cpp (diff)
- main_win32.cpp (diff)
- CMakeLists.txt (diff)
- misc.h (diff)
- syntax-list.cpp (diff)
- themes.cpp (diff)
- encryption-ng-configuration-ui-handler.cpp (diff)
- encryption-ng-plugin.cpp (diff)
- freedesktop-notify-plugin.cpp (diff)
- freedesktop-notify.cpp (diff)
- hint-over-user-configuration-window.cpp (diff)
- hints-configuration-ui-handler.cpp (diff)
- hints-configuration-window.cpp (diff)
- hints-plugin.cpp (diff)
- jabber-protocol-plugin.cpp (diff)
- sms-configuration-ui-handler.cpp (diff)
- sms-gateway-query.cpp (diff)