Add context, this fordward is different from the fordward when we are in mail context
[kdepim.git] / korganizer / publishdialog.h
blob112abf8a44706f5f61403bb30e7a24ff599417be
1 /*
2 This file is part of KOrganizer.
3 Copyright (c) 2001 Cornelius Schumacher <schumacher@kde.org>
5 This program is free software; you can redistribute it and/or modify
6 it under the terms of the GNU General Public License as published by
7 the Free Software Foundation; either version 2 of the License, or
8 (at your option) any later version.
10 This program is distributed in the hope that it will be useful,
11 but WITHOUT ANY WARRANTY; without even the implied warranty of
12 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
13 GNU General Public License for more details.
15 You should have received a copy of the GNU General Public License along
16 with this program; if not, write to the Free Software Foundation, Inc.,
17 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
19 As a special exception, permission is given to link this program
20 with any edition of Qt, and distribute the resulting executable,
21 without including the source code for Qt in the source distribution.
23 #ifndef PUBLISHDIALOG_H
24 #define PUBLISHDIALOG_H
26 #include <kdialog.h>
27 #include "ui_publishdialog_base.h"
29 namespace KCal {
30 class Attendee;
32 using namespace KCal;
34 class PublishDialog_base;
36 class PublishDialog : public KDialog
38 Q_OBJECT
39 public:
40 explicit PublishDialog( QWidget *parent=0, bool modal = true );
41 ~PublishDialog();
43 void addAttendee( Attendee *attendee );
44 QString addresses();
46 signals:
47 void numMessagesChanged( int );
49 protected slots:
50 void addItem();
51 void removeItem();
52 void openAddressbook();
53 void updateItem();
54 void updateInput();
55 protected:
56 Ui::PublishDialog_base mUI;
59 #endif