not quite so much needs to be delayed to the init() function
[personal-kdebase.git] / workspace / kwrited / kwrited.h
blobf2a5e8bb393725bec26dd84ca3ba4a1ce3aa11a2
1 /*
2 kwrited is a write(1) receiver for KDE.
3 Copyright 1997,1998 by Lars Doelle <lars.doelle@on-line.de>
4 Copyright 2008 by George Kiagiadakis <gkiagia@users.sourceforge.net>
6 This program is free software; you can redistribute it and/or modify
7 it under the terms of the GNU General Public License as published by
8 the Free Software Foundation; either version 2 of the License, or
9 (at your option) any later version.
11 This program is distributed in the hope that it will be useful,
12 but WITHOUT ANY WARRANTY; without even the implied warranty of
13 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
14 GNU General Public License for more details.
16 You should have received a copy of the GNU General Public License
17 along with this program; if not, write to the Free Software
18 Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA
19 02110-1301 USA.
22 #ifndef KWRITED_H
23 #define KWRITED_H
25 #include <config-kwrited.h>
26 #include <QtCore/QObject>
27 class KPtyDevice;
29 class KWrited : public QObject
31 Q_OBJECT
32 public:
33 KWrited();
34 ~KWrited();
36 private Q_SLOTS:
37 void block_in();
39 private:
40 KPtyDevice* pty;
43 #if !defined(BUILD_AS_EXECUTABLE)
44 # include <kdedmodule.h>
46 class KWritedModule : public KDEDModule
48 public:
49 KWritedModule(QObject* parent, const QList<QVariant>&);
50 ~KWritedModule();
51 private:
52 KWrited* pro;
55 #endif
57 #endif