PlainDocument.h

00001 /*
00002  * @(#)PlainDocument.h  0.2.0 / 2007-12-12
00003  *
00004  * Copyright (c) 2007, ETF and contributors. All rights reserved.
00005  *
00006  * This software is licensed under the LGPL, version 2.1, license.
00007  * A copy of the license is included in the file LICENSE-LGPL.txt.
00008  */
00009 #ifndef PLAINDOCUMENT_H
00010 #define PLAINDOCUMENT_H
00011 
00012 #include "JavaQxQSwing.h"
00013 
00014 #include "QTextDocumentAdapter.h"
00015 
00016 /*^**************************************************************************^*/
00017 /*- PlainDocument Class.                                                     -*/
00018 /*^**************************************************************************^*/
00019 
00026 class JAVAQX_EXPORT PlainDocument : public QTextDocumentAdapter
00027 {
00028 public:
00029   PlainDocument(TextDocumentBridge *documentBridge);
00030 public:
00031   virtual QString getText() const;
00032   virtual void setText(const QString &text);
00033   virtual void appendText(const QString &text);
00034 };
00035 
00036 #endif // PLAINDOCUMENT_H
00037 
00038 /*^*****************************************************************************
00039   File History:
00040 
00041  - 2007-12-12 15:01:12 Slobodan
00042    Initial version
00043 
00044 *****************************************************************************^*/

Copyright © 2007 ETF and contributors. All Rights Reserved.