File indexing completed on 2024-05-05 04:57:13

0001 /*
0002     This file is part of Choqok, the KDE micro-blogging client
0003 
0004     SPDX-FileCopyrightText: 2008-2012 Mehrdad Momeny <mehrdad.momeny@gmail.com>
0005 
0006     SPDX-License-Identifier: GPL-2.0-only OR GPL-3.0-only OR LicenseRef-KDE-Accepted-GPL
0007 */
0008 
0009 #ifndef GNUSOCIALAPIACCOUNT_H
0010 #define GNUSOCIALAPIACCOUNT_H
0011 
0012 #include "gnusocialapihelper_export.h"
0013 
0014 #include "twitterapiaccount.h"
0015 
0016 class GNUSocialApiMicroBlog;
0017 /**
0018 
0019 @author Mehrdad Momeny \<mehrdad.momeny@gmail.com\>
0020 */
0021 class GNUSOCIALAPIHELPER_EXPORT GNUSocialApiAccount : public TwitterApiAccount
0022 {
0023     Q_OBJECT
0024 public:
0025     GNUSocialApiAccount(GNUSocialApiMicroBlog *parent, const QString &alias);
0026     ~GNUSocialApiAccount();
0027 
0028     virtual void writeConfig() override;
0029 
0030     bool isChangeExclamationMark() const;
0031     void setChangeExclamationMark(bool isChange);
0032 
0033     QString changeExclamationMarkToText() const;
0034     void setChangeExclamationMarkToText(const QString &text);
0035 
0036     virtual QUrl homepageUrl() const override;
0037 
0038 private:
0039     class Private;
0040     Private *d;
0041 };
0042 
0043 #endif