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

0001 /*
0002     This file is part of Choqok, the KDE micro-blogging client
0003 
0004     SPDX-FileCopyrightText: 2015 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 TWITTERDMESSAGEDIALOG_H
0010 #define TWITTERDMESSAGEDIALOG_H
0011 
0012 #include "twitterapidmessagedialog.h"
0013 
0014 class KJob;
0015 
0016 class TwitterDMessageDialog : public TwitterApiDMessageDialog
0017 {
0018     Q_OBJECT
0019 public:
0020     explicit TwitterDMessageDialog(TwitterApiAccount *theAccount, QWidget *parent = nullptr, Qt::WindowFlags flags = {});
0021     ~TwitterDMessageDialog();
0022 
0023 private Q_SLOTS:
0024     void slotTextLimit(KJob *job);
0025 
0026 private:
0027     void fetchTextLimit();
0028 
0029 };
0030 
0031 #endif // TWITTERDMESSAGEDIALOG_H