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

0001 /*
0002     This file is part of Choqok, the KDE micro-blogging client
0003 
0004     SPDX-FileCopyrightText: 2010-2012 Andrey Esin <gmlastik@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 PLUGINS_IMSTATUS_H
0010 #define PLUGINS_IMSTATUS_H
0011 
0012 #include "plugin.h"
0013 
0014 #include "choqoktypes.h"
0015 
0016 class IMStatusPrivate;
0017 
0018 /**
0019   @author Andrey Esin \<gmlastik@gmail.com\>
0020 */
0021 
0022 class IMStatus : public Choqok::Plugin
0023 {
0024     Q_OBJECT
0025 public:
0026     IMStatus(QObject *parent, const QList< QVariant > &args);
0027     ~IMStatus();
0028 
0029 public Q_SLOTS:
0030     void slotIMStatus(Choqok::JobResult res, Choqok::Post *newPost);
0031     void update();
0032 
0033 private:
0034     IMStatusPrivate *const d;
0035 };
0036 
0037 #endif // PLUGINS_IMSTATUS_H