X-Git-Url: https://git.quassel-irc.org/?p=quassel.git;a=blobdiff_plain;f=src%2Fqtui%2Fdebugconsole.h;fp=src%2Fqtui%2Fdebugconsole.h;h=f443d64b190911299b061edeca07d4e54e58a4fd;hp=0000000000000000000000000000000000000000;hb=788fd0058595c815dc42597e9956c02aea45261f;hpb=c9ef00c67a47448e92398a5dce6ce5b74e77783a diff --git a/src/qtui/debugconsole.h b/src/qtui/debugconsole.h new file mode 100644 index 00000000..f443d64b --- /dev/null +++ b/src/qtui/debugconsole.h @@ -0,0 +1,46 @@ +/*************************************************************************** + * Copyright (C) 2005-07 by the Quassel IRC Team * + * devel@quassel-irc.org * + * * + * This program is free software; you can redistribute it and/or modify * + * it under the terms of the GNU General Public License as published by * + * the Free Software Foundation; either version 2 of the License, or * + * (at your option) version 3. * + * * + * This program is distributed in the hope that it will be useful, * + * but WITHOUT ANY WARRANTY; without even the implied warranty of * + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * + * GNU General Public License for more details. * + * * + * You should have received a copy of the GNU General Public License * + * along with this program; if not, write to the * + * Free Software Foundation, Inc., * + * 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. * + ***************************************************************************/ + +#ifndef DEBUGCONSOLE_H +#define DEBUGCONSOLE_H + +#include "ui_debugconsole.h" + +class DebugConsole : public QDialog { + Q_OBJECT + +public: + DebugConsole(QWidget *parent = 0); + virtual ~DebugConsole(); + +public slots: + void scriptResult(QString result); + +signals: + void scriptRequest(QString script); + +private slots: + void on_evalButton_clicked(); + +private: + Ui::DebugConsole ui; +}; + +#endif