root/trunk/qt4-gui/src/dialogs/keyrequestdlg.h

Revision 5837, 1.4 kB (checked in by eugene, 12 months ago)

P.S. Happy recompiling ;-)

  • Property svn:eol-style set to native
Line 
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 KEYREQUESTDLG_H
21#define KEYREQUESTDLG_H
22
23#include <QDialog>
24
25class QLabel;
26class QPushButton;
27
28class ICQEvent;
29
30namespace LicqQtGui
31{
32class KeyRequestDlg : public QDialog
33{
34  Q_OBJECT
35
36public:
37  KeyRequestDlg(QString id, unsigned long ppid, QWidget* parent = 0);
38  ~KeyRequestDlg();
39
40private:
41  QString myId;
42  unsigned long myPpid;
43  unsigned long myIcqEventTag;
44  bool myOpen;
45
46  QPushButton* btnSend;
47  QLabel* lblStatus;
48
49private slots:
50  void startSend();
51  void doneEvent(ICQEvent* e);
52  void openConnection();
53  void closeConnection();
54};
55
56} // namespace LicqQtGui
57
58#endif
Note: See TracBrowser for help on using the browser.