X-Git-Url: https://git.quassel-irc.org/?a=blobdiff_plain;f=src%2Fqtui%2Fchatviewsettings.h;h=e41d506040f3befbe0f87d3cea3dafa002cbc668;hb=a68f24405ab12b3251984e4b84628808acec11cd;hp=2398f77b68bb19d8268587acc4b00e3b50450d06;hpb=77397f5e999830077fee13187c6a1ee044d92545;p=quassel.git diff --git a/src/qtui/chatviewsettings.h b/src/qtui/chatviewsettings.h index 2398f77b..e41d5060 100644 --- a/src/qtui/chatviewsettings.h +++ b/src/qtui/chatviewsettings.h @@ -1,5 +1,5 @@ /*************************************************************************** - * Copyright (C) 2005-08 by the Quassel Project * + * Copyright (C) 2005-09 by the Quassel Project * * devel@quassel-irc.org * * * * This program is free software; you can redistribute it and/or modify * @@ -43,6 +43,9 @@ public: inline bool showWebPreview() { return localValue("ShowWebPreview", true).toBool(); } inline void enableWebPreview(bool enabled) { setLocalValue("ShowWebPreview", enabled); } + + inline QString timestampFormatString() { return localValue("TimestampFormat", "[hh:mm:ss]").toString(); } + inline void setTimestampFormatString(const QString &format) { setLocalValue("TimestampFormat", format); } }; Q_DECLARE_METATYPE(ChatViewSettings::OperationMode); #endif //CHATVIEWSETTINGS_H