// C++ interface header file.
//
// Generated by SIP 3.7 (build 102) on Fri Jul 25 00:26:04 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 _qtQProgressBar_h
#define	_qtQProgressBar_h

#line 35 "sip/qprogressbar.sip"
#include <qprogressbar.h>
#line 30 "sipqtQProgressBar.h"

#include "sipqtQFrame.h"
#include "sipqtQWidget.h"
#include "sipqtQString.h"
#include "sipqtQSize.h"
#include "sipqtQPainter.h"
#include "sipqtQStyle.h"


extern SIP_IMPORT sipLazyAttrDef sipClassAttrTab_QProgressBar;

extern SIP_IMPORT const void *sipCast_QProgressBar Py_PROTO((const void *,PyObject *));
extern SIP_IMPORT PyObject *sipNew_QProgressBar Py_PROTO((PyObject *,PyObject *));


class SIP_IMPORT sipQProgressBar : public QProgressBar
{
public:
	sipQProgressBar(QWidget *,const char *,unsigned);
	sipQProgressBar(int,QWidget *,const char *,unsigned);
	~sipQProgressBar();
	int resolution() const;
	void setResolution(int);
	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 setMicroFocusHint(int,int,int,int,bool,QFont *);
	void setKeyCompression(bool);
	void setWFlags(unsigned);
	void setWState(unsigned);
	void destroy(bool,bool);
	void create(unsigned long,bool,bool);
	void styleChange(QStyle&);
	void updateMask();
	void hideEvent(QHideEvent *);
	void showEvent(QShowEvent *);
	void dropEvent(QDropEvent *);
	void dragLeaveEvent(QDragLeaveEvent *);
	void dragMoveEvent(QDragMoveEvent *);
	void dragEnterEvent(QDragEnterEvent *);
	void wheelEvent(QWheelEvent *);
	bool focusNextPrevChild(bool);
	void windowActivationChange(bool);
	void fontChange(const QFont&);
	void paletteChange(const QPalette&);
	void enabledChange(bool);
	void tabletEvent(QTabletEvent *);
	void imEndEvent(QIMEvent *);
	void imComposeEvent(QIMEvent *);
	void imStartEvent(QIMEvent *);
	void contextMenuEvent(QContextMenuEvent *);
	void closeEvent(QCloseEvent *);
	void resizeEvent(QResizeEvent *);
	void moveEvent(QMoveEvent *);
	void paintEvent(QPaintEvent *);
	void leaveEvent(QEvent *);
	void enterEvent(QEvent *);
	void focusOutEvent(QFocusEvent *);
	void focusInEvent(QFocusEvent *);
	void keyReleaseEvent(QKeyEvent *);
	void keyPressEvent(QKeyEvent *);
	void mouseMoveEvent(QMouseEvent *);
	void mouseDoubleClickEvent(QMouseEvent *);
	void mouseReleaseEvent(QMouseEvent *);
	void mousePressEvent(QMouseEvent *);
	void setGeometry(const QRect&);
	void polish();
	void showNormal();
	void showMaximized();
	void showMinimized();
	void setUpdatesEnabled(bool);
	void setFocus();
	void setMouseTracking(bool);
	void setIconText(const QString&);
	void setIcon(const QPixmap&);
	void setCaption(const QString&);
	void setGeometry(int,int,int,int);
	void resize(int,int);
	void move(int,int);
	void hide();
	void show();
	void setEnabled(bool);
	void adjustSize();
	void setBackgroundOrigin(QWidget::BackgroundOrigin);
	bool customWhatsThis() const;
	void setAutoMask(bool);
	void setAcceptDrops(bool);
	void reparent(QWidget *,unsigned,const QPoint&,bool);
	int heightForWidth(int) const;
	void setSizePolicy(QSizePolicy);
	QSizePolicy sizePolicy() const;
	QSize minimumSizeHint() const;
	bool close(bool);
	void setFocusProxy(QWidget *);
	void setFocusPolicy(QWidget::FocusPolicy);
	void setActiveWindow();
	void setMask(const QRegion&);
	void setMask(const QBitmap&);
	void unsetCursor();
	void setBackgroundMode(Qt::BackgroundMode);
	void setSizeIncrement(int,int);
	void setMaximumSize(int,int);
	void setMinimumSize(int,int);
	QSize sizeHint() const;
	void setCursor(const QCursor&);
	void setFont(const QFont&);
	void setPaletteBackgroundPixmap(const QPixmap&);
	void setPaletteBackgroundColor(const QColor&);
	void setPalette(const QPalette&);
	void setErasePixmap(const QPixmap&);
	void setEraseColor(const QColor&);
	void frameChanged();
	void drawContents(QPainter *);
	void drawFrame(QPainter *);
	void setFrameRect(const QRect&);
	void setMidLineWidth(int);
	void setMargin(int);
	void setLineWidth(int);
	void setFrameStyle(int);
	bool setIndicator(QString&,int,int);
	static bool sipVH_setIndicator(const sipMethodCache *,sipThisType *,QString&,int,int);
	void setProgress(int);
	static void sipVH_setProgress(const sipMethodCache *,sipThisType *,int);
	void setTotalSteps(int);
	static void sipVH_setTotalSteps(const sipMethodCache *,sipThisType *,int);

	// 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 *);
	bool sipProtect_event(QEvent *);
	void sipProtect_mousePressEvent(QMouseEvent *);
	void sipProtect_mouseReleaseEvent(QMouseEvent *);
	void sipProtect_mouseDoubleClickEvent(QMouseEvent *);
	void sipProtect_mouseMoveEvent(QMouseEvent *);
	void sipProtect_keyPressEvent(QKeyEvent *);
	void sipProtect_keyReleaseEvent(QKeyEvent *);
	void sipProtect_focusInEvent(QFocusEvent *);
	void sipProtect_focusOutEvent(QFocusEvent *);
	void sipProtect_enterEvent(QEvent *);
	void sipProtect_leaveEvent(QEvent *);
	void sipProtect_moveEvent(QMoveEvent *);
	void sipProtect_closeEvent(QCloseEvent *);
	void sipProtect_contextMenuEvent(QContextMenuEvent *);
	void sipProtect_imStartEvent(QIMEvent *);
	void sipProtect_imComposeEvent(QIMEvent *);
	void sipProtect_imEndEvent(QIMEvent *);
	void sipProtect_tabletEvent(QTabletEvent *);
	void sipProtect_enabledChange(bool);
	void sipProtect_paletteChange(const QPalette&);
	void sipProtect_fontChange(const QFont&);
	void sipProtect_windowActivationChange(bool);
	void sipProtect_resetInputContext();
	unsigned sipProtect_getWFlags();
	void sipProtect_clearWFlags(unsigned);
	bool sipProtect_focusNextPrevChild(bool);
	void sipProtect_wheelEvent(QWheelEvent *);
	void sipProtect_dragEnterEvent(QDragEnterEvent *);
	void sipProtect_dragMoveEvent(QDragMoveEvent *);
	void sipProtect_dragLeaveEvent(QDragLeaveEvent *);
	void sipProtect_dropEvent(QDropEvent *);
	void sipProtect_showEvent(QShowEvent *);
	void sipProtect_hideEvent(QHideEvent *);
	void sipProtect_updateMask();
	int sipProtect_metric(int);
	void sipProtect_create(unsigned long,bool,bool);
	void sipProtect_destroy(bool,bool);
	unsigned sipProtect_getWState();
	void sipProtect_setWState(unsigned);
	void sipProtect_clearWState(unsigned);
	void sipProtect_setWFlags(unsigned);
	void sipProtect_setKeyCompression(bool);
	void sipProtect_setMicroFocusHint(int,int,int,int,bool,QFont *);
	void sipProtect_paintEvent(QPaintEvent *);
	void sipProtect_resizeEvent(QResizeEvent *);
	void sipProtect_drawFrame(QPainter *);
	void sipProtect_frameChanged();
	void sipProtect_drawContents(QPainter *);
	bool sipProtect_setIndicator(QString&,int,int);
	void sipProtect_styleChange(QStyle&);

	// 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);

	sipThisType *sipPyThis;

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

	sipMethodCache sipPyMethods[108];
};

extern SIP_IMPORT QProgressBar *sipForceConvertTo_QProgressBar Py_PROTO((PyObject *,int *));

#endif
