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

Revision 5837, 1.5 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) 1999-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 PLUGINDLG_H
21#define PLUGINDLG_H
22
23#include <QMap>
24#include <QDialog>
25
26class QTableWidget;
27class QTableWidgetItem;
28
29namespace LicqQtGui
30{
31class PluginDlg : public QDialog
32{
33  Q_OBJECT
34
35public:
36  /**
37   * Create and show plugin dialog or raise it if already exists
38   */
39  static void showPluginDlg();
40
41private:
42  static PluginDlg* myInstance;
43
44  PluginDlg();
45  virtual ~PluginDlg();
46
47  QTableWidget* tblStandard;
48  QTableWidget* tblProtocol;
49
50  QMap<QTableWidgetItem*,bool> mapCheckboxCache;
51
52private slots:
53  void slot_standard(QTableWidgetItem* item);
54  void slot_stdConfig(int, int);
55  void slot_protocol(QTableWidgetItem* item);
56  void slot_refresh();
57};
58
59} // namespace LicqQtGui
60
61#endif
Note: See TracBrowser for help on using the browser.