From 203ba231d0276943aae36111f9ec1e949f3c6a4c Mon Sep 17 00:00:00 2001 From: Timothy Pearson Date: Sat, 3 Dec 2011 22:23:44 -0600 Subject: Initial TQt conversion --- sip/tdeui/kdialogbase.sip | 106 +++++++++++++++++++++++----------------------- 1 file changed, 53 insertions(+), 53 deletions(-) (limited to 'sip/tdeui/kdialogbase.sip') diff --git a/sip/tdeui/kdialogbase.sip b/sip/tdeui/kdialogbase.sip index 44d7d3c..7ffba42 100644 --- a/sip/tdeui/kdialogbase.sip +++ b/sip/tdeui/kdialogbase.sip @@ -80,33 +80,33 @@ public: public: - KDialogBase (QWidget* /TransferThis/ = 0, const char* = 0, bool = 1, const QString& = QString ::null , int = Ok |Apply |Cancel , KDialogBase::ButtonCode = Ok , bool = 0, const KGuiItem& = KGuiItem (), const KGuiItem& = KGuiItem (), const KGuiItem& = KGuiItem ()); - KDialogBase (int, const QString&, int, KDialogBase::ButtonCode, QWidget* /TransferThis/ = 0, const char* = 0, bool = 1, bool = 0, const KGuiItem& = KGuiItem (), const KGuiItem& = KGuiItem (), const KGuiItem& = KGuiItem ()); + KDialogBase (TQWidget* /TransferThis/ = 0, const char* = 0, bool = 1, const TQString& = TQString ::null , int = Ok |Apply |Cancel , KDialogBase::ButtonCode = Ok , bool = 0, const KGuiItem& = KGuiItem (), const KGuiItem& = KGuiItem (), const KGuiItem& = KGuiItem ()); + KDialogBase (int, const TQString&, int, KDialogBase::ButtonCode, TQWidget* /TransferThis/ = 0, const char* = 0, bool = 1, bool = 0, const KGuiItem& = KGuiItem (), const KGuiItem& = KGuiItem (), const KGuiItem& = KGuiItem ()); %If ( KDE_3_2_0 - ) - KDialogBase (KDialogBase::DialogType, WFlags, QWidget* /TransferThis/ = 0, const char* = 0, bool = 1, const QString& = QString ::null , int = Ok |Apply |Cancel , KDialogBase::ButtonCode = Ok , bool = 0, const KGuiItem& = KGuiItem (), const KGuiItem& = KGuiItem (), const KGuiItem& = KGuiItem ()); + KDialogBase (KDialogBase::DialogType, WFlags, TQWidget* /TransferThis/ = 0, const char* = 0, bool = 1, const TQString& = TQString ::null , int = Ok |Apply |Cancel , KDialogBase::ButtonCode = Ok , bool = 0, const KGuiItem& = KGuiItem (), const KGuiItem& = KGuiItem (), const KGuiItem& = KGuiItem ()); %End - KDialogBase (const QString&, int = Yes |No |Cancel , KDialogBase::ButtonCode = Yes , KDialogBase::ButtonCode = Cancel , QWidget* /TransferThis/ = 0, const char* = 0, bool = 1, bool = 0, const KGuiItem& = KStdGuiItem ::yes (), const KGuiItem& = KStdGuiItem ::no (), const KGuiItem& = KStdGuiItem ::cancel ()); + KDialogBase (const TQString&, int = Yes |No |Cancel , KDialogBase::ButtonCode = Yes , KDialogBase::ButtonCode = Cancel , TQWidget* /TransferThis/ = 0, const char* = 0, bool = 1, bool = 0, const KGuiItem& = KStdGuiItem ::yes (), const KGuiItem& = KStdGuiItem ::no (), const KGuiItem& = KStdGuiItem ::cancel ()); void setButtonBoxOrientation (int); void setEscapeButton (KDialogBase::ButtonCode); virtual void adjustSize (); - virtual QSize sizeHint () const; - virtual QSize minimumSizeHint () const; - QFrame* plainPage (); - QFrame* addPage (const QString&, const QString& = QString ::null , const QPixmap& = QPixmap ()); - QFrame* addPage (const QStringList&, const QString& = QString ::null , const QPixmap& = QPixmap ()); - QVBox* addVBoxPage (const QString&, const QString& = QString ::null , const QPixmap& = QPixmap ()); - QVBox* addVBoxPage (const QStringList&, const QString& = QString ::null , const QPixmap& = QPixmap ()); - QHBox* addHBoxPage (const QString&, const QString& = QString ::null , const QPixmap& = QPixmap ()); - QHBox* addHBoxPage (const QStringList&, const QString& = QString ::null , const QPixmap& = QPixmap ()); - QGrid* addGridPage (int, Qt::Orientation, const QString&, const QString& = QString ::null , const QPixmap& = QPixmap ()); - QGrid* addGridPage (int, Qt::Orientation, const QStringList&, const QString& = QString ::null , const QPixmap& = QPixmap ()); - void setFolderIcon (const QStringList&, const QPixmap&); - QFrame* makeMainWidget (); - QVBox* makeVBoxMainWidget (); - QHBox* makeHBoxMainWidget (); - QGrid* makeGridMainWidget (int, Qt::Orientation); + virtual TQSize sizeHint () const; + virtual TQSize minimumSizeHint () const; + TQFrame* plainPage (); + TQFrame* addPage (const TQString&, const TQString& = TQString ::null , const TQPixmap& = TQPixmap ()); + TQFrame* addPage (const TQStringList&, const TQString& = TQString ::null , const TQPixmap& = TQPixmap ()); + TQVBox* addVBoxPage (const TQString&, const TQString& = TQString ::null , const TQPixmap& = TQPixmap ()); + TQVBox* addVBoxPage (const TQStringList&, const TQString& = TQString ::null , const TQPixmap& = TQPixmap ()); + TQHBox* addHBoxPage (const TQString&, const TQString& = TQString ::null , const TQPixmap& = TQPixmap ()); + TQHBox* addHBoxPage (const TQStringList&, const TQString& = TQString ::null , const TQPixmap& = TQPixmap ()); + TQGrid* addGridPage (int, TQt::Orientation, const TQString&, const TQString& = TQString ::null , const TQPixmap& = TQPixmap ()); + TQGrid* addGridPage (int, TQt::Orientation, const TQStringList&, const TQString& = TQString ::null , const TQPixmap& = TQPixmap ()); + void setFolderIcon (const TQStringList&, const TQPixmap&); + TQFrame* makeMainWidget (); + TQVBox* makeVBoxMainWidget (); + TQHBox* makeHBoxMainWidget (); + TQGrid* makeGridMainWidget (int, TQt::Orientation); void enableButtonSeparator (bool); void showButton (KDialogBase::ButtonCode, bool); void showButtonOK (bool); @@ -114,41 +114,41 @@ public: void showButtonCancel (bool); bool showPage (int); int activePageIndex () const; - int pageIndex (QWidget*) const; - void setMainWidget (QWidget*); - QWidget* mainWidget (); + int pageIndex (TQWidget*) const; + void setMainWidget (TQWidget*); + TQWidget* mainWidget (); void disableResize (); - void setInitialSize (const QSize&, bool = 0); - void incInitialSize (const QSize&, bool = 0); - QSize configDialogSize (const QString&) const; + void setInitialSize (const TQSize&, bool = 0); + void incInitialSize (const TQSize&, bool = 0); + TQSize configDialogSize (const TQString&) const; %If ( KDE_3_2_0 - ) - QSize configDialogSize (KConfig&, const QString&) const; + TQSize configDialogSize (KConfig&, const TQString&) const; %End - void saveDialogSize (const QString&, bool = 0); + void saveDialogSize (const TQString&, bool = 0); %If ( KDE_3_2_0 - ) - void saveDialogSize (KConfig&, const QString&, bool = 0) const; + void saveDialogSize (KConfig&, const TQString&, bool = 0) const; void setButtonOK (const KGuiItem& = KStdGuiItem ::ok ()); %End - void setButtonOKText (const QString& = QString ::null , const QString& = QString ::null , const QString& = QString ::null ); + void setButtonOKText (const TQString& = TQString ::null , const TQString& = TQString ::null , const TQString& = TQString ::null ); %If ( KDE_3_2_0 - ) void setButtonApply (const KGuiItem& = KStdGuiItem ::apply ()); %End - void setButtonApplyText (const QString& = QString ::null , const QString& = QString ::null , const QString& = QString ::null ); + void setButtonApplyText (const TQString& = TQString ::null , const TQString& = TQString ::null , const TQString& = TQString ::null ); %If ( KDE_3_2_0 - ) void setButtonCancel (const KGuiItem& = KStdGuiItem ::cancel ()); %End - void setButtonCancelText (const QString& = QString ::null , const QString& = QString ::null , const QString& = QString ::null ); - void setButtonText (KDialogBase::ButtonCode, const QString&); - void setButtonTip (KDialogBase::ButtonCode, const QString&); - void setButtonWhatsThis (KDialogBase::ButtonCode, const QString&); + void setButtonCancelText (const TQString& = TQString ::null , const TQString& = TQString ::null , const TQString& = TQString ::null ); + void setButtonText (KDialogBase::ButtonCode, const TQString&); + void setButtonTip (KDialogBase::ButtonCode, const TQString&); + void setButtonWhatsThis (KDialogBase::ButtonCode, const TQString&); %If ( KDE_3_3_0 - ) void setButtonGuiItem (KDialogBase::ButtonCode, const KGuiItem&); @@ -160,22 +160,22 @@ public: %If ( KDE_3_2_0 - ) void unfoldTreeList (bool = 0); - void addWidgetBelowList (QWidget*); - void addButtonBelowList (const QString&, QObject*, const char*); - void addButtonBelowList (const KGuiItem&, QObject*, const char*); + void addWidgetBelowList (TQWidget*); + void addButtonBelowList (const TQString&, TQObject*, const char*); + void addButtonBelowList (const KGuiItem&, TQObject*, const char*); %End void setIconListAllVisible (bool); static bool haveBackgroundTile (); - static const QPixmap* backgroundTile (); - static const QPixmap* getBackgroundTile (); - static void setBackgroundTile (const QPixmap*); + static const TQPixmap* backgroundTile (); + static const TQPixmap* getBackgroundTile (); + static void setBackgroundTile (const TQPixmap*); void showTile (bool); void getBorderWidths (int&, int&, int&, int&) const; - QRect getContentsRect (); - QSize calculateSize (int, int); - QString helpLinkText (); - QPushButton* actionButton (KDialogBase::ButtonCode); + TQRect getContentsRect (); + TQSize calculateSize (int, int); + TQString helpLinkText (); + TQPushButton* actionButton (KDialogBase::ButtonCode); public slots: void enableButton (KDialogBase::ButtonCode, bool); @@ -188,11 +188,11 @@ public slots: void delayedDestruct (); %End - void setHelpLinkText (const QString&); - void setHelp (const QString&, const QString& = QString ::null ); - void helpClickedSlot (const QString&); + void setHelpLinkText (const TQString&); + void setHelp (const TQString&, const TQString& = TQString ::null ); + void helpClickedSlot (const TQString&); void setDetails (bool); - void setDetailsWidget (QWidget*); + void setDetailsWidget (TQWidget*); void updateBackground (); %If ( KDE_3_1_0 - ) @@ -218,12 +218,12 @@ signals: void hidden (); void finished (); void aboutToShowDetails (); - void aboutToShowPage (QWidget*); + void aboutToShowPage (TQWidget*); protected: - virtual void keyPressEvent (QKeyEvent*); - virtual void hideEvent (QHideEvent*); - virtual void closeEvent (QCloseEvent*); + virtual void keyPressEvent (TQKeyEvent*); + virtual void hideEvent (TQHideEvent*); + virtual void closeEvent (TQCloseEvent*); protected slots: virtual void slotHelp (); -- cgit v1.2.1