Changeset View
Changeset View
Standalone View
Standalone View
core/script/kjs_app_p.h
- This file was copied to core/script/kjs_display_p.h, core/script/kjs_ocg_p.h.
1 | /*************************************************************************** | 1 | /*************************************************************************** | ||
---|---|---|---|---|---|
2 | * Copyright (C) 2008 by Pino Toscano <pino@kde.org> * | 2 | * Copyright (C) 2008 by Pino Toscano <pino@kde.org> * | ||
3 | * Copyright (C) 2008 by Harri Porten <porten@kde.org> * | 3 | * Copyright (C) 2008 by Harri Porten <porten@kde.org> * | ||
4 | * * | 4 | * * | ||
5 | * This program is free software; you can redistribute it and/or modify * | 5 | * This program is free software; you can redistribute it and/or modify * | ||
6 | * it under the terms of the GNU General Public License as published by * | 6 | * it under the terms of the GNU General Public License as published by * | ||
7 | * the Free Software Foundation; either version 2 of the License, or * | 7 | * the Free Software Foundation; either version 2 of the License, or * | ||
8 | * (at your option) any later version. * | 8 | * (at your option) any later version. * | ||
9 | ***************************************************************************/ | 9 | ***************************************************************************/ | ||
10 | 10 | | |||
11 | #ifndef OKULAR_SCRIPT_KJS_APP_P_H | 11 | #ifndef OKULAR_SCRIPT_KJS_APP_P_H | ||
12 | #define OKULAR_SCRIPT_KJS_APP_P_H | 12 | #define OKULAR_SCRIPT_KJS_APP_P_H | ||
13 | 13 | | |||
14 | class KJSContext; | 14 | class KJSContext; | ||
15 | class KJSObject; | 15 | class KJSObject; | ||
16 | 16 | | |||
17 | #include <QTimer> | ||||
18 | | ||||
17 | namespace Okular { | 19 | namespace Okular { | ||
18 | 20 | | |||
19 | class DocumentPrivate; | 21 | class DocumentPrivate; | ||
20 | 22 | | |||
21 | class JSApp | 23 | class JSApp | ||
22 | { | 24 | { | ||
23 | public: | 25 | public: | ||
24 | static void initType( KJSContext *ctx ); | 26 | static void initType( KJSContext *ctx ); | ||
25 | static KJSObject object( KJSContext *ctx, DocumentPrivate *doc ); | 27 | static KJSObject object( KJSContext *ctx, DocumentPrivate *doc ); | ||
28 | static KJSObject wrapTimer( KJSContext *ctx, QTimer *timer ); | ||||
29 | static void clearCachedFields(); | ||||
26 | }; | 30 | }; | ||
27 | 31 | | |||
28 | } | 32 | } | ||
29 | 33 | | |||
30 | #endif | 34 | #endif | ||
35 | No newline at end of file |