unauthorizedAccept option
[dyskinesia.git] / src / conwin.h
blobbf972ab411c4559d4e50485b2fbc65fb5651035f
1 /* coded by Ketmar // Vampire Avalon (psyc://ketmar.no-ip.org/~Ketmar)
2 * Understanding is not required. Only obedience.
4 * This program is free software. It comes without any warranty, to
5 * the extent permitted by applicable law. You can redistribute it
6 * and/or modify it under the terms of the Do What The Fuck You Want
7 * To Public License, Version 2, as published by Sam Hocevar. See
8 * http://sam.zoy.org/wtfpl/COPYING for more details.
9 */
10 #ifndef CONWIN_H
11 #define CONWIN_H
13 #include <QDialog>
15 class PsycPacket;
18 #include "ui_console.h"
19 class ConsoleForm : public QDialog, public Ui_consoleForm {
20 Q_OBJECT
22 public:
23 ConsoleForm (QWidget *parent = 0);
24 ~ConsoleForm ();
26 public slots:
27 void addPacket (const PsycPacket &pkt, bool isOutgoing);
29 private slots:
30 void on_btClear_clicked (void);
32 private:
33 void logStr (const QString &pfx, const QString &str);
35 public:
36 QString mUni;
40 #endif