Make context title and summary changeable (#329)
* Make context title and summary changeable Closes #30 * Fix checkboxes on context settings page So...I am new to Qt, and I forgot that checkboxes can have a label. Duh. Fixed. * Put context settings in a different place * Put ReplaceMessage and ReplaceVariable in Utilities
This commit is contained in:
committed by
Jonas Kvinge
parent
a19ea8fdba
commit
079a559247
@@ -44,6 +44,8 @@
|
||||
#include <QXmlStreamReader>
|
||||
#include <QtEvents>
|
||||
|
||||
#include "core/song.h"
|
||||
|
||||
namespace Utilities {
|
||||
QString PrettyTime(int seconds);
|
||||
QString PrettyTimeDelta(int seconds);
|
||||
@@ -156,6 +158,9 @@ QString UnicodeToAscii(const QString &unicode);
|
||||
|
||||
QString MacAddress();
|
||||
|
||||
QString ReplaceMessage(const QString &message, const Song &song, const QString &newline);
|
||||
QString ReplaceVariable(const QString &variable, const Song &song, const QString &newline);
|
||||
|
||||
} // namespace
|
||||
|
||||
class ScopedWCharArray {
|
||||
|
||||
Reference in New Issue
Block a user