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 PUMPIOMESSAGEDIALOG_H
0010 #define PUMPIOMESSAGEDIALOG_H
0011 
0012 #include <QDialog>
0013 
0014 #include "ui_pumpiomessagedialog.h"
0015 
0016 namespace Choqok
0017 {
0018 class Account;
0019 }
0020 
0021 class PumpIOMessageDialog : public QDialog, Ui::PumpIOMessageDialog
0022 {
0023     Q_OBJECT
0024 
0025 public:
0026     explicit PumpIOMessageDialog(Choqok::Account *theAccount, QWidget *parent = nullptr,
0027                                  Qt::WindowFlags flags = {});
0028     ~PumpIOMessageDialog();
0029 
0030 protected Q_SLOTS:
0031     virtual void accept() override;
0032     void attachMedia();
0033     void cancelAttach();
0034     void fetchFollowing();
0035     void slotFetchFollowing(Choqok::Account *);
0036 
0037 private:
0038     class Private;
0039     Private *const d;
0040 
0041 };
0042 
0043 #endif // PUMPIOMESSAGEDIALOG_H