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

Revision 5556, 1.2 kB (checked in by eugene, 14 months ago)

Cleaned up log window dialog.

  • 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 LOGWINDOW_H
21#define LOGWINDOW_H
22
23#include <QDialog>
24
25#include <licq_log.h>
26
27class QShowEvent;
28class QSocketNotifier;
29
30namespace LicqQtGui
31{
32class MLEdit;
33
34class LogWindow : public QDialog, public CPluginLog
35{
36  Q_OBJECT
37
38public:
39  LogWindow(QWidget* parent = 0);
40
41private:
42  MLEdit* outputBox;
43  QSocketNotifier* sn;
44
45private slots:
46  void log(int fd);
47  void save();
48
49  virtual void showEvent(QShowEvent* event);
50};
51
52} // namespace LicqQtGui
53
54#endif
Note: See TracBrowser for help on using the browser.