// C++ interface header file.
//
// Generated by SIP 3.7 (build 102) on Fri Jul 25 00:26:05 2003
//
// Copyright (c) 2003
// 	Riverbank Computing Limited <info@riverbankcomputing.co.uk>
// 
// This file is part of PyQt.
// 
// This copy of PyQt is free software; you can redistribute it and/or modify it
// under the terms of the GNU General Public License as published by the Free
// Software Foundation; either version 2, or (at your option) any later
// version.
// 
// PyQt is supplied in the hope that it will be useful, but WITHOUT ANY
// WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS
// FOR A PARTICULAR PURPOSE.  See the GNU General Public License for more
// details.
// 
// You should have received a copy of the GNU General Public License along with
// PyQt; see the file LICENSE.  If not, write to the Free Software Foundation,
// Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.

#ifndef _qtQAction_h
#define	_qtQAction_h

#line 44 "sip/qaction.sip"
#include <qaction.h>
#line 30 "sipqtQAction.h"

#include "sipqtQObject.h"
#include "sipqtQString.h"
#include "sipqtQIconSet.h"
#include "sipqtQKeySequence.h"
#include "sipqtQWidget.h"
#include "sipqtQPopupMenu.h"


extern SIP_IMPORT sipLazyAttrDef sipClassAttrTab_QAction;

extern SIP_IMPORT const void *sipCast_QAction Py_PROTO((const void *,PyObject *));
extern SIP_IMPORT PyObject *sipNew_QAction Py_PROTO((PyObject *,PyObject *));


class SIP_IMPORT sipQAction : public QAction
{
public:
	sipQAction(QObject *,const char *,bool);
	sipQAction(const QString&,const QIconSet&,const QString&,QKeySequence,QObject *,const char *,bool);
	sipQAction(const QString&,const QString&,QKeySequence,QObject *,const char *,bool);
	~sipQAction();
	void customEvent(QCustomEvent *);
	void childEvent(QChildEvent *);
	void timerEvent(QTimerEvent *);
	QVariant property(const char *) const;
	bool setProperty(const char *,const QVariant&);
	void removeChild(QObject *);
	void insertChild(QObject *);
	void setName(const char *);
	bool eventFilter(QObject *,QEvent *);
	bool event(QEvent *);
	void setEnabled(bool);
	static void sipVH_setEnabled(const sipMethodCache *,sipThisType *,bool);
	void setOn(bool);
	static void sipVH_setOn(const sipMethodCache *,sipThisType *,bool);
	void addedTo(int,QPopupMenu *);
	static void sipVH_addedTo(const sipMethodCache *,sipThisType *,int,QPopupMenu *);
	void addedTo(QWidget *,QWidget *);
	static void sipVH_addedTo(const sipMethodCache *,sipThisType *,QWidget *,QWidget *);
	bool removeFrom(QWidget *);
	static bool sipVH_removeFrom(const sipMethodCache *,sipThisType *,QWidget *);
	bool addTo(QWidget *);
	static bool sipVH_addTo(const sipMethodCache *,sipThisType *,QWidget *);
	void setToggleAction(bool);
	static void sipVH_setToggleAction(const sipMethodCache *,sipThisType *,bool);
	void setAccel(const QKeySequence&);
	static void sipVH_setAccel(const sipMethodCache *,sipThisType *,const QKeySequence&);
	void setWhatsThis(const QString&);
	static void sipVH_setWhatsThis(const sipMethodCache *,sipThisType *,const QString&);
	void setStatusTip(const QString&);
	static void sipVH_setStatusTip(const sipMethodCache *,sipThisType *,const QString&);
	void setToolTip(const QString&);
	static void sipVH_setToolTip(const sipMethodCache *,sipThisType *,const QString&);
	void setMenuText(const QString&);
	static void sipVH_setMenuText(const sipMethodCache *,sipThisType *,const QString&);
	void setText(const QString&);
	static void sipVH_setText(const sipMethodCache *,sipThisType *,const QString&);
	void setIconSet(const QIconSet&);
	static void sipVH_setIconSet(const sipMethodCache *,sipThisType *,const QIconSet&);

	// There is a public member function for every protected member
	// function visible from this class.

	const QObject * sipProtect_sender();
	void sipProtect_timerEvent(QTimerEvent *);
	void sipProtect_childEvent(QChildEvent *);
	void sipProtect_customEvent(QCustomEvent *);
	void sipProtect_addedTo(QWidget *,QWidget *);
	void sipProtect_addedTo(int,QPopupMenu *);

	// There is a public member function for every Qt signal that can be
	// emitted by this object.  This function is called by Python to emit
	// the signal.

	int sipEmit_destroyed(PyObject *sipArgs);
	int sipEmit_activated(PyObject *sipArgs);
	int sipEmit_toggled(PyObject *sipArgs);

	sipThisType *sipPyThis;

private:
	sipQAction(const sipQAction &);
	sipQAction &operator = (const sipQAction &);

	sipMethodCache sipPyMethods[24];
};

extern SIP_IMPORT QAction *sipForceConvertTo_QAction Py_PROTO((PyObject *,int *));

#endif
