X-Git-Url: https://git.quassel-irc.org/?a=blobdiff_plain;f=src%2Fuisupport%2Fuistyle.h;h=661e02577ece14a776101c0392297f6b6c3dfc8e;hb=4e43a17088e8ff76c220bd8b4ebf37d9dbb4863a;hp=6ea9fa8cea910eadc0d75d67a3d5d2f12c1d3471;hpb=670e7d401aae1196c0a24c59f96d267a8eb9d1bb;p=quassel.git diff --git a/src/uisupport/uistyle.h b/src/uisupport/uistyle.h index 6ea9fa8c..661e0257 100644 --- a/src/uisupport/uistyle.h +++ b/src/uisupport/uistyle.h @@ -166,11 +166,7 @@ public: }; /// Display of sender prefix modes -#if QT_VERSION >= 0x050000 enum class SenderPrefixMode { -#else - enum SenderPrefixMode { -#endif NoModes = 0, ///< Hide sender modes HighestMode = 1, ///< Show the highest active sender mode AllModes = 2 ///< Show all active sender modes @@ -300,8 +296,8 @@ protected: /** * Cache the system locale timestamp format string * - * Based on whether or not AM/PM designators are used in the QLocale::system().timeFormat(), - * this extends the system locale timestamp format string to include seconds. + * Based on whether or not AM/PM designators are used in the QLocale.timeFormat(), this extends + * the application locale timestamp format string to include seconds. * * @see UiStyle::systemTimestampFormatString() */ @@ -393,11 +389,7 @@ private: mutable quint8 _senderHash; }; -#if QT_VERSION < 0x050000 -uint qHash(UiStyle::ItemFormatType key); -#else uint qHash(UiStyle::ItemFormatType key, uint seed); -#endif // ---- Operators for dealing with enums ----------------------------------------------------------