author | mickeyl <mickeyl> | 2005-05-17 10:17:02 (UTC) |
---|---|---|
committer | mickeyl <mickeyl> | 2005-05-17 10:17:02 (UTC) |
commit | c31a425a9a080238569f7c04372f10fc6cc10383 (patch) (unidiff) | |
tree | 7cf1b6fca77e5fdddf12c08c922108a65177f406 | |
parent | 28503944437feb62c0f2c0a8314385bbca3e9eaf (diff) | |
download | opie-c31a425a9a080238569f7c04372f10fc6cc10383.zip opie-c31a425a9a080238569f7c04372f10fc6cc10383.tar.gz opie-c31a425a9a080238569f7c04372f10fc6cc10383.tar.bz2 |
gcc4 compile fix
-rw-r--r-- | noncore/apps/tinykate/libkate/document/katebuffer.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/noncore/apps/tinykate/libkate/document/katebuffer.h b/noncore/apps/tinykate/libkate/document/katebuffer.h index 9088498..c8b718e 100644 --- a/noncore/apps/tinykate/libkate/document/katebuffer.h +++ b/noncore/apps/tinykate/libkate/document/katebuffer.h | |||
@@ -9,49 +9,49 @@ | |||
9 | 9 | ||
10 | This library is distributed in the hope that it will be useful, | 10 | This library 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 GNU | 12 | MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU |
13 | Library General Public License for more details. | 13 | Library General Public License for more details. |
14 | 14 | ||
15 | You should have received a copy of the GNU Library General Public License | 15 | You should have received a copy of the GNU Library General Public License |
16 | along with this library; see the file COPYING.LIB. If not, write to | 16 | along with this library; see the file COPYING.LIB. If not, write to |
17 | the Free Software Foundation, Inc., 59 Temple Place - Suite 330, | 17 | the Free Software Foundation, Inc., 59 Temple Place - Suite 330, |
18 | Boston, MA 02111-1307, USA. | 18 | Boston, MA 02111-1307, USA. |
19 | */ | 19 | */ |
20 | 20 | ||
21 | #ifndef _KWBUFFER_H_ | 21 | #ifndef _KWBUFFER_H_ |
22 | #define _KWBUFFER_H_ | 22 | #define _KWBUFFER_H_ |
23 | 23 | ||
24 | #include <qstring.h> | 24 | #include <qstring.h> |
25 | #include <qstringlist.h> | 25 | #include <qstringlist.h> |
26 | #include <qlist.h> | 26 | #include <qlist.h> |
27 | #include <qobject.h> | 27 | #include <qobject.h> |
28 | #include <qtimer.h> | 28 | #include <qtimer.h> |
29 | 29 | ||
30 | #include "katetextline.h" | 30 | #include "katetextline.h" |
31 | 31 | ||
32 | class QTextCodec; | 32 | class QTextCodec; |
33 | 33 | class KWBufBlock; | |
34 | /** | 34 | /** |
35 | * The KWBuffer class maintains a collections of lines. | 35 | * The KWBuffer class maintains a collections of lines. |
36 | * It allows to maintain state information in a lazy way. | 36 | * It allows to maintain state information in a lazy way. |
37 | * It handles swapping out of data using secondary storage. | 37 | * It handles swapping out of data using secondary storage. |
38 | * | 38 | * |
39 | * It is designed to handle large amounts of text-data efficiently | 39 | * It is designed to handle large amounts of text-data efficiently |
40 | * with respect to CPU and memory usage. | 40 | * with respect to CPU and memory usage. |
41 | * | 41 | * |
42 | * @author Waldo Bastian <bastian@kde.org> | 42 | * @author Waldo Bastian <bastian@kde.org> |
43 | */ | 43 | */ |
44 | class KWBuffer : public QObject | 44 | class KWBuffer : public QObject |
45 | { | 45 | { |
46 | Q_OBJECT | 46 | Q_OBJECT |
47 | public: | 47 | public: |
48 | /** | 48 | /** |
49 | * Create an empty buffer. | 49 | * Create an empty buffer. |
50 | */ | 50 | */ |
51 | KWBuffer(); | 51 | KWBuffer(); |
52 | 52 | ||
53 | /** | 53 | /** |
54 | * Insert a file at line @p line in the buffer. | 54 | * Insert a file at line @p line in the buffer. |
55 | * Using @p codec to decode the file. | 55 | * Using @p codec to decode the file. |
56 | */ | 56 | */ |
57 | void insertFile(int line, const QString &file, QTextCodec *codec); | 57 | void insertFile(int line, const QString &file, QTextCodec *codec); |