1 /*
2  * This file is part of Licq, an instant messaging client for UNIX.
3  * Copyright (C) 2010 Licq developers
4  *
5  * Licq 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.
9  *
10  * Licq 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.
14  *
15  * You should have received a copy of the GNU General Public License
16  * along with Licq; if not, write to the Free Software
17  * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA  02110-1301  USA
18  */
19 
20 #ifndef GROUPDLG_H
21 #define GROUPDLG_H
22 
23 #include <QDialog>
24 
25 namespace LicqQtGui
26 {
27 class OnEventBox;
28 
29 class GroupDlg : public QDialog
30 {
31   Q_OBJECT
32 
33 public:
34   /**
35    * Constructor
36    *
37    * @param groupId Group id
38    */
39   GroupDlg(int groupId, QWidget* parent = NULL);
40 
41 private slots:
42   /**
43    * Save settings and close dialog
44    */
45   void ok();
46 
47   /**
48    * Save settings
49    */
50   void apply();
51 
52 private:
53   int myGroupId;
54   OnEventBox* myOnEventBox;
55 };
56 
57 } // namespace LicqQtGui
58 
59 #endif
60