digiKam
mediawiki_logout.h
Go to the documentation of this file.
1 /* ============================================================
2  *
3  * This file is a part of digiKam project
4  * https://www.digikam.org
5  *
6  * Date : 2011-03-22
7  * Description : a Iface C++ interface
8  *
9  * Copyright (C) 2011-2022 by Gilles Caulier <caulier dot gilles at gmail dot com>
10  * Copyright (C) 2011 by Alexandre Mendes <alex dot mendes1988 at gmail dot com>
11  *
12  * This program is free software; you can redistribute it
13  * and/or modify it under the terms of the GNU General
14  * Public License as published by the Free Software Foundation;
15  * either version 2, or (at your option) any later version.
16  *
17  * This program is distributed in the hope that it will be useful,
18  * but WITHOUT ANY WARRANTY; without even the implied warranty of
19  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
20  * GNU General Public License for more details.
21  *
22  * ============================================================ */
23 
24 #ifndef DIGIKAM_MEDIAWIKI_LOGOUT_H
25 #define DIGIKAM_MEDIAWIKI_LOGOUT_H
26 
27 // Local includes
28 
29 #include "mediawiki_job.h"
30 
31 namespace MediaWiki
32 {
33 
34 class Iface;
35 class LogoutPrivate;
36 
42 class Logout : public Job
43 {
44  Q_OBJECT
45  Q_DECLARE_PRIVATE(Logout)
46 
47 public:
48 
53  explicit Logout(Iface& MediaWiki, QObject* const parent = nullptr);
54 
58  ~Logout() override;
59 
63  void start() override;
64 
65 private Q_SLOTS:
66 
67  void doWorkSendRequest();
68  void doWorkProcessReply();
69 };
70 
71 } // namespace MediaWiki
72 
73 #endif // DIGIKAM_MEDIAWIKI_LOGOUT_H
@ Logout
Definition: rajcesession.h:42