KDEUI
kdialogbuttonbox.h
Go to the documentation of this file.00001
00002
00003
00004
00005
00006
00007
00008
00009
00010
00011
00012
00013
00014
00015
00016
00017
00018
00019
00020
00021 #ifndef KDIALOGBUTTONBOX_H
00022 #define KDIALOGBUTTONBOX_H
00023
00024 #include <kdeui_export.h>
00025
00026 #include <QtGui/QDialogButtonBox>
00027
00028 class QPushButton;
00029 class KPushButton;
00030 class KGuiItem;
00031
00032 class KDialogButtonBoxPrivate;
00043 class KDEUI_EXPORT KDialogButtonBox : public QDialogButtonBox
00044 {
00045 Q_OBJECT
00046
00047 public:
00055 explicit KDialogButtonBox(QWidget *parent, Qt::Orientation _orientation = Qt::Horizontal);
00056
00060 ~KDialogButtonBox();
00061
00075 QPushButton *addButton(const QString& text, ButtonRole role, QObject * receiver, const char * slot);
00076
00090 KPushButton *addButton(const KGuiItem& guiitem,ButtonRole role, QObject * receiver=0, const char * slot=0);
00091
00092 using QDialogButtonBox::addButton;
00093
00094 private:
00095 KDialogButtonBoxPrivate* const d;
00096 };
00097
00098 #endif
00099