Mudlet  0
Mudclient
dlgNotepad.h
Go to the documentation of this file.
1 #ifndef MUDLET_DLGNOTEPAD_H
2 #define MUDLET_DLGNOTEPAD_H
3 
4 /***************************************************************************
5  * Copyright (C) 2008-2009 by Heiko Koehn - KoehnHeiko@googlemail.com *
6  * Copyright (C) 2014 by Ahmed Charles - acharles@outlook.com *
7  * Copyright (C) 2018 by Stephen Lyons - slysven@virginmedia.com *
8  * *
9  * This program is free software; you can redistribute it and/or modify *
10  * it under the terms of the GNU General Public License as published by *
11  * the Free Software Foundation; either version 2 of the License, or *
12  * (at your option) any later version. *
13  * *
14  * This program is distributed in the hope that it will be useful, *
15  * but WITHOUT ANY WARRANTY; without even the implied warranty of *
16  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the *
17  * GNU General Public License for more details. *
18  * *
19  * You should have received a copy of the GNU General Public License *
20  * along with this program; if not, write to the *
21  * Free Software Foundation, Inc., *
22  * 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. *
23  ***************************************************************************/
24 
25 
26 #include "pre_guard.h"
27 #include "ui_notes_editor.h"
28 #include <QPointer>
29 #include "post_guard.h"
30 
31 class Host;
32 
33 
34 class dlgNotepad : public QMainWindow, public Ui::notes_editor
35 {
36  Q_OBJECT
37 
38 public:
39  Q_DISABLE_COPY(dlgNotepad)
40  dlgNotepad(Host*);
41  ~dlgNotepad();
42 
43  void save();
44  void restore();
45 
46 private:
47  QPointer<Host> mpHost;
48 };
49 
50 #endif // MUDLET_DLGNOTEPAD_H
void restore()
Definition: dlgNotepad.cpp:67
Definition: Host.h:62
dlgNotepad(Host *)
Definition: dlgNotepad.cpp:31
void save()
Definition: dlgNotepad.cpp:50
QPointer< Host > mpHost
Definition: dlgNotepad.h:47