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

« back to all changes in this revision

Viewing changes to lib/kscript/kscript_ext_qboxlayout.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_EXT_QBOXLAYOUT_H__
2
 
#define __KSCRIPT_EXT_QBOXLAYOUT_H__
3
 
 
4
 
#include "kscript_class.h"
5
 
#include "kscript_ext_qwidget.h"
6
 
 
7
 
class KSContext;
8
 
 
9
 
class QBoxLayout;
10
 
 
11
 
class KSClass_QBoxLayout : public KSClass_QObject
12
 
{
13
 
public:
14
 
  KSClass_QBoxLayout( KSModule*, const char* name = "QBoxLayout" );
15
 
 
16
 
protected:
17
 
  virtual KSScriptObject* createObject( KSClass* c );
18
 
};
19
 
 
20
 
class KSObject_QBoxLayout : public KS_Qt_Object
21
 
{
22
 
public:
23
 
  KSObject_QBoxLayout( KSClass* );
24
 
 
25
 
  bool ksQBoxLayout( KSContext& );
26
 
  bool ksQBoxLayout_addWidget( KSContext& );
27
 
  bool ksQBoxLayout_addLayout( KSContext& );
28
 
 
29
 
  KSValue::Ptr member( KSContext& context, const QString& name );
30
 
  bool setMember( KSContext& context, const QString& name, const KSValue::Ptr& v );
31
 
 
32
 
  bool inherits( const char* name ) { return ( strcmp( name, "KSObject_QBoxLayout" ) == 0 || KS_Qt_Object::inherits( name ) ); }
33
 
 
34
 
  static QBoxLayout* convert( KSValue* v ) { return (QBoxLayout*) ((KS_Qt_Object*)v->objectValue())->object(); }
35
 
};
36
 
 
37
 
#endif