Go to the documentation of this file.00001
00002
00003
00004
00005
00006
00007
00008
00009
00010
00011
00012
00013
00014
00015
00016
00017
00018
00019
00020
00021
00022
00023
00024
00025
00026 #ifndef QXTNAMESPACE_H
00027 #define QXTNAMESPACE_H
00028
00029 #include <qxtglobal.h>
00030
00031
00042 #if defined BUILD_QXT | defined Q_MOC_RUN
00043 #include <QObject>
00044
00045 class QXT_CORE_EXPORT Qxt : public QObject
00046 {
00047 Q_OBJECT
00048 Q_ENUMS(Rotation)
00049 Q_ENUMS(DecorationStyle)
00050 Q_ENUMS(ErrorCode)
00051
00052
00053 public:
00054 #else
00055 namespace Qxt
00056 {
00057 #endif
00058
00059
00060
00061
00066 enum Rotation
00067 {
00068 NoRotation = 0,
00069 UpsideDown = 180,
00070 Clockwise = 90,
00071 CounterClockwise = 270
00072 };
00073
00080 enum DecorationStyle
00081 {
00082 NoDecoration,
00083 Buttonlike,
00084 Menulike
00085 };
00086
00087
00092 enum ErrorCode
00093 {
00094 NoError,
00095 UnknownError,
00096 LogicalError,
00097 Bug,
00098 UnexpectedEndOfFunction,
00099 NotImplemented,
00100 CodecError,
00101 NotInitialised,
00102 EndOfFile,
00103 FileIOError,
00104 FormatError,
00105 DeviceError,
00106 SDLError,
00107 InsufficientMemory,
00108 SeeErrorString,
00109 UnexpectedNullParameter,
00110 ClientTimeout,
00111 SocketIOError,
00112 ParserError,
00113 HeaderTooLong,
00114 Auth,
00115 Overflow
00117 };
00118
00123 enum QxtItemDataRole
00124 {
00125 ItemStartTimeRole = Qt::UserRole + 1,
00126 ItemDurationRole = ItemStartTimeRole + 1,
00127 UserRole = ItemDurationRole + 23
00128 };
00129
00133 enum Timeunit
00134 {
00135 Second,
00136 Minute,
00137 Hour,
00138 Day,
00139 Week,
00140 Month,
00141 Year
00142 };
00143
00144 };
00145
00146 #endif // QXTNAMESPACE_H