Revision 30b1daf0
ID: 30b1daf02fb1bb85d00e12844b75add73483c374
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 <b.brachaczek@gmail.com>
Files
- added
- modified
- copied
- renamed
- deleted
- kadu-core
- avatars
- chat
- configuration
- contacts
- core
- gui
- icons
- languages-manager.cpp (diff)
- main.cpp (diff)
- main_unix.cpp (diff)
- main_win32.cpp (diff)
- misc
- CMakeLists.txt (diff)
- kadu-paths.cpp
- kadu-paths.h
- misc.h (diff)
- path-conversion.cpp
- path-conversion.h
- syntax-list.cpp (diff)
- plugins
- protocols
- themes
- themes.cpp (diff)
- plugins
- antistring
- auto_hide
- autoaway
- autoresponder
- autostatus
- cenzor
- config_wizard
- desktop_docking
- docking
- encryption_ng
- encryption_ng_simlite
- ext_sound
- filedesc
- firewall
- freedesktop_notify
- gadu_protocol
- hints
- hint-over-user-configuration-window.cpp (diff)
- hints-configuration-ui-handler.cpp (diff)
- hints-configuration-window.cpp (diff)
- hints-plugin.cpp (diff)
- history
- history_migration
- imagelink
- indicator_docking
- jabber_protocol
- last_seen
- mediaplayer
- mpd_mediaplayer
- mprisplayer_mediaplayer
- profiles_import
- qt4_docking_notify
- screenshot
- simpleview
- single_window
- sms
- sound
- speech
- spellchecker
- sql_history
- tabs
- word_fix