unauthorizedAccept option
[dyskinesia.git] / src / accwin.h
blob72456a6c018cef24e83e4526ad8e9d66c1d38c08
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 ACCWIN_H
11 #define ACCWIN_H
13 #include <QDialog>
16 #include "ui_accwin.h"
17 class AccWindow : public QDialog, public Ui_accWin {
18 Q_OBJECT
20 public:
21 AccWindow (QWidget *parent = 0);
22 ~AccWindow ();
24 signals:
25 void updateAccountInfo (AccWindow *au, const QString &text);
26 void accountCreated (AccWindow *au, const QString &text);
27 void accountDeleted (AccWindow *au, const QString &text);
29 private slots:
30 void on_leNick_textChanged (void);
31 void on_leHost_textChanged (void);
32 void on_btDelAcc_clicked (bool);
33 void on_btAddAcc_clicked (bool);
34 void on_cbAccount_currentIndexChanged (const QString &text);
36 public:
37 int maxIdx;
38 QString curAccName;
42 #endif