Documentation: Menus.docbook Composer menu Message and correcct formatting.
[kdepim.git] / korganizer / importdialog.h
bloba24ec67d83c7de1199ce24b20ffcf3f7f73a3177
1 /*
2 This file is part of KOrganizer.
4 Copyright (c) 2003,2004 Cornelius Schumacher <schumacher@kde.org>
5 Copyright (C) 2004 Reinhold Kainhofer <reinhold@kainhofer.com>
7 This program is free software; you can redistribute it and/or modify
8 it under the terms of the GNU General Public License as published by
9 the Free Software Foundation; either version 2 of the License, or
10 (at your option) any later version.
12 This program is distributed in the hope that it will be useful,
13 but WITHOUT ANY WARRANTY; without even the implied warranty of
14 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
15 GNU General Public License for more details.
17 You should have received a copy of the GNU General Public License along
18 with this program; if not, write to the Free Software Foundation, Inc.,
19 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
21 As a special exception, permission is given to link this program
22 with any edition of Qt, and distribute the resulting executable,
23 without including the source code for Qt in the source distribution.
26 #ifndef KORG_IMPORTDIALOG_H
27 #define KORG_IMPORTDIALOG_H
29 #include <KDialog>
31 class QRadioButton;
33 class ImportDialog : public KDialog
35 Q_OBJECT
36 public:
37 ImportDialog( const KUrl &url, QWidget *parent );
38 ~ImportDialog();
40 public slots:
41 void slotOk();
43 signals:
44 void dialogFinished( ImportDialog * );
45 void openURL( const KUrl &, bool );
46 void addResource( const KUrl & );
48 private:
49 KUrl mUrl;
51 QRadioButton *mAddButton;
52 QRadioButton *mMergeButton;
55 #endif