PageRenderTime 17ms CodeModel.GetById 11ms app.highlight 3ms RepoModel.GetById 1ms app.codeStats 0ms

/src/kandas-client/removedialog.h

http://kandas.googlecode.com/
C++ Header | 50 lines | 26 code | 7 blank | 17 comment | 0 complexity | 0f3958c74ed5088952864fbc2a95dfd8 MD5 | raw file
 1/***************************************************************************
 2 *   Copyright 2009 Stefan Majewsky <majewsky@gmx.net>
 3 *
 4 *   This program is free software; you can redistribute it and/or
 5 *   modify it under the terms of the GNU General Public
 6 *   License as published by the Free Software Foundation; either
 7 *   version 2 of the License, or (at your option) any later version.
 8 *
 9 *   This program is distributed in the hope that it will be useful,
10 *   but WITHOUT ANY WARRANTY; without even the implied warranty of
11 *   MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
12 *   GNU General Public License for more details.
13 *
14 *   You should have received a copy of the GNU General Public License
15 *   along with this program; if not, write to the Free Software
16 *   Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
17 ***************************************************************************/
18
19#ifndef KANDAS_CLIENT_REMOVEDIALOG_H
20#define KANDAS_CLIENT_REMOVEDIALOG_H
21
22class QListView;
23#include <KDialog>
24
25namespace Kandas
26{
27    namespace Client
28    {
29
30        class Manager;
31
32        class RemoveDialog : public KDialog
33        {
34            Q_OBJECT
35            public:
36                RemoveDialog(Kandas::Client::Manager *manager);
37            public Q_SLOTS:
38                void showDialog();
39            private Q_SLOTS:
40                void handleInput();
41                void handleOkClicked();
42            private:
43                Kandas::Client::Manager *m_manager;
44                QListView *m_view;
45        };
46
47    }
48}
49
50#endif // KANDAS_CLIENT_REMOVEDIALOG_H