summaryrefslogtreecommitdiff
path: root/noncore/net/opieirc/ircservereditor.h
Unidiff
Diffstat (limited to 'noncore/net/opieirc/ircservereditor.h') (more/less context) (ignore whitespace changes)
-rw-r--r--noncore/net/opieirc/ircservereditor.h43
1 files changed, 43 insertions, 0 deletions
diff --git a/noncore/net/opieirc/ircservereditor.h b/noncore/net/opieirc/ircservereditor.h
new file mode 100644
index 0000000..86cdf32
--- a/dev/null
+++ b/noncore/net/opieirc/ircservereditor.h
@@ -0,0 +1,43 @@
1/*
2 OpieIRC - An embedded IRC client
3 Copyright (C) 2002 Wenzel Jakob
4
5 This program 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 This program 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 this program; if not, write to the Free Software
17 Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
18
19*/
20
21#ifndef __IRCSERVEREDITOR
22#define __IRCSERVEREDITOR
23
24#include <qdialog.h>
25#include <qlineedit.h>
26#include "ircserver.h"
27
28class IRCServerEditor : public QDialog {
29 Q_OBJECT
30public:
31 IRCServerEditor(IRCServer server, QWidget* parent = 0, const char* name = 0, bool modal = FALSE, WFlags f = 0);
32 IRCServer getServer();
33protected:
34 QLineEdit *m_hostname;
35 QLineEdit *m_port;
36 QLineEdit *m_description;
37 QLineEdit *m_nickname;
38 QLineEdit *m_username;
39 QLineEdit *m_password;
40 QLineEdit *m_realname;
41};
42
43#endif /* __IRCSERVEREDITOR_H */