KNewStuff
atticahelper.cpp
Go to the documentation of this file.
38 connect(&providerManager, SIGNAL(defaultProvidersLoaded()), this, SLOT(defaultProvidersLoaded()));
82 connect(checkLoginJob, SIGNAL(finished(Attica::BaseJob*)), this, SLOT(checkLoginFinished(Attica::BaseJob*)));
111 connect(job, SIGNAL(finished(Attica::BaseJob*)), this, SLOT(categoriesLoaded(Attica::BaseJob*)));
117 Attica::ListJob<Attica::Category>* listJob = static_cast<Attica::ListJob<Attica::Category>*>(baseJob);
138 Attica::ListJob<Attica::Content>* userContent = currentProvider.searchContentsByPerson(m_validCategories, m_username);
139 connect(userContent, SIGNAL(finished(Attica::BaseJob*)), this, SLOT(contentByCurrentUserLoaded(Attica::BaseJob*)));
145 Attica::ListJob<Attica::Content>* contentList = static_cast<Attica::ListJob<Attica::Content>*>(baseJob);
153 connect(licenseJob, SIGNAL(finished(Attica::BaseJob*)), this, SLOT(licensesLoaded(Attica::BaseJob*)));
159 Attica::ListJob<Attica::License>* licenseList = static_cast<Attica::ListJob<Attica::License>*>(baseJob);
167 connect(contentJob, SIGNAL(finished(Attica::BaseJob*)), this, SLOT(detailsLinkLoaded(Attica::BaseJob*)));
173 Attica::ItemJob<Attica::Content>* contentItemJob = static_cast<Attica::ItemJob<Attica::Content>* >(baseJob);
182 connect(contentJob, SIGNAL(finished(Attica::BaseJob*)), this, SLOT(contentLoaded(Attica::BaseJob*)));
196 Attica::ItemJob<Attica::AccountBalance>* balanceJob = static_cast<Attica::ItemJob<Attica::AccountBalance>* >(baseJob);
203 Attica::ItemJob<Attica::Content>* contentItemJob = static_cast<Attica::ItemJob<Attica::Content>* >(baseJob);
213 connect(m_previewJob[previewNum-1], SIGNAL(data(KIO::Job*,QByteArray)), SLOT(slotPreviewData(KIO::Job*,QByteArray)));
bool loadFromData(const uchar *data, int len, const char *format)
void addProviderFile(const QUrl &file)
Definition: atticahelper.cpp:42
void clear()
void detailsLinkLoaded(const QUrl &)
static void setJobPriority(SimpleJob *job, int priority)
void licensesLoaded(const Attica::License::List &)
bool contains(const QString &str, Qt::CaseSensitivity cs) const
TransferJob * get(const KUrl &url, LoadType reload=NoReload, JobFlags flags=DefaultFlags)
void loadContent(const QString &contentId)
Definition: atticahelper.cpp:179
bool isEmpty() const
const char * name() const
QString number(int n, int base)
void append(const T &value)
bool isEmpty() const
bool saveCredentials(const QString &name, const QString &password)
Definition: atticahelper.cpp:102
void loadDetailsLink(const QString &contentId)
Definition: atticahelper.cpp:164
bool loadCredentials(QString &name, QString &password)
Definition: atticahelper.cpp:91
void previewLoaded(int index, const QImage &image)
void loginChecked(bool)
QByteArray & append(char ch)
void loadContentByCurrentUser()
Definition: atticahelper.cpp:135
void checkLogin(const QString &name, const QString &password)
Definition: atticahelper.cpp:79
void categoriesLoaded(Attica::Category::List)
void setCurrentProvider(const QString &provider)
Definition: atticahelper.cpp:64
void currencyLoaded(const QString &)
void loadCategories(const QStringList &configuredCategories)
Definition: atticahelper.cpp:107
static QDebug kWarning(bool cond, int area=KDE_DEFAULT_DEBUG_AREA)
void providersLoaded(const QStringList &)
bool connect(const QObject *sender, const char *signal, const QObject *receiver, const char *method, Qt::ConnectionType type)
void contentLoaded(const Attica::Content &)
void contentByCurrentUserLoaded(const Attica::Content::List &)
This file is part of the KDE documentation.
Documentation copyright © 1996-2020 The KDE developers.
Generated on Mon Jun 22 2020 13:25:43 by doxygen 1.8.7 written by Dimitri van Heesch, © 1997-2006
Documentation copyright © 1996-2020 The KDE developers.
Generated on Mon Jun 22 2020 13:25:43 by doxygen 1.8.7 written by Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.