X-Git-Url: https://git.quassel-irc.org/?p=quassel.git;a=blobdiff_plain;f=src%2Fcontrib%2Flibqxt-2007-10-24%2Fsrc%2Fcore%2Fqxtnamespace.h;fp=src%2Fcontrib%2Flibqxt-2007-10-24%2Fsrc%2Fcore%2Fqxtnamespace.h;h=0000000000000000000000000000000000000000;hp=c252b678041ad9611a4a20c3f50ef1bd9199c67f;hb=140d8a132103d2fa9baf55036e09b165624de167;hpb=97d674034551438238c568e8b42efb08e1ba7354 diff --git a/src/contrib/libqxt-2007-10-24/src/core/qxtnamespace.h b/src/contrib/libqxt-2007-10-24/src/core/qxtnamespace.h deleted file mode 100644 index c252b678..00000000 --- a/src/contrib/libqxt-2007-10-24/src/core/qxtnamespace.h +++ /dev/null @@ -1,121 +0,0 @@ -/**************************************************************************** -** -** Copyright (C) Qxt Foundation. Some rights reserved. -** -** This file is part of the QxtCore module of the Qt eXTension library -** -** This library is free software; you can redistribute it and/or modify it -** under the terms of th Common Public License, version 1.0, as published by -** IBM. -** -** This file is provided "AS IS", without WARRANTIES OR CONDITIONS OF ANY -** KIND, EITHER EXPRESS OR IMPLIED INCLUDING, WITHOUT LIMITATION, ANY -** WARRANTIES OR CONDITIONS OF TITLE, NON-INFRINGEMENT, MERCHANTABILITY OR -** FITNESS FOR A PARTICULAR PURPOSE. -** -** You should have received a copy of the CPL along with this file. -** See the LICENSE file and the cpl1.0.txt file included with the source -** distribution for more information. If you did not receive a copy of the -** license, contact the Qxt Foundation. -** -** -** -****************************************************************************/ - -#ifndef QXTNAMSPACE_GUARD_H -#define QXTNAMSPACE_GUARD_H - -#include - - -/** - \namespace Qxt - \ingroup QxtCore - \brief The Qxt Namespace - - The Qxt Namespace - -*/ - - -#if defined BUILD_QXT | defined Q_MOC_RUN -#include - -class QXT_CORE_EXPORT Qxt : public QObject -{ - Q_OBJECT - Q_ENUMS(Rotation) - Q_ENUMS(DecorationStyle) - Q_ENUMS(ErrorCode) - - -public: -#else -namespace Qxt -{ -#endif - - - - - /*! - \enum Qxt::Rotation - This enum describes the rotation. - */ - enum Rotation - { - NoRotation = 0, /*!< No rotation. */ - UpsideDown = 180, /*!< Upside down (180 degrees). */ - Clockwise = 90, /*!< Clockwise (90 degrees). */ - CounterClockwise = 270 /*!< CounterClockwise (-90 degrees). */ - }; - - /*! - \enum Qxt::DecorationStyle - - This enum describes the decoration style. - */ - - enum DecorationStyle - { - NoDecoration, /*!< No decoration */ - Buttonlike, /*!< A style like in Qt Designer's Widget Box. */ - Menulike /*!< A menu alike style. */ - }; - - - /*! - \enum Qxt::ErrorCode - The error Code dropped by QxtError - */ - enum ErrorCode - { - NoError, /*!< everything fine */ - UnknownError, /*!< a not defined error */ - LogicalError, /*!< something happened that makes no sense (e.g. you tryed to compare apples and bananas) */ - Bug, /*!< that should not happen. please report any ocurence of it. */ - UnexpectedEndOfFunction, /*!< suddenly the function returned where it should not. please report this behaiviour */ - NotImplemented, /*!< the feature you requested has not been implemented for this situation. this could also mean you are trying to compare apples and bananas. */ - CodecError, /*!< Something went wrong with some codec. Please check if your codec is supported */ - NotInitialised, /*!< Somone tryed to call a function of an object that needs to be start() ed or something like it. */ - EndOfFile, /*!< The end of the Input has been reached. There is no more data. */ - FileIOError, /*!< File Input/Output Error*/ - FormatError, /*!< The Format of the input is corupted or not supported. */ //10 - DeviceError, /*!< The Device of the Computer reported failure or we are not able to comunicate with it.*/ - SDLError, /*!< SDL reported an error */ - InsufficientMemory, /*!< Not enough memory to perform the action. */ - SeeErrorString, /*!< The Error has no definition here, but the Error String should tell you more. This is mostly used for third party errors. */ - UnexpectedNullParameter, /*!< NULL was passed where it shouldn't. */ - ClientTimeout, /*!< The Client didn't answer within the expected time rang. */ - SocketIOError, /*!< Socket Input/Output Error*/ - ParserError, /*!< Unable to parse the requested string or file.*/ - HeaderTooLong, /*!< The Header that was passed for parsing was too long.*/ - Auth, /*!< Authentification failed.*/ - Overflow /*!< Overflow protection triggered.*/ - - }; - -}; - -#endif -