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

0001 /*
0002     This file is part of Choqok, the KDE micro-blogging client
0003 
0004     SPDX-FileCopyrightText: 2008-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 TWITTERAPISEARCHDIALOG_H
0010 #define TWITTERAPISEARCHDIALOG_H
0011 
0012 #include <QDialog>
0013 
0014 #include "twitterapihelper_export.h"
0015 
0016 class TwitterApiAccount;
0017 class TWITTERAPIHELPER_EXPORT TwitterApiSearchDialog : public QDialog
0018 {
0019     Q_OBJECT
0020 public:
0021     explicit TwitterApiSearchDialog(TwitterApiAccount *theAccount, QWidget *parent = nullptr);
0022     ~TwitterApiSearchDialog();
0023 
0024 protected:
0025     void createUi();
0026     void fillSearchTypes();
0027 
0028 protected Q_SLOTS:
0029     virtual void accept() override;
0030     void slotSearchTypeChanged(int);
0031 
0032 private:
0033     class Private;
0034     Private *const d;
0035 };
0036 
0037 #endif // TWITTERAPISEARCHDIALOG_H