Source: /app/hbasic/hbasic/packages/example_package/example_package.h
|
|
|
|
#ifndef EXAMPLE_PACKAGE_H
#define EXAMPLE_PACKAGE_H
#include
#include
class QPushButton;
class XButton : public QPushButton
{
Q_OBJECT
public:
XButton( QWidget *parent );
public slots:
int add( int p1, int p2 );
};
/*---------------------------------------------------------------------------- */
class Nogui : public QObject
{
Q_OBJECT
Q_PROPERTY( int testProp READ getTestProp WRITE setTestProp )
public:
Nogui( void );
virtual void setTestProp( int new_val );
int getTestProp() const;
private:
int intval;
public slots:
int add( int p1, int p2 );
void showpstr( QString *str );
void showstr( const QString & str );
};
/*---------------------------------------------------------------------------- */
#endif
Generated by: root on linux on Sun Jul 13 18:06:35 2003, using kdoc 2.0a54. |