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

0001 /*
0002     This file is part of Choqok, the KDE micro-blogging client
0003 
0004     SPDX-FileCopyrightText: 2010-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 KONQCHOQOK_H
0010 #define KONQCHOQOK_H
0011 
0012 class QDBusInterface;
0013 
0014 #include <KParts/Plugin>
0015 
0016 class KonqPluginChoqok : public KParts::Plugin
0017 {
0018     Q_OBJECT
0019 public:
0020     KonqPluginChoqok(QObject *parent, const QVariantList &);
0021 
0022     virtual ~KonqPluginChoqok();
0023 
0024 private Q_SLOTS:
0025     void slotpostSelectedText();
0026     void toggleShortening(bool);
0027     void updateActions();
0028 
0029 private:
0030     QDBusInterface *m_interface;
0031 
0032 };
0033 
0034 #endif // KONQCHOQOK_H