atticautils.h   atticautils.h 
skipping to change at line 27 skipping to change at line 27
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
Lesser General Public License for more details. Lesser General Public License for more details.
You should have received a copy of the GNU Lesser General Public You should have received a copy of the GNU Lesser General Public
License along with this library. If not, see <http://www.gnu.org/licen ses/>. License along with this library. If not, see <http://www.gnu.org/licen ses/>.
*/ */
#ifndef ATTICAUTILS_H #ifndef ATTICAUTILS_H
#define ATTICAUTILS_H #define ATTICAUTILS_H
#include <QDateTime> #include <QtCore/QDateTime>
#include <QString> #include <QtCore/QString>
namespace Attica { namespace Attica {
class Utils { class Utils {
public: public:
/// parses the QtDateTime in ISO 8601 format correctly (recognizes TZ p roperly) /// parses the QtDateTime in ISO 8601 format correctly (recognizes TZ p roperly)
static QDateTime parseQtDateTimeIso8601(const QString & str); static QDateTime parseQtDateTimeIso8601(const QString & str);
}; };
} }
 End of changes. 1 change blocks. 
2 lines changed or deleted 2 lines changed or added


 platformdependent.h   platformdependent.h 
skipping to change at line 63 skipping to change at line 63
virtual void enableProvider(const QUrl& baseUrl, bool enabled) const = 0; virtual void enableProvider(const QUrl& baseUrl, bool enabled) const = 0;
virtual bool isEnabled(const QUrl& baseUrl) const = 0; virtual bool isEnabled(const QUrl& baseUrl) const = 0;
virtual bool hasCredentials(const QUrl& baseUrl) const = 0; virtual bool hasCredentials(const QUrl& baseUrl) const = 0;
virtual bool loadCredentials(const QUrl& baseUrl, QString& user, QStrin g& password) = 0; virtual bool loadCredentials(const QUrl& baseUrl, QString& user, QStrin g& password) = 0;
virtual bool askForCredentials(const QUrl& baseUrl, QString& user, QStr ing& password) = 0; virtual bool askForCredentials(const QUrl& baseUrl, QString& user, QStr ing& password) = 0;
virtual bool saveCredentials(const QUrl& baseUrl, const QString& user, const QString& password) = 0; virtual bool saveCredentials(const QUrl& baseUrl, const QString& user, const QString& password) = 0;
virtual QNetworkReply* get(const QNetworkRequest& request) = 0; virtual QNetworkReply* get(const QNetworkRequest& request) = 0;
virtual QNetworkReply* post(const QNetworkRequest& request, QIODevice* data) = 0; virtual QNetworkReply* post(const QNetworkRequest& request, QIODevice* data) = 0;
virtual QNetworkReply* post(const QNetworkRequest& request, const QByte Array& data) = 0; virtual QNetworkReply* post(const QNetworkRequest& request, const QByte Array& data) = 0;
virtual void setNam(QNetworkAccessManager* nam) {}
virtual QNetworkAccessManager* nam() = 0; virtual QNetworkAccessManager* nam() = 0;
}; };
} }
Q_DECLARE_INTERFACE(Attica::PlatformDependent, "org.kde.Attica.Internals/1. 2") Q_DECLARE_INTERFACE(Attica::PlatformDependent, "org.kde.Attica.Internals/1. 2")
#endif #endif
 End of changes. 1 change blocks. 
0 lines changed or deleted 1 lines changed or added


 provider.h   provider.h 
skipping to change at line 130 skipping to change at line 130
/** /**
Test if the provider is enabled by the settings. Test if the provider is enabled by the settings.
The application can choose to ignore this, but the user settings should be respected. The application can choose to ignore this, but the user settings should be respected.
*/ */
bool isEnabled() const; bool isEnabled() const;
void setEnabled(bool enabled); void setEnabled(bool enabled);
/** /**
A url that identifies this provider. A url that identifies this provider.
This should be used as identifier when refering to this provider but yo u don't want to use the full provider object. This should be used as identifier when referring to this provider but y ou don't want to use the full provider object.
*/ */
QUrl baseUrl() const; QUrl baseUrl() const;
/** /**
A name for the provider that can be displayed to the user A name for the provider that can be displayed to the user
*/ */
QString name() const; QString name() const;
enum SortMode { enum SortMode {
Newest, Newest,
 End of changes. 1 change blocks. 
1 lines changed or deleted 1 lines changed or added


 providermanager.h   providermanager.h 
skipping to change at line 57 skipping to change at line 57
provider file example provider file example
* </pre> * </pre>
* *
* Once you have loaded a Provider, use its functions to access the service . * Once you have loaded a Provider, use its functions to access the service .
*/ */
class ATTICA_EXPORT ProviderManager : public QObject class ATTICA_EXPORT ProviderManager : public QObject
{ {
Q_OBJECT Q_OBJECT
public: public:
ProviderManager();
enum ProviderFlag {
NoFlags = 0x0,
DisablePlugins = 0x1
};
Q_DECLARE_FLAGS(ProviderFlags, ProviderFlag);
ProviderManager(const ProviderFlags& flags = NoFlags);
~ProviderManager(); ~ProviderManager();
/** /**
* Load available providers from configuration * Load available providers from configuration
*/ */
void loadDefaultProviders(); void loadDefaultProviders();
/** /**
* The list of provider files that get loaded by loadDefaultProviders. * The list of provider files that get loaded by loadDefaultProviders.
* Each of these files can contain multiple providers. * Each of these files can contain multiple providers.
skipping to change at line 140 skipping to change at line 147
void fileFinished(const QString& url); void fileFinished(const QString& url);
void authenticate(QNetworkReply*, QAuthenticator*); void authenticate(QNetworkReply*, QAuthenticator*);
void proxyAuthenticationRequired(const QNetworkProxy& proxy, QAuthentic ator* authenticator); void proxyAuthenticationRequired(const QNetworkProxy& proxy, QAuthentic ator* authenticator);
void slotLoadDefaultProvidersInternal(); void slotLoadDefaultProvidersInternal();
private: private:
ProviderManager(const ProviderManager& other); ProviderManager(const ProviderManager& other);
ProviderManager& operator=(const ProviderManager& other); ProviderManager& operator=(const ProviderManager& other);
void initNetworkAccesssManager(); void initNetworkAccesssManager();
PlatformDependent* loadPlatformDependent(); PlatformDependent* loadPlatformDependent(const ProviderFlags& flags);
void parseProviderFile(const QString& xmlString, const QString& url); void parseProviderFile(const QString& xmlString, const QString& url);
class Private; class Private;
Private* const d; Private* const d;
}; };
} }
Q_DECLARE_OPERATORS_FOR_FLAGS( Attica::ProviderManager::ProviderFlags )
#endif #endif
 End of changes. 3 change blocks. 
2 lines changed or deleted 11 lines changed or added


 publisherfield.h   publisherfield.h 
/*
This file is part of KDE.
Copyright (c) 2011 Dan Leinir Turthra Jensen <admin@leinir.dk>
This library is free software; you can redistribute it and/or
modify it under the terms of the GNU Lesser General Public
License as published by the Free Software Foundation; either
version 2.1 of the License, or (at your option) version 3, or any
later version accepted by the membership of KDE e.V. (or its
successor approved by the membership of KDE e.V.), which shall
act as a proxy defined in Section 6 of version 3 of the license.
This library is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
Lesser General Public License for more details.
You should have received a copy of the GNU Lesser General Public
License along with this library. If not, see <http://www.gnu.org/licen
ses/>.
*/
#ifndef PUBLISHERFIELD_H #ifndef PUBLISHERFIELD_H
#define PUBLISHERFIELD_H #define PUBLISHERFIELD_H
#include "buildservice.h" #include "buildservice.h"
#include "atticaclient_export.h" #include "atticaclient_export.h"
namespace Attica { namespace Attica {
class ATTICA_EXPORT PublisherField class ATTICA_EXPORT PublisherField
{ {
 End of changes. 1 change blocks. 
0 lines changed or deleted 24 lines changed or added


 version.h   version.h 
skipping to change at line 27 skipping to change at line 27
* the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, * the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor,
* Boston, MA 02110-1301, USA. * Boston, MA 02110-1301, USA.
*/ */
#ifndef _ATTICA_VERSION_H_ #ifndef _ATTICA_VERSION_H_
#define _ATTICA_VERSION_H_ #define _ATTICA_VERSION_H_
#include "atticaclient_export.h" #include "atticaclient_export.h"
/// @brief Attica version as string at compile time. /// @brief Attica version as string at compile time.
#define LIBATTICA_VERSION_STRING "0.3.0" #define LIBATTICA_VERSION_STRING "0.4.0"
/// @brief The major Attica version number at compile time /// @brief The major Attica version number at compile time
#define LIBATTICA_VERSION_MAJOR 0 #define LIBATTICA_VERSION_MAJOR 0
/// @brief The minor Attica version number at compile time /// @brief The minor Attica version number at compile time
#define LIBATTICA_VERSION_MINOR 3 #define LIBATTICA_VERSION_MINOR 4
/// @brief The Attica release version number at compile time /// @brief The Attica release version number at compile time
#define LIBATTICA_VERSION_RELEASE #define LIBATTICA_VERSION_RELEASE
/** /**
* \brief Create a unique number from the major, minor and release number o f a %Attica version * \brief Create a unique number from the major, minor and release number o f a %Attica version
* *
* This function can be used for preprocessing. For version information at runtime * This function can be used for preprocessing. For version information at runtime
* use the version methods in the Attica namespace. * use the version methods in the Attica namespace.
*/ */
 End of changes. 2 change blocks. 
2 lines changed or deleted 2 lines changed or added

This html diff was produced by rfcdiff 1.41. The latest version is available from http://tools.ietf.org/tools/rfcdiff/