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.h5
1 files changed, 3 insertions, 2 deletions
diff --git a/noncore/net/opieirc/ircservereditor.h b/noncore/net/opieirc/ircservereditor.h
index 86cdf32..20c94f7 100644
--- a/noncore/net/opieirc/ircservereditor.h
+++ b/noncore/net/opieirc/ircservereditor.h
@@ -1,43 +1,44 @@
1/* 1/*
2 OpieIRC - An embedded IRC client 2 OpieIRC - An embedded IRC client
3 Copyright (C) 2002 Wenzel Jakob 3 Copyright (C) 2002 Wenzel Jakob
4 4
5 This program is free software; you can redistribute it and/or modify 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 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 7 the Free Software Foundation; either version 2 of the License, or
8 (at your option) any later version. 8 (at your option) any later version.
9 9
10 This program is distributed in the hope that it will be useful, 10 This program is distributed in the hope that it will be useful,
11 but WITHOUT ANY WARRANTY; without even the implied warranty of 11 but WITHOUT ANY WARRANTY; without even the implied warranty of
12 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 12 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
13 GNU General Public License for more details. 13 GNU General Public License for more details.
14 14
15 You should have received a copy of the GNU General Public License 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 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 17 Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
18 18
19*/ 19*/
20 20
21#ifndef __IRCSERVEREDITOR 21#ifndef __IRCSERVEREDITOR
22#define __IRCSERVEREDITOR 22#define __IRCSERVEREDITOR
23 23
24#include <qdialog.h> 24#include <qdialog.h>
25#include <qlineedit.h> 25#include <qlineedit.h>
26#include "ircserver.h" 26#include "ircserver.h"
27 27
28class IRCServerEditor : public QDialog { 28class IRCServerEditor : public QDialog {
29 Q_OBJECT 29 Q_OBJECT
30public: 30public:
31 IRCServerEditor(IRCServer server, QWidget* parent = 0, const char* name = 0, bool modal = FALSE, WFlags f = 0); 31 IRCServerEditor(IRCServer server, QWidget* parent = 0, const char* name = 0, bool modal = FALSE, WFlags f = 0);
32 IRCServer getServer(); 32 IRCServer getServer();
33protected slots:
34 void accept();
33protected: 35protected:
36 QLineEdit *m_name;
34 QLineEdit *m_hostname; 37 QLineEdit *m_hostname;
35 QLineEdit *m_port; 38 QLineEdit *m_port;
36 QLineEdit *m_description;
37 QLineEdit *m_nickname; 39 QLineEdit *m_nickname;
38 QLineEdit *m_username;
39 QLineEdit *m_password; 40 QLineEdit *m_password;
40 QLineEdit *m_realname; 41 QLineEdit *m_realname;
41}; 42};
42 43
43#endif /* __IRCSERVEREDITOR_H */ 44#endif /* __IRCSERVEREDITOR_H */