summaryrefslogtreecommitdiffstats
path: root/sip/qt/qmessagebox.sip
diff options
context:
space:
mode:
Diffstat (limited to 'sip/qt/qmessagebox.sip')
-rw-r--r--sip/qt/qmessagebox.sip65
1 files changed, 0 insertions, 65 deletions
diff --git a/sip/qt/qmessagebox.sip b/sip/qt/qmessagebox.sip
index 4070768..5844107 100644
--- a/sip/qt/qmessagebox.sip
+++ b/sip/qt/qmessagebox.sip
@@ -43,22 +43,13 @@ public:
Information,
Warning,
Critical,
-%If (TQt_3_2_0 -)
Question,
-%End
};
TQMessageBox(TQWidget * /TransferThis/ = 0,const char * = 0);
-%If (- TQt_2_00)
- TQMessageBox(const char *,const char *,Icon,int,int,int,
- TQWidget * /TransferThis/ = 0,const char * = 0,bool = 1,
- WFlags = 0);
-%End
-%If (TQt_2_00 -)
TQMessageBox(const TQString &,const TQString &,Icon,int,int,int,
TQWidget * /TransferThis/ = 0,const char * = 0,bool = 1,
WFlags = WStyle_DialogBorder);
-%End
enum {
Ok,
@@ -68,42 +59,14 @@ public:
Abort,
Retry,
Ignore,
-%If (TQt_3_2_0 -)
YesAll,
NoAll,
-%End
ButtonMask,
Default,
Escape,
FlagMask
};
-%If (- TQt_2_00)
- static int information(TQWidget *,const char *,const char *,int,int = 0,
- int = 0) /ReleaseGIL/;
- static int information(TQWidget *,const char *,const char *,
- const char * = "OK",const char * = 0,
- const char * = 0,int = 0,int = -1) /ReleaseGIL/;
-
- static int warning(TQWidget *,const char *,const char *,int,int,
- int = 0) /ReleaseGIL/;
- static int warning(TQWidget *,const char *,const char *,
- const char * = "OK",const char * = 0,
- const char * = 0,int = 0,int = -1) /ReleaseGIL/;
-
- static int critical(TQWidget *,const char *,const char *,int,int,
- int = 0) /ReleaseGIL/;
- static int critical(TQWidget *,const char *,const char *,
- const char * = "OK",const char * = 0,
- const char * = 0,int = 0,int = -1) /ReleaseGIL/;
-
- static void about(TQWidget *,const char *,const char *) /ReleaseGIL/;
- static void aboutTQt(TQWidget *,const char * = 0) /ReleaseGIL/;
-
- const char *text() const;
- void setText(const char *);
-%End
-%If (TQt_2_00 -)
static int information(TQWidget *,const TQString &,const TQString &,int,
int = 0,int = 0) /ReleaseGIL/;
static int information(TQWidget *,const TQString &,const TQString &,
@@ -112,7 +75,6 @@ public:
const TQString & = TQString::null,
int = 0,int = -1) /ReleaseGIL/;
-%If (TQt_3_2_0 -)
static int question(TQWidget *,const TQString &,const TQString &,int,
int = 0,int = 0) /ReleaseGIL/;
static int question(TQWidget *,const TQString &,const TQString &,
@@ -120,7 +82,6 @@ public:
const TQString & = TQString::null,
const TQString & = TQString::null,
int = 0,int = -1) /ReleaseGIL/;
-%End
static int warning(TQWidget *,const TQString &,const TQString &,int,
int = 0,int = 0) /ReleaseGIL/;
@@ -145,57 +106,31 @@ public:
TQString text() const;
void setText(const TQString &);
-%End
Icon icon() const;
void setIcon(Icon);
-%If (TQt_2_00 -)
void setIcon(const TQPixmap &);
-%End
const TQPixmap *iconPixmap() const;
void setIconPixmap(const TQPixmap &);
-%If (- TQt_2_00)
- const char *buttonText(int) const;
- void setButtonText(int,const char *);
-%End
-%If (TQt_2_00 -)
TQString buttonText(int) const;
void setButtonText(int,const TQString &);
-%End
void adjustSize();
-%If (- TQt_3_0_0)
- static TQPixmap standardIcon(Icon,GUIStyle);
-%End
-%If (TQt_3_0_0 -)
static TQPixmap standardIcon(Icon);
-%End
-%If (TQt_2_1_0 -)
TextFormat textFormat() const;
void setTextFormat(TextFormat);
-%End
-
-%If (- TQt_2_00)
- void setStyle(GUIStyle);
-%End
protected:
void resizeEvent(TQResizeEvent *);
-%If (TQt_3_0_0 -)
void showEvent(TQShowEvent *);
-%End
-%If (TQt_3_2_0 -)
void closeEvent(TQCloseEvent *);
-%End
void keyPressEvent(TQKeyEvent *);
-%If (TQt_2_00 -)
void styleChanged(TQStyle &);
-%End
private:
TQMessageBox(const TQMessageBox &);