* do not add a KStandardAction manually to actionCollection()
[kdenetwork.git] / krfb / invitedialog.h
blob4db35df24153ac5776f35be2907496bdb08835a2
1 /* This file is part of the KDE project
2 Copyright (C) 2004 Nadeem Hasan <nhasan@kde.org>
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.
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 GNU
12 General Public License for more details.
14 You should have received a copy of the GNU General Public License
15 along with this program; see the file COPYING. If not, write to
16 the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor,
17 Boston, MA 02110-1301, USA.
20 #ifndef INVITEDIALOG_H
21 #define INVITEDIALOG_H
23 #include "ui_invitewidget.h"
25 #include <KDialog>
27 class QWidget;
29 class InviteDialog : public KDialog, public Ui::InviteWidget
31 Q_OBJECT
33 public:
34 InviteDialog( QWidget *parent );
35 ~InviteDialog() {}
37 void enableInviteButton( bool enable );
39 public Q_SLOTS:
40 void setInviteCount( int count );
41 void showWhatsthis();
43 signals:
44 void createInviteClicked();
45 void emailInviteClicked();
46 void manageInviteClicked();
47 void configureClicked();
49 protected Q_SLOTS:
50 void slotUser1();
52 protected:
53 QWidget *m_inviteWidget;
56 #endif // INVITEDIALOG_H