File indexing completed on 2024-04-28 04:55:46
0001 /* 0002 This file is part of Choqok, the KDE micro-blogging client 0003 0004 SPDX-FileCopyrightText: 2013-2014 Andrea Scarpino <scarpino@kde.org> 0005 0006 SPDX-License-Identifier: GPL-2.0-only OR GPL-3.0-only OR LicenseRef-KDE-Accepted-GPL 0007 */ 0008 0009 #ifndef PUMPIOCOMPOSERWIDGET_H 0010 #define PUMPIOCOMPOSERWIDGET_H 0011 0012 #include "composerwidget.h" 0013 0014 class PumpIOComposerWidget : public Choqok::UI::ComposerWidget 0015 { 0016 Q_OBJECT 0017 public: 0018 explicit PumpIOComposerWidget(Choqok::Account *account, QWidget *parent = nullptr); 0019 ~PumpIOComposerWidget(); 0020 0021 public Q_SLOTS: 0022 void slotSetReply(const QString replyToId, const QString replyToUsername, const QString replyToObjectType); 0023 0024 protected Q_SLOTS: 0025 virtual void submitPost(const QString &text) override; 0026 virtual void slotPostSubmited(Choqok::Account *theAccount, Choqok::Post *post) override; 0027 0028 void cancelAttach(); 0029 void attachMedia(); 0030 0031 private: 0032 class Private; 0033 Private *const d; 0034 0035 }; 0036 0037 #endif // PUMPIOCOMPOSERWIDGET_H