Make the KOrganizer plugin loading work again.
[kdepim.git] / kaddressbook / mainwindow.h
blob2547ce8420659acff1632e5521d79af041af33b7
1 /*
2 This file is part of KAddressBook.
4 Copyright (c) 2007 Tobias Koenig <tokoe@kde.org>
6 This program is free software; you can redistribute it and/or modify
7 it under the terms of the GNU General Public License as published by
8 the Free Software Foundation; either version 2 of the License, or
9 (at your option) any later version.
11 This program is distributed in the hope that it will be useful,
12 but WITHOUT ANY WARRANTY; without even the implied warranty of
13 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
14 GNU General Public License for more details.
16 You should have received a copy of the GNU General Public License along
17 with this program; if not, write to the Free Software Foundation, Inc.,
18 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
21 #ifndef MAINWINDOW_H
22 #define MAINWINDOW_H
24 #include <KXmlGuiWindow>
26 class MainWidget;
27 class MainWindow : public KXmlGuiWindow
29 Q_OBJECT
31 public:
32 MainWindow();
33 ~MainWindow();
34 MainWidget *mainWidget() const;
35 private Q_SLOTS:
36 void configure();
37 void configureKeyBindings();
38 void configureToolbars() Q_DECL_OVERRIDE;
39 void newToolbarConfig();
41 private:
42 void initActions();
44 MainWidget *mMainWidget;
47 #endif