Commit Graph

12 Commits

Author SHA1 Message Date
AsamK
d4a36ed38b Make data and plugin directory configurable at compile time
e.g.:
$ qmake PREFIX=/usr/local
$ qmake LIB_DIR=/usr/lib64

A full recompile is necessary when changing the PREFIX!
2015-08-24 00:03:57 +02:00
csoler
59eb4205ac fixed typo in previous commit
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@8395 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2015-06-07 20:28:50 +00:00
csoler
eb383e4a29 added sounds to debian packaging rules and to executable
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@8394 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2015-06-07 20:23:38 +00:00
thunder2
24a07702f2 Some more optimizations of SoundManager
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@8392 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2015-06-07 17:35:58 +00:00
thunder2
acfa384f7f - Added default sounds (on first start and a new button in sound settings)
- Added new sound files
- Optimized SoundManager
- Saved relative path to sound file for portable version
- Updated english translation


git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@8391 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2015-06-07 12:40:25 +00:00
thunder2
f10f029d45 Code maintenance for Qt 5:
- Added usage of QUrlQuery
- Removed QSound::isAvailable()
- Changed Qt::escape() to QString::toHtmlEscaped()
- Changed QAbstractItemModel::setSupportedDragActions() to virtual QAbstractItemModel::supportedDragActions()

git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@6851 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2013-10-19 20:59:55 +00:00
thunder2
232af8e71e Changed SoundManger to allow the plugins to play sounds.
Added example to VOIP (commented out).

git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@5709 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2012-10-21 21:38:55 +00:00
thunder2
3cba51abf4 Reworked SoundManager and SoundPage in the settings.
Added new icon in the statusbar to switch off the sound.

git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@4832 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2012-01-22 22:58:23 +00:00
thunder2
569ac25843 cleaned include files
- removed some dependencies between other header files
- removed many includes of <QtGui> and replaced it with only needed files

git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@3312 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2010-07-23 18:52:58 +00:00
thunder2
6baf56285b reworked settings
now there is only one global object for loading and saving settings

RshareSettings *Settings;

the class RSettings can be used too, but it is not prefered, because the default settings has no affect

git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@2964 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2010-05-20 21:53:27 +00:00
thunder2
0c46da0dd2 Changed settings to local variable, no more as pointer on all classes.
RshareSettings settings;
settings.value(...);

It should lower memory usage and removes memory leaks.

git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@2886 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2010-05-11 20:02:52 +00:00
defnax
8a1ae827b9 Added SoundDialog for Preferences which uses QSound supports wav files, where can set wav files.
Added SoundManager for the events, at the moment there is no connect for a event to use it.


git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@1386 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2009-07-17 11:21:40 +00:00