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

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 PUMPIOSHOWTHREAD_H
0010 #define PUMPIOSHOWTHREAD_H
0011 
0012 #include <QWidget>
0013 
0014 #include "account.h"
0015 #include "choqoktypes.h"
0016 
0017 #include "ui_pumpioshowthread.h"
0018 
0019 class PumpIOShowThread : public QWidget, Ui::PumpIOShowThread
0020 {
0021     Q_OBJECT
0022 public:
0023     explicit PumpIOShowThread(Choqok::Account *account, Choqok::Post *post,
0024                               QWidget *parent = nullptr);
0025     virtual ~PumpIOShowThread();
0026 
0027 Q_SIGNALS:
0028     void forwardReply(const QString replyToId, const QString replyToUsername,
0029                       const QString replyToObjectType);
0030 
0031 protected Q_SLOTS:
0032     void slotAddPost(Choqok::Account *, Choqok::Post *);
0033 
0034 private:
0035     class Private;
0036     Private *const d;
0037 
0038 };
0039 
0040 #endif // PUMPIOSHOWTHREAD_H