okular/pushbutton.h
Stephan Kulow cef9d1148f CVS_SILENT ported to Qt 2.0
svn path=/trunk/kdegraphics/kdvi/; revision=17396
1999-03-01 23:45:56 +00:00

33 lines
650 B
C++

/****************************************************************************
**
** An enhanced pushbutton.
**
** Copyright (C) 1997 by Markku Hihnala.
** This class is freely distributable under the GNU Public License.
**
*****************************************************************************/
#ifndef PUSHBUTTON_H
#define PUSHBUTTON_H
#include <qpushbutton.h>
#include <qpopupmenu.h>
class PushButton: public QPushButton
{
Q_OBJECT
public:
PushButton( QWidget * parent = 0, const char * name = 0 );
signals:
void button3Pressed( QPoint );
protected:
void mousePressEvent ( QMouseEvent *);
private:
QPopupMenu* menu;
};
#endif