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

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 TWITTERCOMPOSERWIDGET_H
0010 #define TWITTERCOMPOSERWIDGET_H
0011 
0012 #include "twitterapicomposerwidget.h"
0013 
0014 class TwitterComposerWidget : public TwitterApiComposerWidget
0015 {
0016     Q_OBJECT
0017 public:
0018     explicit TwitterComposerWidget(Choqok::Account *account, QWidget *parent = nullptr);
0019     ~TwitterComposerWidget();
0020 
0021 protected Q_SLOTS:
0022     virtual void submitPost(const QString &text) override;
0023     void slotPostMediaSubmitted(Choqok::Account *theAccount, Choqok::Post *post);
0024     void selectMediumToAttach();
0025     void cancelAttachMedium();
0026 
0027 private:
0028     class Private;
0029     Private *d;
0030 };
0031 
0032 #endif // TWITTERCOMPOSERWIDGET_H