1 /***************************************************************************
2 ksayitviewimpl.h - description
4 begin : Son Aug 10 2003
5 copyright : (C) 2003 by Robert Vogl
6 email : voglrobe@saphir
7 ***************************************************************************/
9 /***************************************************************************
11 * This program is free software; you can redistribute it and/or modify *
12 * it under the terms of the GNU General Public License as published by *
13 * the Free Software Foundation; either version 2 of the License, or *
14 * (at your option) any later version. *
16 ***************************************************************************/
18 #ifndef KSAYITVIEWIMPL_H
19 #define KSAYITVIEWIMPL_H
28 #include <KSayItView.h>
34 class KSayItViewImpl
: public KSayItView
{
38 KSayItViewImpl(QWidget
*parent
=0, const char *name
=0);
42 void signalSetCaption(const QString
&caption
);
43 void signalShowStatus(const QString
&status
);
44 void signalEnableCopyCut(bool enable
);
46 /** Emitted when the text in the TextEditor view cahnges.
47 * \param empty True if the TextEditor view is empty.
49 void signalTextChanged(bool empty
);
52 /** True if text is selected or false if text is deselected.
54 void slotCopyAvailable(bool available
);
56 /** Copy selected text to the clipboard.
60 /** Copy selected text to the clipboard and delete it.
64 /** Paste text from the clipboard to the texteditor.
69 /** Called from the widget
71 void slotTextChanged();
74 /** Returns the text of the TextEdit-Widget
78 /** Set the content of the textEdit-Widget to text
80 void setText(const QString
&text
);
82 /** Enables/disables the Textedit
83 * \param enable true=enabled, false=diabled
85 void enableTextedit( bool enable
);
87 /** Deletes the entire text of the texteditor.