File indexing completed on 2024-04-28 04:55:36

0001 /*
0002     This file is part of Choqok, the KDE micro-blogging client
0003 
0004     SPDX-FileCopyrightText: 2010-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 TWITTERAPICOMPOSERWIDGET_H
0010 #define TWITTERAPICOMPOSERWIDGET_H
0011 
0012 #include "twitterapihelper_export.h"
0013 #include "composerwidget.h"
0014 
0015 namespace Choqok
0016 {
0017 namespace UI
0018 {
0019 class PostWidget;
0020 }
0021 }
0022 
0023 class TWITTERAPIHELPER_EXPORT TwitterApiComposerWidget : public Choqok::UI::ComposerWidget
0024 {
0025     Q_OBJECT
0026 public:
0027     explicit TwitterApiComposerWidget(Choqok::Account *account, QWidget *parent = nullptr);
0028     ~TwitterApiComposerWidget();
0029 
0030 protected Q_SLOTS:
0031     virtual void slotNewPostReady(Choqok::UI::PostWidget *widget, Choqok::Account *theAccount);
0032 
0033 private:
0034     class Private;
0035     Private *const d;
0036 };
0037 
0038 #endif // TWITTERAPICOMPOSERWIDGET_H