~ubuntu-branches/ubuntu/breezy/koffice/breezy

« back to all changes in this revision

Viewing changes to lib/kscript/kscript_proxy.h

  • Committer: Bazaar Package Importer
  • Author(s): Ben Burton
  • Date: 2004-05-09 11:33:00 UTC
  • mfrom: (1.1.1 upstream)
  • Revision ID: james.westby@ubuntu.com-20040509113300-vfrdadqsvjfuhn3b
Tags: 1:1.3.1-1
* New upstream bugfix release.
* Built against newer imagemagick (closes: #246623).
* Made koffice-libs/kformula recommend/depend on latex-xft-fonts, which
  provides mathematical fonts that the formula editor can use.  Also
  patched the kformula part to make these fonts the default.
* Changed kword menu hint from "WordProcessors" to "Word processors"
  (closes: #246209).
* Spellchecker configuration is now fixed (closes: #221256, #227568).

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
 
#ifndef __KSCRIPT_PROXY_H__
2
 
#define __KSCRIPT_PROXY_H__
3
 
 
4
 
#include <qshared.h>
5
 
#include <qcstring.h>
6
 
 
7
 
#include "kscript_value.h"
8
 
 
9
 
class QDataStream;
10
 
class QString;
11
 
 
12
 
class KSContext;
13
 
 
14
 
class KSProxy : public QShared
15
 
{
16
 
public:
17
 
    typedef KSSharedPtr<KSProxy> Ptr;
18
 
 
19
 
    /**
20
 
     */
21
 
    KSProxy( const QCString& app, const QCString& obj );
22
 
 
23
 
    virtual ~KSProxy();
24
 
 
25
 
    virtual KSValue::Ptr member( KSContext&, const QString& name );
26
 
    virtual bool setMember( KSContext&, const QString& name, const KSValue::Ptr& v );
27
 
 
28
 
    QCString appId() const;
29
 
    QCString objId() const;
30
 
 
31
 
    static QString pack( KSContext&, QDataStream& str, KSValue::Ptr& v );
32
 
    static KSValue::Ptr unpack( KSContext&, QDataStream& str, const QCString& type );
33
 
 
34
 
protected:
35
 
    bool call( KSContext& context, const QString& name );
36
 
 
37
 
private:
38
 
    QCString m_app;
39
 
    QCString m_obj;
40
 
    bool m_propertyProxyCheckDone;
41
 
    bool m_supportsPropertyProxy;
42
 
};
43
 
 
44
 
#endif