| 1 | /* |
|---|
| 2 | * This file is part of Licq, an instant messaging client for UNIX. |
|---|
| 3 | * Copyright (C) 2000-2006 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 RCDLG_H |
|---|
| 21 | #define RCDLG_H |
|---|
| 22 | |
|---|
| 23 | #include "config.h" |
|---|
| 24 | |
|---|
| 25 | #include <QDialog> |
|---|
| 26 | |
|---|
| 27 | class QListWidget; |
|---|
| 28 | class QPushButton; |
|---|
| 29 | |
|---|
| 30 | class ICQEvent; |
|---|
| 31 | |
|---|
| 32 | namespace LicqQtGui |
|---|
| 33 | { |
|---|
| 34 | class RandomChatDlg : public QDialog |
|---|
| 35 | { |
|---|
| 36 | Q_OBJECT |
|---|
| 37 | |
|---|
| 38 | public: |
|---|
| 39 | RandomChatDlg(QWidget* parent = 0); |
|---|
| 40 | ~RandomChatDlg(); |
|---|
| 41 | |
|---|
| 42 | private: |
|---|
| 43 | QListWidget* myGroupsList; |
|---|
| 44 | QPushButton* myOkButton; |
|---|
| 45 | QPushButton* myCancelButton; |
|---|
| 46 | unsigned long myTag; |
|---|
| 47 | |
|---|
| 48 | private slots: |
|---|
| 49 | void okPressed(); |
|---|
| 50 | void userEventDone(ICQEvent* event); |
|---|
| 51 | }; |
|---|
| 52 | |
|---|
| 53 | class SetRandomChatGroupDlg : public QDialog |
|---|
| 54 | { |
|---|
| 55 | Q_OBJECT |
|---|
| 56 | |
|---|
| 57 | public: |
|---|
| 58 | SetRandomChatGroupDlg(QWidget* parent = 0); |
|---|
| 59 | ~SetRandomChatGroupDlg(); |
|---|
| 60 | |
|---|
| 61 | private: |
|---|
| 62 | QListWidget* myGroupsList; |
|---|
| 63 | QPushButton* myOkButton; |
|---|
| 64 | QPushButton* myCancelButton; |
|---|
| 65 | unsigned long myTag; |
|---|
| 66 | |
|---|
| 67 | private slots: |
|---|
| 68 | void okPressed(); |
|---|
| 69 | void userEventDone(ICQEvent* event); |
|---|
| 70 | }; |
|---|
| 71 | |
|---|
| 72 | } // namespace LicqQtGui |
|---|
| 73 | |
|---|
| 74 | #endif |
|---|