diff options
Diffstat (limited to 'sip/tdeui')
123 files changed, 2208 insertions, 2208 deletions
diff --git a/sip/tdeui/kaboutapplication.sip b/sip/tdeui/kaboutapplication.sip index c7dfb8d..3d7d5ef 100644 --- a/sip/tdeui/kaboutapplication.sip +++ b/sip/tdeui/kaboutapplication.sip @@ -32,8 +32,8 @@ class KAboutApplication : KAboutDialog public: - KAboutApplication (QWidget* /TransferThis/ = 0, const char* = 0, bool = 1); - KAboutApplication (const KAboutData*, QWidget* /TransferThis/ = 0, const char* = 0, bool = 1); + KAboutApplication (TQWidget* /TransferThis/ = 0, const char* = 0, bool = 1); + KAboutApplication (const KAboutData*, TQWidget* /TransferThis/ = 0, const char* = 0, bool = 1); protected: void buildDialog (const KAboutData*); diff --git a/sip/tdeui/kaboutdialog.sip b/sip/tdeui/kaboutdialog.sip index e1dd76b..cc07e28 100644 --- a/sip/tdeui/kaboutdialog.sip +++ b/sip/tdeui/kaboutdialog.sip @@ -24,7 +24,7 @@ // 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. -class KAboutContainer : QFrame +class KAboutContainer : TQFrame { %TypeHeaderCode #include <kaboutdialog.h> @@ -32,25 +32,25 @@ class KAboutContainer : QFrame public: - KAboutContainer (QWidget* /TransferThis/ = 0, const char* = 0, int = 0, int = 0, int = AlignCenter , int = AlignCenter ); - void addWidget (QWidget*); - void addPerson (const QString&, const QString&, const QString&, const QString&, bool = 0, bool = 0, bool = 0); - void addTitle (const QString&, int = AlignLeft , bool = 0, bool = 0); - void addImage (const QString&, int = AlignLeft ); - virtual QSize sizeHint () const; - virtual QSize minimumSizeHint () const; + KAboutContainer (TQWidget* /TransferThis/ = 0, const char* = 0, int = 0, int = 0, int = AlignCenter , int = AlignCenter ); + void addWidget (TQWidget*); + void addPerson (const TQString&, const TQString&, const TQString&, const TQString&, bool = 0, bool = 0, bool = 0); + void addTitle (const TQString&, int = AlignLeft , bool = 0, bool = 0); + void addImage (const TQString&, int = AlignLeft ); + virtual TQSize sizeHint () const; + virtual TQSize minimumSizeHint () const; protected: - virtual void childEvent (QChildEvent*); + virtual void childEvent (TQChildEvent*); signals: - void urlClick (const QString&); - void mailClick (const QString&, const QString&); + void urlClick (const TQString&); + void mailClick (const TQString&, const TQString&); }; // class KAboutContainer -class KAboutContributor : QFrame +class KAboutContributor : TQFrame { %TypeHeaderCode #include <kaboutdialog.h> @@ -58,32 +58,32 @@ class KAboutContributor : QFrame public: - KAboutContributor (QWidget* /TransferThis/ = 0, const char* = 0, const QString& = QString ::null , const QString& = QString ::null , const QString& = QString ::null , const QString& = QString ::null , bool = 0, bool = 1, bool = 0); - void setName (const QString&, const QString& = QString ::null , bool = 1); - void setEmail (const QString&, const QString& = QString ::null , bool = 1); - void setURL (const QString&, const QString& = QString ::null , bool = 1); - void setWork (const QString&, const QString& = QString ::null , bool = 1); - QString getName (); - QString getEmail (); - QString getURL (); - QString getWork (); - virtual QSize sizeHint () const; + KAboutContributor (TQWidget* /TransferThis/ = 0, const char* = 0, const TQString& = TQString ::null , const TQString& = TQString ::null , const TQString& = TQString ::null , const TQString& = TQString ::null , bool = 0, bool = 1, bool = 0); + void setName (const TQString&, const TQString& = TQString ::null , bool = 1); + void setEmail (const TQString&, const TQString& = TQString ::null , bool = 1); + void setURL (const TQString&, const TQString& = TQString ::null , bool = 1); + void setWork (const TQString&, const TQString& = TQString ::null , bool = 1); + TQString getName (); + TQString getEmail (); + TQString getURL (); + TQString getWork (); + virtual TQSize sizeHint () const; protected: - virtual void fontChange (const QFont&); + virtual void fontChange (const TQFont&); protected slots: - void urlClickedSlot (const QString&); - void emailClickedSlot (const QString&); + void urlClickedSlot (const TQString&); + void emailClickedSlot (const TQString&); signals: - void sendEmail (const QString&, const QString&); - void openURL (const QString&); + void sendEmail (const TQString&, const TQString&); + void openURL (const TQString&); }; // class KAboutContributor -class KAboutWidget : QWidget +class KAboutWidget : TQWidget { %TypeHeaderCode #include <kaboutdialog.h> @@ -91,24 +91,24 @@ class KAboutWidget : QWidget public: - KAboutWidget (QWidget* /TransferThis/ = 0, const char* = 0); + KAboutWidget (TQWidget* /TransferThis/ = 0, const char* = 0); void adjust (); - void setLogo (const QPixmap&); - void setAuthor (const QString&, const QString&, const QString&, const QString&); - void setMaintainer (const QString&, const QString&, const QString&, const QString&); - void addContributor (const QString&, const QString&, const QString&, const QString&); - void setVersion (const QString&); + void setLogo (const TQPixmap&); + void setAuthor (const TQString&, const TQString&, const TQString&, const TQString&); + void setMaintainer (const TQString&, const TQString&, const TQString&, const TQString&); + void addContributor (const TQString&, const TQString&, const TQString&, const TQString&); + void setVersion (const TQString&); protected slots: - void sendEmailSlot (const QString&, const QString&); - void openURLSlot (const QString&); + void sendEmailSlot (const TQString&, const TQString&); + void openURLSlot (const TQString&); signals: - void sendEmail (const QString&, const QString&); - void openURL (const QString&); + void sendEmail (const TQString&, const TQString&); + void openURL (const TQString&); protected: - void resizeEvent (QResizeEvent*); + void resizeEvent (TQResizeEvent*); }; // class KAboutWidget @@ -138,50 +138,50 @@ public: public: - KAboutDialog (QWidget* /TransferThis/ = 0, const char* = 0, bool = 1); - KAboutDialog (int, const QString&, int, ButtonCode, QWidget* /TransferThis/ = 0, const char* = 0, bool = 0, bool = 0, const QString& = QString ::null , const QString& = QString ::null , const QString& = QString ::null ); + KAboutDialog (TQWidget* /TransferThis/ = 0, const char* = 0, bool = 1); + KAboutDialog (int, const TQString&, int, ButtonCode, TQWidget* /TransferThis/ = 0, const char* = 0, bool = 0, bool = 0, const TQString& = TQString ::null , const TQString& = TQString ::null , const TQString& = TQString ::null ); void adjust (); virtual void show (); - virtual void show (QWidget*); - void setTitle (const QString&); - void setImage (const QString&); + virtual void show (TQWidget*); + void setTitle (const TQString&); + void setImage (const TQString&); %If ( KDE_3_3_0 - ) - void setIcon (const QString&); + void setIcon (const TQString&); %If ( KDE_3_4_0 - ) - void setProgramLogo (const QString&); - void setProgramLogo (const QPixmap&); + void setProgramLogo (const TQString&); + void setProgramLogo (const TQPixmap&); %End %End - void setImageBackgroundColor (const QColor&); + void setImageBackgroundColor (const TQColor&); void setImageFrame (bool); - void setProduct (const QString&, const QString&, const QString&, const QString&); - QFrame* addTextPage (const QString&, const QString&, bool = 0, int = 10); - QFrame* addLicensePage (const QString&, const QString&, int = 10); - KAboutContainer* addContainerPage (const QString&, int = AlignCenter , int = AlignCenter ); - KAboutContainer* addScrolledContainerPage (const QString&, int = AlignCenter , int = AlignCenter ); + void setProduct (const TQString&, const TQString&, const TQString&, const TQString&); + TQFrame* addTextPage (const TQString&, const TQString&, bool = 0, int = 10); + TQFrame* addLicensePage (const TQString&, const TQString&, int = 10); + KAboutContainer* addContainerPage (const TQString&, int = AlignCenter , int = AlignCenter ); + KAboutContainer* addScrolledContainerPage (const TQString&, int = AlignCenter , int = AlignCenter ); KAboutContainer* addContainer (int, int); - QFrame* addPage (const QString&); - void setLogo (const QPixmap&); - void setAuthor (const QString&, const QString&, const QString&, const QString&); - void setMaintainer (const QString&, const QString&, const QString&, const QString&); - void addContributor (const QString&, const QString&, const QString&, const QString&); - void setVersion (const QString&); - static void imageURL (QWidget* /Transfer/, const QString&, const QString&, const QColor&, const QString&); + TQFrame* addPage (const TQString&); + void setLogo (const TQPixmap&); + void setAuthor (const TQString&, const TQString&, const TQString&, const TQString&); + void setMaintainer (const TQString&, const TQString&, const TQString&, const TQString&); + void addContributor (const TQString&, const TQString&, const TQString&, const TQString&); + void setVersion (const TQString&); + static void imageURL (TQWidget* /Transfer/, const TQString&, const TQString&, const TQColor&, const TQString&); signals: - void sendEmail (const QString&, const QString&); - void openURL (const QString&); + void sendEmail (const TQString&, const TQString&); + void openURL (const TQString&); protected: protected slots: - void sendEmailSlot (const QString&, const QString&); - void openURLSlot (const QString&); - virtual void mouseTrackSlot (int, const QMouseEvent*); + void sendEmailSlot (const TQString&, const TQString&); + void openURLSlot (const TQString&); + virtual void mouseTrackSlot (int, const TQMouseEvent*); protected: //igx virtual void virtual_hook (int, void*); diff --git a/sip/tdeui/kaboutkde.sip b/sip/tdeui/kaboutkde.sip index 0351960..10f615f 100644 --- a/sip/tdeui/kaboutkde.sip +++ b/sip/tdeui/kaboutkde.sip @@ -32,7 +32,7 @@ class KAboutKDE : KAboutDialog public: - KAboutKDE (QWidget* /TransferThis/ = 0, const char* = 0, bool = 1); + KAboutKDE (TQWidget* /TransferThis/ = 0, const char* = 0, bool = 1); }; // class KAboutKDE diff --git a/sip/tdeui/kaccelmanager.sip b/sip/tdeui/kaccelmanager.sip index e260488..ce6c496 100644 --- a/sip/tdeui/kaccelmanager.sip +++ b/sip/tdeui/kaccelmanager.sip @@ -34,8 +34,8 @@ class KAcceleratorManager public: - static void manage (QWidget*); - static void manage (QWidget*, bool); + static void manage (TQWidget*); + static void manage (TQWidget*, bool); }; // class KAcceleratorManager diff --git a/sip/tdeui/kaccelmenu.sip b/sip/tdeui/kaccelmenu.sip index 4b9dc17..110632c 100644 --- a/sip/tdeui/kaccelmenu.sip +++ b/sip/tdeui/kaccelmenu.sip @@ -34,15 +34,15 @@ class KAccelMenu : KPopupMenu public: - KAccelMenu (KAccel*, QWidget*/TransferThis/ = 0, const char* = 0); - int insItem (const QPixmap&, const char*, const char*, SIP_RXOBJ_CON, SIP_SLOT_CON (int), const char* = 0); + KAccelMenu (KAccel*, TQWidget*/TransferThis/ = 0, const char* = 0); + int insItem (const TQPixmap&, const char*, const char*, SIP_RXOBJ_CON, SIP_SLOT_CON (int), const char* = 0); int insItem (const char*, const char*, SIP_RXOBJ_CON, SIP_SLOT_CON (int), const char* = 0); - int insItem (const QPixmap&, const char*, const char*, SIP_RXOBJ_CON, SIP_SLOT_CON (int), KStdAccel::StdAccel); + int insItem (const TQPixmap&, const char*, const char*, SIP_RXOBJ_CON, SIP_SLOT_CON (int), KStdAccel::StdAccel); int insItem (const char*, const char*, SIP_RXOBJ_CON, SIP_SLOT_CON (int), KStdAccel::StdAccel); protected: char* stripAnd (const char*); - void keyPressEvent (QKeyEvent*); + void keyPressEvent (TQKeyEvent*); void popMsg (); protected slots: diff --git a/sip/tdeui/kaction.sip b/sip/tdeui/kaction.sip index 3c0ab83..e264615 100644 --- a/sip/tdeui/kaction.sip +++ b/sip/tdeui/kaction.sip @@ -24,7 +24,7 @@ // 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. -class KAction : QObject +class KAction : TQObject { %TypeHeaderCode #include <kaction.h> @@ -32,32 +32,32 @@ class KAction : QObject public: - KAction (const QString&, const KShortcut&, SIP_RXOBJ_CON, SIP_SLOT_CON (), KActionCollection* /TransferThis/, const char*); - KAction (const QString&, const QIconSet&, const KShortcut&, SIP_RXOBJ_CON, SIP_SLOT_CON (), KActionCollection* /TransferThis/, const char*); - KAction (const QString&, const QString&, const KShortcut&, SIP_RXOBJ_CON, SIP_SLOT_CON (), KActionCollection* /TransferThis/, const char*); + KAction (const TQString&, const KShortcut&, SIP_RXOBJ_CON, SIP_SLOT_CON (), KActionCollection* /TransferThis/, const char*); + KAction (const TQString&, const TQIconSet&, const KShortcut&, SIP_RXOBJ_CON, SIP_SLOT_CON (), KActionCollection* /TransferThis/, const char*); + KAction (const TQString&, const TQString&, const KShortcut&, SIP_RXOBJ_CON, SIP_SLOT_CON (), KActionCollection* /TransferThis/, const char*); KAction (const KGuiItem&, const KShortcut&, SIP_RXOBJ_CON, SIP_SLOT_CON (), KActionCollection* /TransferThis/, const char*); - KAction (const QString&, const KShortcut& = KShortcut (), QObject* /TransferThis/ = 0, const char* = 0); - KAction (const QString&, const KShortcut&, SIP_RXOBJ_CON, SIP_SLOT_CON (), QObject* /TransferThis/, const char* = 0); - KAction (const QString&, const QIconSet&, const KShortcut& = KShortcut (), QObject* /TransferThis/ = 0, const char* = 0); - KAction (const QString&, const QString&, const KShortcut& = KShortcut (), QObject* /TransferThis/ = 0, const char* = 0); - KAction (const QString&, const QIconSet&, const KShortcut&, SIP_RXOBJ_CON, SIP_SLOT_CON (), QObject* /TransferThis/, const char* = 0); - KAction (const QString&, const QString&, const KShortcut&, SIP_RXOBJ_CON, SIP_SLOT_CON (), QObject* /TransferThis/, const char* = 0); - KAction (QObject* /TransferThis/ = 0, const char* = 0); - virtual int plug (QWidget*, int = -1); + KAction (const TQString&, const KShortcut& = KShortcut (), TQObject* /TransferThis/ = 0, const char* = 0); + KAction (const TQString&, const KShortcut&, SIP_RXOBJ_CON, SIP_SLOT_CON (), TQObject* /TransferThis/, const char* = 0); + KAction (const TQString&, const TQIconSet&, const KShortcut& = KShortcut (), TQObject* /TransferThis/ = 0, const char* = 0); + KAction (const TQString&, const TQString&, const KShortcut& = KShortcut (), TQObject* /TransferThis/ = 0, const char* = 0); + KAction (const TQString&, const TQIconSet&, const KShortcut&, SIP_RXOBJ_CON, SIP_SLOT_CON (), TQObject* /TransferThis/, const char* = 0); + KAction (const TQString&, const TQString&, const KShortcut&, SIP_RXOBJ_CON, SIP_SLOT_CON (), TQObject* /TransferThis/, const char* = 0); + KAction (TQObject* /TransferThis/ = 0, const char* = 0); + virtual int plug (TQWidget*, int = -1); virtual void plugAccel (KAccel*, bool = 1); - virtual void unplug (QWidget*); + virtual void unplug (TQWidget*); virtual void unplugAccel (); virtual bool isPlugged () const; %If ( KDE_3_1_0 - ) - bool isPlugged (const QWidget*) const; + bool isPlugged (const TQWidget*) const; %End - virtual bool isPlugged (const QWidget*, int) const; - virtual bool isPlugged (const QWidget*, const QWidget*) const; - QWidget* container (int) const; + virtual bool isPlugged (const TQWidget*, int) const; + virtual bool isPlugged (const TQWidget*, const TQWidget*) const; + TQWidget* container (int) const; int itemId (int) const; - QWidget* representative (int) const; + TQWidget* representative (int) const; int containerCount () const; %If ( KDE_3_1_0 - ) @@ -66,20 +66,20 @@ public: virtual bool hasIcon () const; bool hasIconSet () const; - virtual QString plainText () const; - virtual QString text () const; + virtual TQString plainText () const; + virtual TQString text () const; virtual const KShortcut& shortcut () const; virtual const KShortcut& shortcutDefault () const; - QString shortcutText () const; - void setShortcutText (const QString&); + TQString shortcutText () const; + void setShortcutText (const TQString&); virtual bool isEnabled () const; virtual bool isShortcutConfigurable () const; - virtual QString group () const; - virtual QString whatsThis () const; - virtual QString toolTip () const; - virtual QIconSet iconSet (KIcon::Group, int = 0) const; - QIconSet iconSet () const; - virtual QString icon () const; + virtual TQString group () const; + virtual TQString whatsThis () const; + virtual TQString toolTip () const; + virtual TQIconSet iconSet (KIcon::Group, int = 0) const; + TQIconSet iconSet () const; + virtual TQString icon () const; KActionCollection* parentCollection () const; static int getToolButtonID (); void unplugAll (); @@ -99,13 +99,13 @@ public: public slots: - virtual void setText (const QString&); + virtual void setText (const TQString&); virtual bool setShortcut (const KShortcut&); - virtual void setGroup (const QString&); - virtual void setWhatsThis (const QString&); - virtual void setToolTip (const QString&); - virtual void setIconSet (const QIconSet&); - virtual void setIcon (const QString&); + virtual void setGroup (const TQString&); + virtual void setWhatsThis (const TQString&); + virtual void setToolTip (const TQString&); + virtual void setIconSet (const TQIconSet&); + virtual void setIcon (const TQString&); virtual void setEnabled (bool); %If ( KDE_3_5_0 - ) @@ -122,25 +122,25 @@ protected slots: %If ( KDE_3_4_0 - ) void slotPopupActivated (); - void slotButtonClicked (int, Qt::ButtonState); + void slotButtonClicked (int, TQt::ButtonState); %End protected: KToolBar* toolBar (int) const; - QPopupMenu* popupMenu (int) const; + TQPopupMenu* popupMenu (int) const; void removeContainer (int); - int findContainer (const QWidget*) const; + int findContainer (const TQWidget*) const; %If ( KDE_3_4_0 - ) int findContainer (int) const; %End - void plugMainWindowAccel (QWidget*); - void addContainer (QWidget* /Transfer/, int); - void addContainer (QWidget* /Transfer/, QWidget*); + void plugMainWindowAccel (TQWidget*); + void addContainer (TQWidget* /Transfer/, int); + void addContainer (TQWidget* /Transfer/, TQWidget*); virtual void updateShortcut (int); - virtual void updateShortcut (QPopupMenu*, int); + virtual void updateShortcut (TQPopupMenu*, int); virtual void updateGroup (int); virtual void updateText (int); virtual void updateEnabled (int); @@ -150,7 +150,7 @@ protected: virtual void updateWhatsThis (int); %If ( KDE_3_1_0 - ) - QString whatsThisWithIcon () const; + TQString whatsThisWithIcon () const; %If ( KDE_3_3_0 - ) const KGuiItem& guiItem () const; @@ -163,16 +163,16 @@ signals: void activated (); %If ( KDE_3_4_0 - ) - void activated (KAction::ActivationReason, Qt::ButtonState); + void activated (KAction::ActivationReason, TQt::ButtonState); %End void enabled (bool); public: int accel () const; - QString statusText () const; + TQString statusText () const; void setAccel (int); - void setStatusText (const QString&); + void setStatusText (const TQString&); int menuId (int); protected: @@ -191,17 +191,17 @@ class KToggleAction : KAction public: - KToggleAction (const QString&, const KShortcut& = KShortcut (), QObject* /TransferThis/ = 0, const char* = 0); - KToggleAction (const QString&, const KShortcut&, SIP_RXOBJ_CON, SIP_SLOT_CON (), QObject* /TransferThis/, const char* = 0); - KToggleAction (const QString&, const QIconSet&, const KShortcut& = KShortcut (), QObject* /TransferThis/ = 0, const char* = 0); - KToggleAction (const QString&, const QString&, const KShortcut& = KShortcut (), QObject* /TransferThis/ = 0, const char* = 0); - KToggleAction (const QString&, const QIconSet&, const KShortcut&, SIP_RXOBJ_CON, SIP_SLOT_CON (), QObject* /TransferThis/, const char* = 0); - KToggleAction (const QString&, const QString&, const KShortcut&, SIP_RXOBJ_CON, SIP_SLOT_CON (), QObject* /TransferThis/, const char* = 0); - KToggleAction (QObject* /TransferThis/ = 0, const char* = 0); - virtual int plug (QWidget*, int = -1); + KToggleAction (const TQString&, const KShortcut& = KShortcut (), TQObject* /TransferThis/ = 0, const char* = 0); + KToggleAction (const TQString&, const KShortcut&, SIP_RXOBJ_CON, SIP_SLOT_CON (), TQObject* /TransferThis/, const char* = 0); + KToggleAction (const TQString&, const TQIconSet&, const KShortcut& = KShortcut (), TQObject* /TransferThis/ = 0, const char* = 0); + KToggleAction (const TQString&, const TQString&, const KShortcut& = KShortcut (), TQObject* /TransferThis/ = 0, const char* = 0); + KToggleAction (const TQString&, const TQIconSet&, const KShortcut&, SIP_RXOBJ_CON, SIP_SLOT_CON (), TQObject* /TransferThis/, const char* = 0); + KToggleAction (const TQString&, const TQString&, const KShortcut&, SIP_RXOBJ_CON, SIP_SLOT_CON (), TQObject* /TransferThis/, const char* = 0); + KToggleAction (TQObject* /TransferThis/ = 0, const char* = 0); + virtual int plug (TQWidget*, int = -1); bool isChecked () const; - QString exclusiveGroup () const; - virtual void setExclusiveGroup (const QString&); + TQString exclusiveGroup () const; + virtual void setExclusiveGroup (const TQString&); public slots: virtual void setChecked (bool); @@ -233,13 +233,13 @@ class KRadioAction : KToggleAction public: - KRadioAction (const QString&, const KShortcut& = KShortcut (), QObject* /TransferThis/ = 0, const char* = 0); - KRadioAction (const QString&, const KShortcut&, SIP_RXOBJ_CON, SIP_SLOT_CON (), QObject* /TransferThis/, const char* = 0); - KRadioAction (const QString&, const QIconSet&, const KShortcut& = KShortcut (), QObject* /TransferThis/ = 0, const char* = 0); - KRadioAction (const QString&, const QString&, const KShortcut& = KShortcut (), QObject* /TransferThis/ = 0, const char* = 0); - KRadioAction (const QString&, const QIconSet&, const KShortcut&, SIP_RXOBJ_CON, SIP_SLOT_CON (), QObject* /TransferThis/, const char* = 0); - KRadioAction (const QString&, const QString&, const KShortcut&, SIP_RXOBJ_CON, SIP_SLOT_CON (), QObject* /TransferThis/, const char* = 0); - KRadioAction (QObject* /TransferThis/ = 0, const char* = 0); + KRadioAction (const TQString&, const KShortcut& = KShortcut (), TQObject* /TransferThis/ = 0, const char* = 0); + KRadioAction (const TQString&, const KShortcut&, SIP_RXOBJ_CON, SIP_SLOT_CON (), TQObject* /TransferThis/, const char* = 0); + KRadioAction (const TQString&, const TQIconSet&, const KShortcut& = KShortcut (), TQObject* /TransferThis/ = 0, const char* = 0); + KRadioAction (const TQString&, const TQString&, const KShortcut& = KShortcut (), TQObject* /TransferThis/ = 0, const char* = 0); + KRadioAction (const TQString&, const TQIconSet&, const KShortcut&, SIP_RXOBJ_CON, SIP_SLOT_CON (), TQObject* /TransferThis/, const char* = 0); + KRadioAction (const TQString&, const TQString&, const KShortcut&, SIP_RXOBJ_CON, SIP_SLOT_CON (), TQObject* /TransferThis/, const char* = 0); + KRadioAction (TQObject* /TransferThis/ = 0, const char* = 0); protected: virtual void slotActivated (); @@ -262,21 +262,21 @@ class KSelectAction : KAction public: - KSelectAction (const QString&, const KShortcut& = KShortcut (), QObject* /TransferThis/ = 0, const char* = 0); - KSelectAction (const QString&, const KShortcut&, SIP_RXOBJ_CON, SIP_SLOT_CON (), QObject* /TransferThis/, const char* = 0); - KSelectAction (const QString&, const QIconSet&, const KShortcut& = KShortcut (), QObject* /TransferThis/ = 0, const char* = 0); - KSelectAction (const QString&, const QString&, const KShortcut& = KShortcut (), QObject* /TransferThis/ = 0, const char* = 0); - KSelectAction (const QString&, const QIconSet&, const KShortcut&, SIP_RXOBJ_CON, SIP_SLOT_CON (), QObject* /TransferThis/, const char* = 0); - KSelectAction (const QString&, const QString&, const KShortcut&, SIP_RXOBJ_CON, SIP_SLOT_CON (), QObject* /TransferThis/, const char* = 0); - KSelectAction (QObject* /TransferThis/ = 0, const char* = 0); - virtual int plug (QWidget*, int = -1); + KSelectAction (const TQString&, const KShortcut& = KShortcut (), TQObject* /TransferThis/ = 0, const char* = 0); + KSelectAction (const TQString&, const KShortcut&, SIP_RXOBJ_CON, SIP_SLOT_CON (), TQObject* /TransferThis/, const char* = 0); + KSelectAction (const TQString&, const TQIconSet&, const KShortcut& = KShortcut (), TQObject* /TransferThis/ = 0, const char* = 0); + KSelectAction (const TQString&, const TQString&, const KShortcut& = KShortcut (), TQObject* /TransferThis/ = 0, const char* = 0); + KSelectAction (const TQString&, const TQIconSet&, const KShortcut&, SIP_RXOBJ_CON, SIP_SLOT_CON (), TQObject* /TransferThis/, const char* = 0); + KSelectAction (const TQString&, const TQString&, const KShortcut&, SIP_RXOBJ_CON, SIP_SLOT_CON (), TQObject* /TransferThis/, const char* = 0); + KSelectAction (TQObject* /TransferThis/ = 0, const char* = 0); + virtual int plug (TQWidget*, int = -1); virtual bool isEditable () const; - virtual QStringList items () const; - virtual void changeItem (int, const QString&); - virtual QString currentText () const; + virtual TQStringList items () const; + virtual void changeItem (int, const TQString&); + virtual TQString currentText () const; virtual int currentItem () const; virtual int comboWidth () const; - QPopupMenu* popupMenu (); + TQPopupMenu* popupMenu (); %If ( KDE_3_1_0 - ) void setRemoveAmpersandsInCombo (bool); @@ -288,27 +288,27 @@ public: public slots: virtual void setCurrentItem (int); - virtual void setItems (const QStringList&); + virtual void setItems (const TQStringList&); virtual void clear (); virtual void setEditable (bool); virtual void setComboWidth (int); protected: - virtual void changeItem (int, int, const QString&); + virtual void changeItem (int, int, const TQString&); %If ( KDE_3_1_0 - ) - QStringList comboItems () const; + TQStringList comboItems () const; %End protected slots: virtual void slotActivated (int); - virtual void slotActivated (const QString&); + virtual void slotActivated (const TQString&); virtual void slotActivated (); signals: void activated (int); - void activated (const QString&); + void activated (const TQString&); protected: virtual void updateCurrentItem (int); @@ -334,14 +334,14 @@ class KListAction : KSelectAction public: - KListAction (const QString&, const KShortcut& = KShortcut (), QObject* /TransferThis/ = 0, const char* = 0); - KListAction (const QString&, const KShortcut&, SIP_RXOBJ_CON, SIP_SLOT_CON (), QObject* /TransferThis/, const char* = 0); - KListAction (const QString&, const QIconSet&, const KShortcut& = KShortcut (), QObject* /TransferThis/ = 0, const char* = 0); - KListAction (const QString&, const QString&, const KShortcut& = KShortcut (), QObject* /TransferThis/ = 0, const char* = 0); - KListAction (const QString&, const QIconSet&, const KShortcut&, SIP_RXOBJ_CON, SIP_SLOT_CON (), QObject* /TransferThis/, const char* = 0); - KListAction (const QString&, const QString&, const KShortcut&, SIP_RXOBJ_CON, SIP_SLOT_CON (), QObject* /TransferThis/, const char* = 0); - KListAction (QObject* /TransferThis/ = 0, const char* = 0); - virtual QString currentText () const; + KListAction (const TQString&, const KShortcut& = KShortcut (), TQObject* /TransferThis/ = 0, const char* = 0); + KListAction (const TQString&, const KShortcut&, SIP_RXOBJ_CON, SIP_SLOT_CON (), TQObject* /TransferThis/, const char* = 0); + KListAction (const TQString&, const TQIconSet&, const KShortcut& = KShortcut (), TQObject* /TransferThis/ = 0, const char* = 0); + KListAction (const TQString&, const TQString&, const KShortcut& = KShortcut (), TQObject* /TransferThis/ = 0, const char* = 0); + KListAction (const TQString&, const TQIconSet&, const KShortcut&, SIP_RXOBJ_CON, SIP_SLOT_CON (), TQObject* /TransferThis/, const char* = 0); + KListAction (const TQString&, const TQString&, const KShortcut&, SIP_RXOBJ_CON, SIP_SLOT_CON (), TQObject* /TransferThis/, const char* = 0); + KListAction (TQObject* /TransferThis/ = 0, const char* = 0); + virtual TQString currentText () const; virtual int currentItem () const; public slots: @@ -365,19 +365,19 @@ class KRecentFilesAction : KListAction public: - KRecentFilesAction (const QString&, const KShortcut&, QObject* /TransferThis/, const char* = 0, uint = 10); - KRecentFilesAction (const QString&, const KShortcut&, SIP_RXOBJ_CON, SIP_SLOT_CON (), QObject* /TransferThis/, const char* = 0, uint = 10); - KRecentFilesAction (const QString&, const QIconSet&, const KShortcut&, QObject* /TransferThis/, const char* = 0, uint = 10); - KRecentFilesAction (const QString&, const QString&, const KShortcut&, QObject* /TransferThis/, const char* = 0, uint = 10); - KRecentFilesAction (const QString&, const QIconSet&, const KShortcut&, SIP_RXOBJ_CON, SIP_SLOT_CON (), QObject* /TransferThis/, const char* = 0, uint = 10); - KRecentFilesAction (const QString&, const QString&, const KShortcut&, SIP_RXOBJ_CON, SIP_SLOT_CON (), QObject* /TransferThis/, const char* = 0, uint = 10); - KRecentFilesAction (QObject* /TransferThis/ = 0, const char* = 0, uint = 10); + KRecentFilesAction (const TQString&, const KShortcut&, TQObject* /TransferThis/, const char* = 0, uint = 10); + KRecentFilesAction (const TQString&, const KShortcut&, SIP_RXOBJ_CON, SIP_SLOT_CON (), TQObject* /TransferThis/, const char* = 0, uint = 10); + KRecentFilesAction (const TQString&, const TQIconSet&, const KShortcut&, TQObject* /TransferThis/, const char* = 0, uint = 10); + KRecentFilesAction (const TQString&, const TQString&, const KShortcut&, TQObject* /TransferThis/, const char* = 0, uint = 10); + KRecentFilesAction (const TQString&, const TQIconSet&, const KShortcut&, SIP_RXOBJ_CON, SIP_SLOT_CON (), TQObject* /TransferThis/, const char* = 0, uint = 10); + KRecentFilesAction (const TQString&, const TQString&, const KShortcut&, SIP_RXOBJ_CON, SIP_SLOT_CON (), TQObject* /TransferThis/, const char* = 0, uint = 10); + KRecentFilesAction (TQObject* /TransferThis/ = 0, const char* = 0, uint = 10); uint maxItems () const; public slots: void setMaxItems (uint); - void loadEntries (KConfig*, QString = QString ::null ); - void saveEntries (KConfig*, QString = QString ::null ); + void loadEntries (KConfig*, TQString = TQString ::null ); + void saveEntries (KConfig*, TQString = TQString ::null ); public slots: void addURL (const KURL&); @@ -388,7 +388,7 @@ signals: void urlSelected (const KURL&); protected slots: - void itemSelected (const QString&); + void itemSelected (const TQString&); protected: //igx virtual void virtual_hook (int, void*); @@ -408,18 +408,18 @@ class KFontAction : KSelectAction public: - KFontAction (const QString&, const KShortcut& = KShortcut (), QObject* /TransferThis/ = 0, const char* = 0); - KFontAction (const QString&, const KShortcut&, SIP_RXOBJ_CON, SIP_SLOT_CON (), QObject* /TransferThis/, const char* = 0); - KFontAction (const QString&, const QIconSet&, const KShortcut& = KShortcut (), QObject* /TransferThis/ = 0, const char* = 0); - KFontAction (const QString&, const QString&, const KShortcut& = KShortcut (), QObject* /TransferThis/ = 0, const char* = 0); - KFontAction (const QString&, const QIconSet&, const KShortcut&, SIP_RXOBJ_CON, SIP_SLOT_CON (), QObject* /TransferThis/, const char* = 0); - KFontAction (const QString&, const QString&, const KShortcut&, SIP_RXOBJ_CON, SIP_SLOT_CON (), QObject* /TransferThis/, const char* = 0); - KFontAction (QObject* /TransferThis/ = 0, const char* = 0); - QString font () const; - int plug (QWidget*, int = -1); + KFontAction (const TQString&, const KShortcut& = KShortcut (), TQObject* /TransferThis/ = 0, const char* = 0); + KFontAction (const TQString&, const KShortcut&, SIP_RXOBJ_CON, SIP_SLOT_CON (), TQObject* /TransferThis/, const char* = 0); + KFontAction (const TQString&, const TQIconSet&, const KShortcut& = KShortcut (), TQObject* /TransferThis/ = 0, const char* = 0); + KFontAction (const TQString&, const TQString&, const KShortcut& = KShortcut (), TQObject* /TransferThis/ = 0, const char* = 0); + KFontAction (const TQString&, const TQIconSet&, const KShortcut&, SIP_RXOBJ_CON, SIP_SLOT_CON (), TQObject* /TransferThis/, const char* = 0); + KFontAction (const TQString&, const TQString&, const KShortcut&, SIP_RXOBJ_CON, SIP_SLOT_CON (), TQObject* /TransferThis/, const char* = 0); + KFontAction (TQObject* /TransferThis/ = 0, const char* = 0); + TQString font () const; + int plug (TQWidget*, int = -1); public slots: - void setFont (const QString&); + void setFont (const TQString&); protected: //igx virtual void virtual_hook (int, void*); @@ -439,13 +439,13 @@ class KFontSizeAction : KSelectAction public: - KFontSizeAction (const QString&, const KShortcut& = KShortcut (), QObject* /TransferThis/ = 0, const char* = 0); - KFontSizeAction (const QString&, const KShortcut&, SIP_RXOBJ_CON, SIP_SLOT_CON (), QObject* /TransferThis/, const char* = 0); - KFontSizeAction (const QString&, const QIconSet&, const KShortcut& = KShortcut (), QObject* /TransferThis/ = 0, const char* = 0); - KFontSizeAction (const QString&, const QString&, const KShortcut& = KShortcut (), QObject* /TransferThis/ = 0, const char* = 0); - KFontSizeAction (const QString&, const QIconSet&, const KShortcut&, SIP_RXOBJ_CON, SIP_SLOT_CON (), QObject* /TransferThis/, const char* = 0); - KFontSizeAction (const QString&, const QString&, const KShortcut&, SIP_RXOBJ_CON, SIP_SLOT_CON (), QObject* /TransferThis/, const char* = 0); - KFontSizeAction (QObject* /TransferThis/ = 0, const char* = 0); + KFontSizeAction (const TQString&, const KShortcut& = KShortcut (), TQObject* /TransferThis/ = 0, const char* = 0); + KFontSizeAction (const TQString&, const KShortcut&, SIP_RXOBJ_CON, SIP_SLOT_CON (), TQObject* /TransferThis/, const char* = 0); + KFontSizeAction (const TQString&, const TQIconSet&, const KShortcut& = KShortcut (), TQObject* /TransferThis/ = 0, const char* = 0); + KFontSizeAction (const TQString&, const TQString&, const KShortcut& = KShortcut (), TQObject* /TransferThis/ = 0, const char* = 0); + KFontSizeAction (const TQString&, const TQIconSet&, const KShortcut&, SIP_RXOBJ_CON, SIP_SLOT_CON (), TQObject* /TransferThis/, const char* = 0); + KFontSizeAction (const TQString&, const TQString&, const KShortcut&, SIP_RXOBJ_CON, SIP_SLOT_CON (), TQObject* /TransferThis/, const char* = 0); + KFontSizeAction (TQObject* /TransferThis/ = 0, const char* = 0); virtual int fontSize () const; public slots: @@ -453,7 +453,7 @@ public slots: protected slots: virtual void slotActivated (int); - virtual void slotActivated (const QString&); + virtual void slotActivated (const TQString&); virtual void slotActivated (); signals: @@ -477,19 +477,19 @@ class KActionMenu : KAction public: - KActionMenu (const QString&, QObject* /TransferThis/ = 0, const char* = 0); - KActionMenu (const QString&, const QIconSet&, QObject* /TransferThis/ = 0, const char* = 0); - KActionMenu (const QString&, const QString&, QObject* /TransferThis/ = 0, const char* = 0); - KActionMenu (QObject* /TransferThis/ = 0, const char* = 0); + KActionMenu (const TQString&, TQObject* /TransferThis/ = 0, const char* = 0); + KActionMenu (const TQString&, const TQIconSet&, TQObject* /TransferThis/ = 0, const char* = 0); + KActionMenu (const TQString&, const TQString&, TQObject* /TransferThis/ = 0, const char* = 0); + KActionMenu (TQObject* /TransferThis/ = 0, const char* = 0); virtual void insert (KAction*, int = -1); virtual void remove (KAction*); KPopupMenu* popupMenu (); - void popup (const QPoint&); + void popup (const TQPoint&); bool delayed () const; void setDelayed (bool); bool stickyMenu () const; void setStickyMenu (bool); - virtual int plug (QWidget*, int = -1); + virtual int plug (TQWidget*, int = -1); protected: //igx virtual void virtual_hook (int, void*); @@ -509,10 +509,10 @@ class KToolBarPopupAction : KAction public: - KToolBarPopupAction (const QString&, const QString&, const KShortcut& = KShortcut (), QObject* /TransferThis/ = 0, const char* = 0); - KToolBarPopupAction (const QString&, const QString&, const KShortcut&, SIP_RXOBJ_CON, SIP_SLOT_CON (), QObject* /TransferThis/ = 0, const char* = 0); + KToolBarPopupAction (const TQString&, const TQString&, const KShortcut& = KShortcut (), TQObject* /TransferThis/ = 0, const char* = 0); + KToolBarPopupAction (const TQString&, const TQString&, const KShortcut&, SIP_RXOBJ_CON, SIP_SLOT_CON (), TQObject* /TransferThis/ = 0, const char* = 0); KToolBarPopupAction (const KGuiItem&, const KShortcut&, SIP_RXOBJ_CON, SIP_SLOT_CON (), KActionCollection* /TransferThis/, const char*); - virtual int plug (QWidget*, int = -1); + virtual int plug (TQWidget*, int = -1); KPopupMenu* popupMenu (); bool delayed () const; void setDelayed (bool); @@ -537,9 +537,9 @@ class KToggleToolBarAction : KToggleAction public: - KToggleToolBarAction (const char*, const QString&, KActionCollection* /TransferThis/, const char*); - KToggleToolBarAction (KToolBar*, const QString&, KActionCollection* /TransferThis/, const char*); - virtual int plug (QWidget*, int = -1); + KToggleToolBarAction (const char*, const TQString&, KActionCollection* /TransferThis/, const char*); + KToggleToolBarAction (KToolBar*, const TQString&, KActionCollection* /TransferThis/, const char*); + virtual int plug (TQWidget*, int = -1); KToolBar* toolBar (); public slots: @@ -563,11 +563,11 @@ class KWidgetAction : KAction public: - KWidgetAction (QWidget*, const QString&, const KShortcut&, SIP_RXOBJ_CON, SIP_SLOT_CON (), KActionCollection* /TransferThis/, const char*); - QWidget* widget (); + KWidgetAction (TQWidget*, const TQString&, const KShortcut&, SIP_RXOBJ_CON, SIP_SLOT_CON (), KActionCollection* /TransferThis/, const char*); + TQWidget* widget (); void setAutoSized (bool); - virtual int plug (QWidget*, int = -1); - virtual void unplug (QWidget*); + virtual int plug (TQWidget*, int = -1); + virtual void unplug (TQWidget*); protected slots: void slotToolbarDestroyed (); @@ -590,8 +590,8 @@ class KActionSeparator : KAction public: - KActionSeparator (QObject* /TransferThis/ = 0, const char* = 0); - virtual int plug (QWidget*, int = -1); + KActionSeparator (TQObject* /TransferThis/ = 0, const char* = 0); + virtual int plug (TQWidget*, int = -1); protected: //igx virtual void virtual_hook (int, void*); @@ -603,7 +603,7 @@ protected: %If ( - KDE_3_2_0 ) -class KActionCollection : QObject +class KActionCollection : TQObject { %TypeHeaderCode #include <kaction.h> @@ -611,10 +611,10 @@ class KActionCollection : QObject public: - KActionCollection (QWidget* /TransferThis/, const char* = 0, KInstance* = 0); - KActionCollection (QWidget*, QObject* /TransferThis/, const char* = 0, KInstance* = 0); + KActionCollection (TQWidget* /TransferThis/, const char* = 0, KInstance* = 0); + KActionCollection (TQWidget*, TQObject* /TransferThis/, const char* = 0, KInstance* = 0); KActionCollection (const KActionCollection&); - virtual void setWidget (QWidget*); + virtual void setWidget (TQWidget*); %If ( KDE_3_1_0 - ) void setAutoConnectShortcuts (bool); @@ -633,34 +633,34 @@ public: bool isEmpty () const; virtual KAction* action (int) const; virtual KAction* action (const char*, const char* = 0) const; - virtual QStringList groups () const; + virtual TQStringList groups () const; %If ( KDE_3_1_5 - ) - virtual QValueList<KAction*> actions (const QString&) const; - virtual QValueList<KAction*> actions () const; + virtual TQValueList<KAction*> actions (const TQString&) const; + virtual TQValueList<KAction*> actions () const; %End - bool readShortcutSettings (const QString& = QString ::null , KConfigBase* = 0); - bool writeShortcutSettings (const QString& = QString ::null , KConfigBase* = 0) const; + bool readShortcutSettings (const TQString& = TQString ::null , KConfigBase* = 0); + bool writeShortcutSettings (const TQString& = TQString ::null , KConfigBase* = 0) const; void setInstance (KInstance*); KInstance* instance () const; - void setXMLFile (const QString&); - const QString& xmlFile () const; + void setXMLFile (const TQString&); + const TQString& xmlFile () const; void setHighlightingEnabled (bool); bool highlightingEnabled () const; - void connectHighlight (QWidget*, KAction*); - void disconnectHighlight (QWidget*, KAction*); + void connectHighlight (TQWidget*, KAction*); + void disconnectHighlight (TQWidget*, KAction*); signals: void inserted (KAction*); void removed (KAction*); void actionHighlighted (KAction*); void actionHighlighted (KAction*, bool); - void actionStatusText (const QString&); + void actionStatusText (const TQString&); void clearStatusText (); public: - KActionCollection (QObject* /TransferThis/ = 0, const char* = 0, KInstance* = 0); + KActionCollection (TQObject* /TransferThis/ = 0, const char* = 0, KInstance* = 0); void insert (KAction*); void remove (KAction*); KAction* take (KAction*); @@ -683,17 +683,17 @@ protected: %If ( - KDE_3_2_0 ) -//ig typedef QValueList<KAction*> KActionPtrList; +//ig typedef TQValueList<KAction*> KActionPtrList; %End -%MappedType QValueList<KAction*> +%MappedType TQValueList<KAction*> //converts a Python list of KAction { %TypeHeaderCode #include <qvaluelist.h> #include <kaction.h> -//typedef QValueList<KAction*> KActionPtrList; +//typedef TQValueList<KAction*> KActionPtrList; %End %ConvertFromTypeCode @@ -705,11 +705,11 @@ protected: if ((pylist = PyList_New(0)) == NULL) return NULL; - QValueList<KAction*> *cpplist = (QValueList<KAction*> *)sipCpp; + TQValueList<KAction*> *cpplist = (TQValueList<KAction*> *)sipCpp; PyObject *inst; // Get it. - QValueList<KAction*>::Iterator it; + TQValueList<KAction*>::Iterator it; for( it = cpplist->begin(); it != cpplist->end(); ++it ) { if (((inst = sipConvertFromInstance (*it, sipClass_KAction, sipTransferObj)) == NULL) @@ -728,7 +728,7 @@ protected: if (sipIsErr == NULL) return PyList_Check(sipPy); - QValueList<KAction*> *cpplist = new QValueList<KAction*>; + TQValueList<KAction*> *cpplist = new TQValueList<KAction*>; PyObject *elem; KAction* cpp; diff --git a/sip/tdeui/kactionclasses.sip b/sip/tdeui/kactionclasses.sip index 05d1eeb..5ae95a1 100644 --- a/sip/tdeui/kactionclasses.sip +++ b/sip/tdeui/kactionclasses.sip @@ -34,21 +34,21 @@ class KToggleAction : KAction public: - KToggleAction (const QString&, const KShortcut& = KShortcut (), QObject* /TransferThis/ = 0, const char* = 0); - KToggleAction (const QString&, const KShortcut&, SIP_RXOBJ_CON, SIP_SLOT_CON (), QObject* /TransferThis/, const char* = 0); - KToggleAction (const QString&, const QIconSet&, const KShortcut& = KShortcut (), QObject* /TransferThis/ = 0, const char* = 0); - KToggleAction (const QString&, const QString&, const KShortcut& = KShortcut (), QObject* /TransferThis/ = 0, const char* = 0); - KToggleAction (const QString&, const QIconSet&, const KShortcut&, SIP_RXOBJ_CON, SIP_SLOT_CON (), QObject* /TransferThis/, const char* = 0); - KToggleAction (const QString&, const QString&, const KShortcut&, SIP_RXOBJ_CON, SIP_SLOT_CON (), QObject* /TransferThis/, const char* = 0); - KToggleAction (QObject* /TransferThis/ = 0, const char* = 0); - virtual int plug (QWidget*, int = -1); + KToggleAction (const TQString&, const KShortcut& = KShortcut (), TQObject* /TransferThis/ = 0, const char* = 0); + KToggleAction (const TQString&, const KShortcut&, SIP_RXOBJ_CON, SIP_SLOT_CON (), TQObject* /TransferThis/, const char* = 0); + KToggleAction (const TQString&, const TQIconSet&, const KShortcut& = KShortcut (), TQObject* /TransferThis/ = 0, const char* = 0); + KToggleAction (const TQString&, const TQString&, const KShortcut& = KShortcut (), TQObject* /TransferThis/ = 0, const char* = 0); + KToggleAction (const TQString&, const TQIconSet&, const KShortcut&, SIP_RXOBJ_CON, SIP_SLOT_CON (), TQObject* /TransferThis/, const char* = 0); + KToggleAction (const TQString&, const TQString&, const KShortcut&, SIP_RXOBJ_CON, SIP_SLOT_CON (), TQObject* /TransferThis/, const char* = 0); + KToggleAction (TQObject* /TransferThis/ = 0, const char* = 0); + virtual int plug (TQWidget*, int = -1); bool isChecked () const; - QString exclusiveGroup () const; - virtual void setExclusiveGroup (const QString&); + TQString exclusiveGroup () const; + virtual void setExclusiveGroup (const TQString&); %If ( KDE_3_3_0 - ) void setCheckedState (const KGuiItem&); - virtual QString toolTip () const; + virtual TQString toolTip () const; %End @@ -82,13 +82,13 @@ class KRadioAction : KToggleAction public: - KRadioAction (const QString&, const KShortcut& = KShortcut (), QObject* /TransferThis/ = 0, const char* = 0); - KRadioAction (const QString&, const KShortcut&, SIP_RXOBJ_CON, SIP_SLOT_CON (), QObject* /TransferThis/, const char* = 0); - KRadioAction (const QString&, const QIconSet&, const KShortcut& = KShortcut (), QObject* /TransferThis/ = 0, const char* = 0); - KRadioAction (const QString&, const QString&, const KShortcut& = KShortcut (), QObject* /TransferThis/ = 0, const char* = 0); - KRadioAction (const QString&, const QIconSet&, const KShortcut&, SIP_RXOBJ_CON, SIP_SLOT_CON (), QObject* /TransferThis/, const char* = 0); - KRadioAction (const QString&, const QString&, const KShortcut&, SIP_RXOBJ_CON, SIP_SLOT_CON (), QObject* /TransferThis/, const char* = 0); - KRadioAction (QObject* /TransferThis/ = 0, const char* = 0); + KRadioAction (const TQString&, const KShortcut& = KShortcut (), TQObject* /TransferThis/ = 0, const char* = 0); + KRadioAction (const TQString&, const KShortcut&, SIP_RXOBJ_CON, SIP_SLOT_CON (), TQObject* /TransferThis/, const char* = 0); + KRadioAction (const TQString&, const TQIconSet&, const KShortcut& = KShortcut (), TQObject* /TransferThis/ = 0, const char* = 0); + KRadioAction (const TQString&, const TQString&, const KShortcut& = KShortcut (), TQObject* /TransferThis/ = 0, const char* = 0); + KRadioAction (const TQString&, const TQIconSet&, const KShortcut&, SIP_RXOBJ_CON, SIP_SLOT_CON (), TQObject* /TransferThis/, const char* = 0); + KRadioAction (const TQString&, const TQString&, const KShortcut&, SIP_RXOBJ_CON, SIP_SLOT_CON (), TQObject* /TransferThis/, const char* = 0); + KRadioAction (TQObject* /TransferThis/ = 0, const char* = 0); protected: virtual void slotActivated (); @@ -111,18 +111,18 @@ class KSelectAction : KAction public: - KSelectAction (const QString&, const KShortcut& = KShortcut (), QObject* /TransferThis/ = 0, const char* = 0); - KSelectAction (const QString&, const KShortcut&, SIP_RXOBJ_CON, SIP_SLOT_CON (), QObject* /TransferThis/, const char* = 0); - KSelectAction (const QString&, const QIconSet&, const KShortcut& = KShortcut (), QObject* /TransferThis/ = 0, const char* = 0); - KSelectAction (const QString&, const QString&, const KShortcut& = KShortcut (), QObject* /TransferThis/ = 0, const char* = 0); - KSelectAction (const QString&, const QIconSet&, const KShortcut&, SIP_RXOBJ_CON, SIP_SLOT_CON (), QObject* /TransferThis/, const char* = 0); - KSelectAction (const QString&, const QString&, const KShortcut&, SIP_RXOBJ_CON, SIP_SLOT_CON (), QObject* /TransferThis/, const char* = 0); - KSelectAction (QObject* /TransferThis/ = 0, const char* = 0); - virtual int plug (QWidget*, int = -1); + KSelectAction (const TQString&, const KShortcut& = KShortcut (), TQObject* /TransferThis/ = 0, const char* = 0); + KSelectAction (const TQString&, const KShortcut&, SIP_RXOBJ_CON, SIP_SLOT_CON (), TQObject* /TransferThis/, const char* = 0); + KSelectAction (const TQString&, const TQIconSet&, const KShortcut& = KShortcut (), TQObject* /TransferThis/ = 0, const char* = 0); + KSelectAction (const TQString&, const TQString&, const KShortcut& = KShortcut (), TQObject* /TransferThis/ = 0, const char* = 0); + KSelectAction (const TQString&, const TQIconSet&, const KShortcut&, SIP_RXOBJ_CON, SIP_SLOT_CON (), TQObject* /TransferThis/, const char* = 0); + KSelectAction (const TQString&, const TQString&, const KShortcut&, SIP_RXOBJ_CON, SIP_SLOT_CON (), TQObject* /TransferThis/, const char* = 0); + KSelectAction (TQObject* /TransferThis/ = 0, const char* = 0); + virtual int plug (TQWidget*, int = -1); virtual bool isEditable () const; - virtual QStringList items () const; - virtual void changeItem (int, const QString&); - virtual QString currentText () const; + virtual TQStringList items () const; + virtual void changeItem (int, const TQString&); + virtual TQString currentText () const; virtual int currentItem () const; virtual int comboWidth () const; @@ -130,7 +130,7 @@ public: void setMaxComboViewCount (int); %End - QPopupMenu* popupMenu () const; + TQPopupMenu* popupMenu () const; void setRemoveAmpersandsInCombo (bool); bool removeAmpersandsInCombo () const; void setMenuAccelsEnabled (bool); @@ -143,23 +143,23 @@ public: public slots: virtual void setCurrentItem (int); - virtual void setItems (const QStringList&); + virtual void setItems (const TQStringList&); virtual void clear (); virtual void setEditable (bool); virtual void setComboWidth (int); protected: - virtual void changeItem (int, int, const QString&); - QStringList comboItems () const; + virtual void changeItem (int, int, const TQString&); + TQStringList comboItems () const; protected slots: virtual void slotActivated (int); - virtual void slotActivated (const QString&); + virtual void slotActivated (const TQString&); virtual void slotActivated (); signals: void activated (int); - void activated (const QString&); + void activated (const TQString&); protected: virtual void updateCurrentItem (int); @@ -185,14 +185,14 @@ class KListAction : KSelectAction public: - KListAction (const QString&, const KShortcut& = KShortcut (), QObject* /TransferThis/ = 0, const char* = 0); - KListAction (const QString&, const KShortcut&, SIP_RXOBJ_CON, SIP_SLOT_CON (), QObject* /TransferThis/, const char* = 0); - KListAction (const QString&, const QIconSet&, const KShortcut& = KShortcut (), QObject* /TransferThis/ = 0, const char* = 0); - KListAction (const QString&, const QString&, const KShortcut& = KShortcut (), QObject* /TransferThis/ = 0, const char* = 0); - KListAction (const QString&, const QIconSet&, const KShortcut&, SIP_RXOBJ_CON, SIP_SLOT_CON (), QObject* /TransferThis/, const char* = 0); - KListAction (const QString&, const QString&, const KShortcut&, SIP_RXOBJ_CON, SIP_SLOT_CON (), QObject* /TransferThis/, const char* = 0); - KListAction (QObject* /TransferThis/ = 0, const char* = 0); - virtual QString currentText () const; + KListAction (const TQString&, const KShortcut& = KShortcut (), TQObject* /TransferThis/ = 0, const char* = 0); + KListAction (const TQString&, const KShortcut&, SIP_RXOBJ_CON, SIP_SLOT_CON (), TQObject* /TransferThis/, const char* = 0); + KListAction (const TQString&, const TQIconSet&, const KShortcut& = KShortcut (), TQObject* /TransferThis/ = 0, const char* = 0); + KListAction (const TQString&, const TQString&, const KShortcut& = KShortcut (), TQObject* /TransferThis/ = 0, const char* = 0); + KListAction (const TQString&, const TQIconSet&, const KShortcut&, SIP_RXOBJ_CON, SIP_SLOT_CON (), TQObject* /TransferThis/, const char* = 0); + KListAction (const TQString&, const TQString&, const KShortcut&, SIP_RXOBJ_CON, SIP_SLOT_CON (), TQObject* /TransferThis/, const char* = 0); + KListAction (TQObject* /TransferThis/ = 0, const char* = 0); + virtual TQString currentText () const; virtual int currentItem () const; public slots: @@ -216,30 +216,30 @@ class KRecentFilesAction : KListAction public: - KRecentFilesAction (const QString&, const KShortcut&, QObject* /TransferThis/, const char* = 0, uint = 10); - KRecentFilesAction (const QString&, const KShortcut&, SIP_RXOBJ_CON, SIP_SLOT_CON (), QObject* /TransferThis/, const char* = 0, uint = 10); - KRecentFilesAction (const QString&, const QIconSet&, const KShortcut&, QObject* /TransferThis/, const char* = 0, uint = 10); - KRecentFilesAction (const QString&, const QString&, const KShortcut&, QObject* /TransferThis/, const char* = 0, uint = 10); - KRecentFilesAction (const QString&, const QIconSet&, const KShortcut&, SIP_RXOBJ_CON, SIP_SLOT_CON (), QObject* /TransferThis/, const char* = 0, uint = 10); - KRecentFilesAction (const QString&, const QString&, const KShortcut&, SIP_RXOBJ_CON, SIP_SLOT_CON (), QObject* /TransferThis/, const char* = 0, uint = 10); - KRecentFilesAction (QObject* /TransferThis/ = 0, const char* = 0, uint = 10); - virtual int plug (QWidget*, int = -1); + KRecentFilesAction (const TQString&, const KShortcut&, TQObject* /TransferThis/, const char* = 0, uint = 10); + KRecentFilesAction (const TQString&, const KShortcut&, SIP_RXOBJ_CON, SIP_SLOT_CON (), TQObject* /TransferThis/, const char* = 0, uint = 10); + KRecentFilesAction (const TQString&, const TQIconSet&, const KShortcut&, TQObject* /TransferThis/, const char* = 0, uint = 10); + KRecentFilesAction (const TQString&, const TQString&, const KShortcut&, TQObject* /TransferThis/, const char* = 0, uint = 10); + KRecentFilesAction (const TQString&, const TQIconSet&, const KShortcut&, SIP_RXOBJ_CON, SIP_SLOT_CON (), TQObject* /TransferThis/, const char* = 0, uint = 10); + KRecentFilesAction (const TQString&, const TQString&, const KShortcut&, SIP_RXOBJ_CON, SIP_SLOT_CON (), TQObject* /TransferThis/, const char* = 0, uint = 10); + KRecentFilesAction (TQObject* /TransferThis/ = 0, const char* = 0, uint = 10); + virtual int plug (TQWidget*, int = -1); uint maxItems () const; %If ( KDE_3_5_0 - ) - virtual QStringList items () const; - QStringList completeItems () const; + virtual TQStringList items () const; + TQStringList completeItems () const; %End public slots: void setMaxItems (uint); - void loadEntries (KConfig*, QString = QString ::null ); - void saveEntries (KConfig*, QString = QString ::null ); + void loadEntries (KConfig*, TQString = TQString ::null ); + void saveEntries (KConfig*, TQString = TQString ::null ); void addURL (const KURL&); %If ( KDE_3_5_0 - ) - void addURL (const KURL&, const QString&); + void addURL (const KURL&, const TQString&); %End void removeURL (const KURL&); @@ -249,12 +249,12 @@ signals: void urlSelected (const KURL&); protected slots: - void itemSelected (const QString&); + void itemSelected (const TQString&); void menuAboutToShow (); void menuItemActivated (int); void slotClicked (); virtual void slotActivated (int); - virtual void slotActivated (const QString&); + virtual void slotActivated (const TQString&); virtual void slotActivated (); protected: @@ -275,24 +275,24 @@ class KFontAction : KSelectAction public: - KFontAction (const QString&, const KShortcut& = KShortcut (), QObject* /TransferThis/ = 0, const char* = 0); - KFontAction (const QString&, const KShortcut&, SIP_RXOBJ_CON, SIP_SLOT_CON (), QObject* /TransferThis/, const char* = 0); - KFontAction (const QString&, const QIconSet&, const KShortcut& = KShortcut (), QObject* /TransferThis/ = 0, const char* = 0); - KFontAction (const QString&, const QString&, const KShortcut& = KShortcut (), QObject* /TransferThis/ = 0, const char* = 0); - KFontAction (const QString&, const QIconSet&, const KShortcut&, SIP_RXOBJ_CON, SIP_SLOT_CON (), QObject* /TransferThis/, const char* = 0); - KFontAction (const QString&, const QString&, const KShortcut&, SIP_RXOBJ_CON, SIP_SLOT_CON (), QObject* /TransferThis/, const char* = 0); + KFontAction (const TQString&, const KShortcut& = KShortcut (), TQObject* /TransferThis/ = 0, const char* = 0); + KFontAction (const TQString&, const KShortcut&, SIP_RXOBJ_CON, SIP_SLOT_CON (), TQObject* /TransferThis/, const char* = 0); + KFontAction (const TQString&, const TQIconSet&, const KShortcut& = KShortcut (), TQObject* /TransferThis/ = 0, const char* = 0); + KFontAction (const TQString&, const TQString&, const KShortcut& = KShortcut (), TQObject* /TransferThis/ = 0, const char* = 0); + KFontAction (const TQString&, const TQIconSet&, const KShortcut&, SIP_RXOBJ_CON, SIP_SLOT_CON (), TQObject* /TransferThis/, const char* = 0); + KFontAction (const TQString&, const TQString&, const KShortcut&, SIP_RXOBJ_CON, SIP_SLOT_CON (), TQObject* /TransferThis/, const char* = 0); %If ( KDE_3_3_0 - ) - KFontAction (uint, const QString&, const KShortcut& = KShortcut (), QObject* /TransferThis/ = 0, const char* = 0); - KFontAction (uint, const QString&, const QString&, const KShortcut& = KShortcut (), QObject* /TransferThis/ = 0, const char* = 0); + KFontAction (uint, const TQString&, const KShortcut& = KShortcut (), TQObject* /TransferThis/ = 0, const char* = 0); + KFontAction (uint, const TQString&, const TQString&, const KShortcut& = KShortcut (), TQObject* /TransferThis/ = 0, const char* = 0); %End - KFontAction (QObject* /TransferThis/ = 0, const char* = 0); - QString font () const; - int plug (QWidget*, int = -1); + KFontAction (TQObject* /TransferThis/ = 0, const char* = 0); + TQString font () const; + int plug (TQWidget*, int = -1); public slots: - void setFont (const QString&); + void setFont (const TQString&); protected: //igx virtual void virtual_hook (int, void*); @@ -312,13 +312,13 @@ class KFontSizeAction : KSelectAction public: - KFontSizeAction (const QString&, const KShortcut& = KShortcut (), QObject* /TransferThis/ = 0, const char* = 0); - KFontSizeAction (const QString&, const KShortcut&, SIP_RXOBJ_CON, SIP_SLOT_CON (), QObject* /TransferThis/, const char* = 0); - KFontSizeAction (const QString&, const QIconSet&, const KShortcut& = KShortcut (), QObject* /TransferThis/ = 0, const char* = 0); - KFontSizeAction (const QString&, const QString&, const KShortcut& = KShortcut (), QObject* /TransferThis/ = 0, const char* = 0); - KFontSizeAction (const QString&, const QIconSet&, const KShortcut&, SIP_RXOBJ_CON, SIP_SLOT_CON (), QObject* /TransferThis/, const char* = 0); - KFontSizeAction (const QString&, const QString&, const KShortcut&, SIP_RXOBJ_CON, SIP_SLOT_CON (), QObject* /TransferThis/, const char* = 0); - KFontSizeAction (QObject* /TransferThis/ = 0, const char* = 0); + KFontSizeAction (const TQString&, const KShortcut& = KShortcut (), TQObject* /TransferThis/ = 0, const char* = 0); + KFontSizeAction (const TQString&, const KShortcut&, SIP_RXOBJ_CON, SIP_SLOT_CON (), TQObject* /TransferThis/, const char* = 0); + KFontSizeAction (const TQString&, const TQIconSet&, const KShortcut& = KShortcut (), TQObject* /TransferThis/ = 0, const char* = 0); + KFontSizeAction (const TQString&, const TQString&, const KShortcut& = KShortcut (), TQObject* /TransferThis/ = 0, const char* = 0); + KFontSizeAction (const TQString&, const TQIconSet&, const KShortcut&, SIP_RXOBJ_CON, SIP_SLOT_CON (), TQObject* /TransferThis/, const char* = 0); + KFontSizeAction (const TQString&, const TQString&, const KShortcut&, SIP_RXOBJ_CON, SIP_SLOT_CON (), TQObject* /TransferThis/, const char* = 0); + KFontSizeAction (TQObject* /TransferThis/ = 0, const char* = 0); virtual int fontSize () const; public slots: @@ -326,7 +326,7 @@ public slots: protected slots: virtual void slotActivated (int); - virtual void slotActivated (const QString&); + virtual void slotActivated (const TQString&); virtual void slotActivated (); signals: @@ -350,19 +350,19 @@ class KActionMenu : KAction public: - KActionMenu (const QString&, QObject* /TransferThis/ = 0, const char* = 0); - KActionMenu (const QString&, const QIconSet&, QObject* /TransferThis/ = 0, const char* = 0); - KActionMenu (const QString&, const QString&, QObject* /TransferThis/ = 0, const char* = 0); - KActionMenu (QObject* /TransferThis/ = 0, const char* = 0); + KActionMenu (const TQString&, TQObject* /TransferThis/ = 0, const char* = 0); + KActionMenu (const TQString&, const TQIconSet&, TQObject* /TransferThis/ = 0, const char* = 0); + KActionMenu (const TQString&, const TQString&, TQObject* /TransferThis/ = 0, const char* = 0); + KActionMenu (TQObject* /TransferThis/ = 0, const char* = 0); virtual void insert (KAction*, int = -1); virtual void remove (KAction*); KPopupMenu* popupMenu () const; - void popup (const QPoint&); + void popup (const TQPoint&); bool delayed () const; void setDelayed (bool); bool stickyMenu () const; void setStickyMenu (bool); - virtual int plug (QWidget*, int = -1); + virtual int plug (TQWidget*, int = -1); protected: //igx virtual void virtual_hook (int, void*); @@ -382,10 +382,10 @@ class KToolBarPopupAction : KAction public: - KToolBarPopupAction (const QString&, const QString&, const KShortcut& = KShortcut (), QObject* /TransferThis/ = 0, const char* = 0); - KToolBarPopupAction (const QString&, const QString&, const KShortcut&, SIP_RXOBJ_CON, SIP_SLOT_CON (), QObject* /TransferThis/ = 0, const char* = 0); + KToolBarPopupAction (const TQString&, const TQString&, const KShortcut& = KShortcut (), TQObject* /TransferThis/ = 0, const char* = 0); + KToolBarPopupAction (const TQString&, const TQString&, const KShortcut&, SIP_RXOBJ_CON, SIP_SLOT_CON (), TQObject* /TransferThis/ = 0, const char* = 0); KToolBarPopupAction (const KGuiItem&, const KShortcut&, SIP_RXOBJ_CON, SIP_SLOT_CON (), KActionCollection* /TransferThis/, const char*); - virtual int plug (QWidget*, int = -1); + virtual int plug (TQWidget*, int = -1); KPopupMenu* popupMenu () const; bool delayed () const; void setDelayed (bool); @@ -410,9 +410,9 @@ class KToggleToolBarAction : KToggleAction public: - KToggleToolBarAction (const char*, const QString&, KActionCollection* /TransferThis/, const char*); - KToggleToolBarAction (KToolBar*, const QString&, KActionCollection* /TransferThis/, const char*); - virtual int plug (QWidget*, int = -1); + KToggleToolBarAction (const char*, const TQString&, KActionCollection* /TransferThis/, const char*); + KToggleToolBarAction (KToolBar*, const TQString&, KActionCollection* /TransferThis/, const char*); + virtual int plug (TQWidget*, int = -1); KToolBar* toolBar (); public slots: @@ -436,14 +436,14 @@ class KToggleFullScreenAction : KToggleAction public: - KToggleFullScreenAction (const KShortcut&, SIP_RXOBJ_CON, SIP_SLOT_CON (), QObject* /TransferThis/, QWidget*, const char*); - void setWindow (QWidget*); + KToggleFullScreenAction (const KShortcut&, SIP_RXOBJ_CON, SIP_SLOT_CON (), TQObject* /TransferThis/, TQWidget*, const char*); + void setWindow (TQWidget*); public slots: virtual void setChecked (bool); protected: - virtual bool eventFilter (QObject*, QEvent*); + virtual bool eventFilter (TQObject*, TQEvent*); protected: //igx virtual void virtual_hook (int, void*); @@ -463,11 +463,11 @@ class KWidgetAction : KAction public: - KWidgetAction (QWidget*, const QString&, const KShortcut&, SIP_RXOBJ_CON, SIP_SLOT_CON (), KActionCollection* /TransferThis/, const char*); - QWidget* widget (); + KWidgetAction (TQWidget*, const TQString&, const KShortcut&, SIP_RXOBJ_CON, SIP_SLOT_CON (), KActionCollection* /TransferThis/, const char*); + TQWidget* widget (); void setAutoSized (bool); - virtual int plug (QWidget*, int = -1); - virtual void unplug (QWidget*); + virtual int plug (TQWidget*, int = -1); + virtual void unplug (TQWidget*); protected slots: void slotToolbarDestroyed (); @@ -490,8 +490,8 @@ class KActionSeparator : KAction public: - KActionSeparator (QObject* /TransferThis/ = 0, const char* = 0); - virtual int plug (QWidget*, int = -1); + KActionSeparator (TQObject* /TransferThis/ = 0, const char* = 0); + virtual int plug (TQWidget*, int = -1); protected: //igx virtual void virtual_hook (int, void*); @@ -511,9 +511,9 @@ class KPasteTextAction : KAction public: - KPasteTextAction (const QString&, const QString&, const KShortcut&, SIP_RXOBJ_CON, SIP_SLOT_CON (), QObject* /TransferThis/ = 0, const char* = 0); + KPasteTextAction (const TQString&, const TQString&, const KShortcut&, SIP_RXOBJ_CON, SIP_SLOT_CON (), TQObject* /TransferThis/ = 0, const char* = 0); void setMixedMode (bool); - virtual int plug (QWidget*, int = -1); + virtual int plug (TQWidget*, int = -1); protected slots: void menuAboutToShow (); diff --git a/sip/tdeui/kactioncollection.sip b/sip/tdeui/kactioncollection.sip index 2ba8bea..3bd6859 100644 --- a/sip/tdeui/kactioncollection.sip +++ b/sip/tdeui/kactioncollection.sip @@ -26,7 +26,7 @@ %If ( KDE_3_2_0 - ) -class KActionCollection : QObject +class KActionCollection : TQObject { %TypeHeaderCode #include <kactioncollection.h> @@ -34,10 +34,10 @@ class KActionCollection : QObject public: - KActionCollection (QWidget* /TransferThis/, const char* = 0, KInstance* = 0); - KActionCollection (QWidget*, QObject* /TransferThis/, const char* = 0, KInstance* = 0); + KActionCollection (TQWidget* /TransferThis/, const char* = 0, KInstance* = 0); + KActionCollection (TQWidget*, TQObject* /TransferThis/, const char* = 0, KInstance* = 0); KActionCollection (const KActionCollection&); - virtual void setWidget (QWidget*); + virtual void setWidget (TQWidget*); void setAutoConnectShortcuts (bool); bool isAutoConnectShortcuts (); bool addDocCollection (KActionCollection*); @@ -48,19 +48,19 @@ public: bool isEmpty () const; virtual KAction* action (int) const; virtual KAction* action (const char*, const char* = 0) const; - virtual QStringList groups () const; - virtual KActionPtrList actions (const QString&) const; + virtual TQStringList groups () const; + virtual KActionPtrList actions (const TQString&) const; virtual KActionPtrList actions () const; - bool readShortcutSettings (const QString& = QString ::null , KConfigBase* = 0); - bool writeShortcutSettings (const QString& = QString ::null , KConfigBase* = 0) const; + bool readShortcutSettings (const TQString& = TQString ::null , KConfigBase* = 0); + bool writeShortcutSettings (const TQString& = TQString ::null , KConfigBase* = 0) const; void setInstance (KInstance*); KInstance* instance () const; - void setXMLFile (const QString&); - const QString& xmlFile () const; + void setXMLFile (const TQString&); + const TQString& xmlFile () const; void setHighlightingEnabled (bool); bool highlightingEnabled () const; - void connectHighlight (QWidget*, KAction*); - void disconnectHighlight (QWidget*, KAction*); + void connectHighlight (TQWidget*, KAction*); + void disconnectHighlight (TQWidget*, KAction*); %If ( KDE_3_3_0 - ) const KXMLGUIClient* parentGUIClient () const; @@ -72,11 +72,11 @@ signals: void removed (KAction*); void actionHighlighted (KAction*); void actionHighlighted (KAction*, bool); - void actionStatusText (const QString&); + void actionStatusText (const TQString&); void clearStatusText (); public: - KActionCollection (QObject* /TransferThis/, const char* = 0, KInstance* = 0); + KActionCollection (TQObject* /TransferThis/, const char* = 0, KInstance* = 0); public: void insert (KAction*); @@ -103,8 +103,8 @@ public: %If ( - KDE_3_2_2 ) %If ( D_MANDRAKE ) - virtual QValueList<KAction*> actions (const QString&) const; - virtual QValueList<KAction*> actions () const; + virtual TQValueList<KAction*> actions (const TQString&) const; + virtual TQValueList<KAction*> actions () const; %End %End @@ -116,10 +116,10 @@ public: %If ( KDE_3_2_0 - ) -typedef QValueList<KAction*> KActionPtrList; +typedef TQValueList<KAction*> KActionPtrList; %End %If ( - KDE_3_2_2 ) -//ig typedef QValueList<KAction*> KActionPtrList; +//ig typedef TQValueList<KAction*> KActionPtrList; %End diff --git a/sip/tdeui/kactionselector.sip b/sip/tdeui/kactionselector.sip index 9e04f3d..87aa45a 100644 --- a/sip/tdeui/kactionselector.sip +++ b/sip/tdeui/kactionselector.sip @@ -26,7 +26,7 @@ %If ( KDE_3_3_0 - ) -class KActionSelector : QWidget +class KActionSelector : TQWidget { %TypeHeaderCode #include <kactionselector.h> @@ -34,9 +34,9 @@ class KActionSelector : QWidget public: - KActionSelector (QWidget* /TransferThis/ = 0, const char* = 0); - QListBox* availableListBox () const; - QListBox* selectedListBox () const; + KActionSelector (TQWidget* /TransferThis/ = 0, const char* = 0); + TQListBox* availableListBox () const; + TQListBox* selectedListBox () const; enum MoveButton { @@ -69,10 +69,10 @@ public: void setMoveOnDoubleClick (bool); bool keyboardEnabled () const; void setKeyboardEnabled (bool); - QString availableLabel () const; - void setAvailableLabel (const QString&); - QString selectedLabel () const; - void setSelectedLabel (const QString&); + TQString availableLabel () const; + void setAvailableLabel (const TQString&); + TQString selectedLabel () const; + void setSelectedLabel (const TQString&); KActionSelector::ButtonIconSize buttonIconSize () const; void setButtonIconSize (KActionSelector::ButtonIconSize); KActionSelector::InsertionPolicy availableInsertionPolicy () const; @@ -81,24 +81,24 @@ public: void setSelectedInsertionPolicy (KActionSelector::InsertionPolicy); bool showUpDownButtons () const; void setShowUpDownButtons (bool); - void setButtonIcon (const QString&, KActionSelector::MoveButton); - void setButtonIconSet (const QIconSet&, KActionSelector::MoveButton); - void setButtonTooltip (const QString&, KActionSelector::MoveButton); - void setButtonWhatsThis (const QString&, KActionSelector::MoveButton); + void setButtonIcon (const TQString&, KActionSelector::MoveButton); + void setButtonIconSet (const TQIconSet&, KActionSelector::MoveButton); + void setButtonTooltip (const TQString&, KActionSelector::MoveButton); + void setButtonWhatsThis (const TQString&, KActionSelector::MoveButton); void setButtonsEnabled (); signals: - void added (QListBoxItem*); - void removed (QListBoxItem*); - void movedUp (QListBoxItem*); - void movedDown (QListBoxItem*); + void added (TQListBoxItem*); + void removed (TQListBoxItem*); + void movedUp (TQListBoxItem*); + void movedDown (TQListBoxItem*); public slots: void polish (); protected: - void keyPressEvent (QKeyEvent*); - bool eventFilter (QObject*, QEvent*); + void keyPressEvent (TQKeyEvent*); + bool eventFilter (TQObject*, TQEvent*); }; // class KActionSelector diff --git a/sip/tdeui/kactionshortcutlist.sip b/sip/tdeui/kactionshortcutlist.sip index e26b0cf..319db0c 100644 --- a/sip/tdeui/kactionshortcutlist.sip +++ b/sip/tdeui/kactionshortcutlist.sip @@ -37,16 +37,16 @@ class KActionShortcutList : KShortcutList public: KActionShortcutList (KActionCollection*); virtual uint count () const; - virtual QString name (uint) const; - virtual QString label (uint) const; - virtual QString whatsThis (uint) const; + virtual TQString name (uint) const; + virtual TQString label (uint) const; + virtual TQString whatsThis (uint) const; virtual const KShortcut& shortcut (uint) const; virtual const KShortcut& shortcutDefault (uint) const; virtual bool isConfigurable (uint) const; virtual bool setShortcut (uint, const KShortcut&); virtual const KInstance* instance () const; - virtual QVariant getOther (Other, uint) const; - virtual bool setOther (Other, uint, QVariant); + virtual TQVariant getOther (Other, uint) const; + virtual bool setOther (Other, uint, TQVariant); virtual bool save () const; %If ( KDE_3_3_0 - ) @@ -79,15 +79,15 @@ public: %End virtual uint count () const; - virtual QString name (uint) const; - virtual QString label (uint) const; - virtual QString whatsThis (uint) const; + virtual TQString name (uint) const; + virtual TQString label (uint) const; + virtual TQString whatsThis (uint) const; virtual const KShortcut& shortcut (uint) const; virtual const KShortcut& shortcutDefault (uint) const; virtual bool isConfigurable (uint) const; virtual bool setShortcut (uint, const KShortcut&); - virtual QVariant getOther (Other, uint) const; - virtual bool setOther (Other, uint, QVariant); + virtual TQVariant getOther (Other, uint) const; + virtual bool setOther (Other, uint, TQVariant); virtual bool save () const; protected: @@ -98,7 +98,7 @@ protected: public: %If ( - KDE_3_2_0 ) - KActionPtrShortcutList (QValueList<KAction*>&); + KActionPtrShortcutList (TQValueList<KAction*>&); %End diff --git a/sip/tdeui/kactivelabel.sip b/sip/tdeui/kactivelabel.sip index fa38bc5..1a6db51 100644 --- a/sip/tdeui/kactivelabel.sip +++ b/sip/tdeui/kactivelabel.sip @@ -24,7 +24,7 @@ // 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. -class KActiveLabel : QTextBrowser +class KActiveLabel : TQTextBrowser { %TypeHeaderCode #include <kactivelabel.h> @@ -32,25 +32,25 @@ class KActiveLabel : QTextBrowser public: - KActiveLabel (QWidget* /TransferThis/, const char* = 0); - KActiveLabel (const QString&, QWidget* /TransferThis/, const char* = 0); + KActiveLabel (TQWidget* /TransferThis/, const char* = 0); + KActiveLabel (const TQString&, TQWidget* /TransferThis/, const char* = 0); %If ( KDE_3_1_0 - ) - QSize minimumSizeHint () const; - QSize sizeHint () const; + TQSize minimumSizeHint () const; + TQSize sizeHint () const; %End public slots: - virtual void openLink (const QString&); + virtual void openLink (const TQString&); protected: //igx virtual void virtual_hook (int, void*); - virtual void focusInEvent (QFocusEvent*); - virtual void focusOutEvent (QFocusEvent*); + virtual void focusInEvent (TQFocusEvent*); + virtual void focusOutEvent (TQFocusEvent*); %If ( KDE_3_4_0 - ) - virtual void keyPressEvent (QKeyEvent*); + virtual void keyPressEvent (TQKeyEvent*); %End diff --git a/sip/tdeui/kalphapainter.sip b/sip/tdeui/kalphapainter.sip index 881e3c3..0917c20 100644 --- a/sip/tdeui/kalphapainter.sip +++ b/sip/tdeui/kalphapainter.sip @@ -32,10 +32,10 @@ class KAlphaPainter public: - static bool draw (QPainter*, const QImage&, QImage&, int, int, bool = 0, int = 0, int = 0); - static bool draw (QPainter*, const QImage&, const QPixmap&, int, int, bool = 0, int = 0, int = 0); - static bool draw (QPainter*, const QPixmap&, QImage&, int, int, bool = 0, int = 0, int = 0); - static bool draw (QPainter*, const QPixmap&, const QPixmap&, int, int, int = 0, int = 0); + static bool draw (TQPainter*, const TQImage&, TQImage&, int, int, bool = 0, int = 0, int = 0); + static bool draw (TQPainter*, const TQImage&, const TQPixmap&, int, int, bool = 0, int = 0, int = 0); + static bool draw (TQPainter*, const TQPixmap&, TQImage&, int, int, bool = 0, int = 0, int = 0); + static bool draw (TQPainter*, const TQPixmap&, const TQPixmap&, int, int, int = 0, int = 0); }; // class KAlphaPainter diff --git a/sip/tdeui/kanimwidget.sip b/sip/tdeui/kanimwidget.sip index 21f439f..3e59c57 100644 --- a/sip/tdeui/kanimwidget.sip +++ b/sip/tdeui/kanimwidget.sip @@ -24,7 +24,7 @@ // 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. -class KAnimWidget : QFrame +class KAnimWidget : TQFrame { %TypeHeaderCode #include <kanimwidget.h> @@ -32,15 +32,15 @@ class KAnimWidget : QFrame public: - KAnimWidget (const QString&, int = 0, QWidget* /TransferThis/ = 0, const char* = 0); + KAnimWidget (const TQString&, int = 0, TQWidget* /TransferThis/ = 0, const char* = 0); void setSize (int); %If ( KDE_3_4_0 - ) int size () const; - QString icons () const; + TQString icons () const; %End - void setIcons (const QString&); + void setIcons (const TQString&); public slots: @@ -54,15 +54,15 @@ signals: void clicked (); protected: - virtual void drawContents (QPainter*); - virtual void leaveEvent (QEvent*); - virtual void enterEvent (QEvent*); - virtual void hideEvent (QHideEvent*); - virtual void showEvent (QShowEvent*); - virtual void mousePressEvent (QMouseEvent*); + virtual void drawContents (TQPainter*); + virtual void leaveEvent (TQEvent*); + virtual void enterEvent (TQEvent*); + virtual void hideEvent (TQHideEvent*); + virtual void showEvent (TQShowEvent*); + virtual void mousePressEvent (TQMouseEvent*); %If ( KDE_3_1_0 - ) - virtual void mouseReleaseEvent (QMouseEvent*); + virtual void mouseReleaseEvent (TQMouseEvent*); %End @@ -84,7 +84,7 @@ public: public: %If ( - KDE_3_2_0 ) -//ig KAnimWidget (QWidget* /TransferThis/ = 0, const char* = 0); +//ig KAnimWidget (TQWidget* /TransferThis/ = 0, const char* = 0); %End diff --git a/sip/tdeui/karrowbutton.sip b/sip/tdeui/karrowbutton.sip index 3d94594..dcf37b0 100644 --- a/sip/tdeui/karrowbutton.sip +++ b/sip/tdeui/karrowbutton.sip @@ -24,7 +24,7 @@ // 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. -class KArrowButton : QPushButton +class KArrowButton : TQPushButton { %TypeHeaderCode #include <karrowbutton.h> @@ -32,21 +32,21 @@ class KArrowButton : QPushButton public: - KArrowButton (QWidget* /TransferThis/ = 0, Qt::ArrowType = Qt ::UpArrow , const char* = 0); - virtual QSize sizeHint () const; + KArrowButton (TQWidget* /TransferThis/ = 0, TQt::ArrowType = TQt ::UpArrow , const char* = 0); + virtual TQSize sizeHint () const; %If ( KDE_3_4_0 - ) - Qt::ArrowType arrowType () const; + TQt::ArrowType arrowType () const; int arrowTp () const; void setArrowTp (int); %End public slots: - void setArrowType (Qt::ArrowType); + void setArrowType (TQt::ArrowType); protected: - virtual void drawButton (QPainter*); + virtual void drawButton (TQPainter*); protected: //igx virtual void virtual_hook (int, void*); diff --git a/sip/tdeui/kauthicon.sip b/sip/tdeui/kauthicon.sip index 2ff31fe..b5c1bbc 100644 --- a/sip/tdeui/kauthicon.sip +++ b/sip/tdeui/kauthicon.sip @@ -24,7 +24,7 @@ // 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. -class KAuthIcon : QWidget +class KAuthIcon : TQWidget { %TypeHeaderCode #include <kauthicon.h> @@ -32,8 +32,8 @@ class KAuthIcon : QWidget public: - KAuthIcon (QWidget* /TransferThis/ = 0, const char* = 0); - virtual QSize sizeHint () const; + KAuthIcon (TQWidget* /TransferThis/ = 0, const char* = 0); + virtual TQSize sizeHint () const; virtual bool status () const = 0; public slots: @@ -58,7 +58,7 @@ class KRootPermsIcon : KAuthIcon public: - KRootPermsIcon (QWidget* /TransferThis/ = 0, const char* = 0); + KRootPermsIcon (TQWidget* /TransferThis/ = 0, const char* = 0); bool status () const; public slots: @@ -80,12 +80,12 @@ class KWritePermsIcon : KAuthIcon public: - KWritePermsIcon (const QString&, QWidget* /TransferThis/ = 0, const char* = 0); + KWritePermsIcon (const TQString&, TQWidget* /TransferThis/ = 0, const char* = 0); bool status () const; - void setFileName (const QString&); + void setFileName (const TQString&); %If ( KDE_3_4_0 - ) - QString fileName () const; + TQString fileName () const; %End diff --git a/sip/tdeui/kbugreport.sip b/sip/tdeui/kbugreport.sip index 558f767..8454063 100644 --- a/sip/tdeui/kbugreport.sip +++ b/sip/tdeui/kbugreport.sip @@ -32,19 +32,19 @@ class KBugReport : KDialogBase public: - KBugReport (QWidget* /TransferThis/ = 0, bool = 1, const KAboutData* = 0); + KBugReport (TQWidget* /TransferThis/ = 0, bool = 1, const KAboutData* = 0); protected slots: virtual void slotConfigureEmail (); virtual void slotSetFrom (); - virtual void slotUrlClicked (const QString&); + virtual void slotUrlClicked (const TQString&); virtual void slotOk (); virtual void slotCancel (); void appChanged (int); void updateURL (); protected: - QString text (); + TQString text (); bool sendBugReport (); protected: diff --git a/sip/tdeui/kbuttonbox.sip b/sip/tdeui/kbuttonbox.sip index 4a62fec..6f764ea 100644 --- a/sip/tdeui/kbuttonbox.sip +++ b/sip/tdeui/kbuttonbox.sip @@ -24,7 +24,7 @@ // 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. -class KButtonBox : QWidget +class KButtonBox : TQWidget { %TypeHeaderCode #include <kbuttonbox.h> @@ -32,25 +32,25 @@ class KButtonBox : QWidget public: - KButtonBox (QWidget* /TransferThis/, Orientation = Horizontal , int = 0, int = 6); - virtual QSize sizeHint () const; - virtual QSizePolicy sizePolicy () const; - virtual void resizeEvent (QResizeEvent*); - QPushButton* addButton (const QString&, bool = 0); - QPushButton* addButton (const QString&, SIP_RXOBJ_CON, SIP_SLOT_CON (), bool = 0); + KButtonBox (TQWidget* /TransferThis/, Orientation = Horizontal , int = 0, int = 6); + virtual TQSize sizeHint () const; + virtual TQSizePolicy sizePolicy () const; + virtual void resizeEvent (TQResizeEvent*); + TQPushButton* addButton (const TQString&, bool = 0); + TQPushButton* addButton (const TQString&, SIP_RXOBJ_CON, SIP_SLOT_CON (), bool = 0); %If ( KDE_3_3_0 - ) - QPushButton* addButton (const KGuiItem&, bool = 0); - QPushButton* addButton (const KGuiItem&, SIP_RXOBJ_CON, SIP_SLOT_CON (), bool = 0); + TQPushButton* addButton (const KGuiItem&, bool = 0); + TQPushButton* addButton (const KGuiItem&, SIP_RXOBJ_CON, SIP_SLOT_CON (), bool = 0); %End void addStretch (int = 1); void layout (); protected: - QSize bestButtonSize () const; + TQSize bestButtonSize () const; void placeButtons (); - QSize buttonSizeHint (QPushButton*) const; + TQSize buttonSizeHint (TQPushButton*) const; protected: //igx virtual void virtual_hook (int, void*); diff --git a/sip/tdeui/kcharselect.sip b/sip/tdeui/kcharselect.sip index d2f24d3..e6d8373 100644 --- a/sip/tdeui/kcharselect.sip +++ b/sip/tdeui/kcharselect.sip @@ -24,7 +24,7 @@ // 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. -class KCharSelectTable : QGridView +class KCharSelectTable : TQGridView { %TypeHeaderCode #include <kcharselect.h> @@ -32,33 +32,33 @@ class KCharSelectTable : QGridView public: - KCharSelectTable (QWidget* /TransferThis/, const char*, const QString&, const QChar&, int); - virtual QSize sizeHint () const; - virtual void resizeEvent (QResizeEvent*); - virtual void setFont (const QString&); - virtual void setChar (const QChar&); + KCharSelectTable (TQWidget* /TransferThis/, const char*, const TQString&, const TQChar&, int); + virtual TQSize sizeHint () const; + virtual void resizeEvent (TQResizeEvent*); + virtual void setFont (const TQString&); + virtual void setChar (const TQChar&); virtual void setTableNum (int); - virtual QChar chr (); + virtual TQChar chr (); protected: - virtual void paintCell (QPainter*, int, int); - virtual void mousePressEvent (QMouseEvent*); - virtual void mouseDoubleClickEvent (QMouseEvent*); - virtual void mouseReleaseEvent (QMouseEvent*); - virtual void mouseMoveEvent (QMouseEvent*); - virtual void keyPressEvent (QKeyEvent*); + virtual void paintCell (TQPainter*, int, int); + virtual void mousePressEvent (TQMouseEvent*); + virtual void mouseDoubleClickEvent (TQMouseEvent*); + virtual void mouseReleaseEvent (TQMouseEvent*); + virtual void mouseMoveEvent (TQMouseEvent*); + virtual void keyPressEvent (TQKeyEvent*); void gotoLeft (); void gotoRight (); void gotoUp (); void gotoDown (); signals: - void highlighted (const QChar&); + void highlighted (const TQChar&); void highlighted (); - void activated (const QChar&); + void activated (const TQChar&); void activated (); void focusItemChanged (); - void focusItemChanged (const QChar&); + void focusItemChanged (const TQChar&); void tableUp (); void tableDown (); void doubleClicked (); @@ -69,7 +69,7 @@ protected: }; // class KCharSelectTable -class KCharSelect : QVBox +class KCharSelect : TQVBox { %TypeHeaderCode #include <kcharselect.h> @@ -77,13 +77,13 @@ class KCharSelect : QVBox public: - KCharSelect (QWidget* /TransferThis/, const char*, const QString& = QString ::null , const QChar& = ' ', int = 0); - virtual QSize sizeHint () const; - virtual void setFont (const QString&); - virtual void setChar (const QChar&); + KCharSelect (TQWidget* /TransferThis/, const char*, const TQString& = TQString ::null , const TQChar& = ' ', int = 0); + virtual TQSize sizeHint () const; + virtual void setFont (const TQString&); + virtual void setChar (const TQChar&); virtual void setTableNum (int); - virtual QChar chr () const; - virtual QString font () const; + virtual TQChar chr () const; + virtual TQString font () const; virtual int tableNum () const; virtual void enableFontCombo (bool); virtual void enableTableSpinBox (bool); @@ -95,32 +95,32 @@ protected: static void cleanupFontDatabase (); protected slots: - void fontSelected (const QString&); + void fontSelected (const TQString&); void tableChanged (int); - void charHighlighted (const QChar&); + void charHighlighted (const TQChar&); void charHighlighted (); - void charActivated (const QChar&); + void charActivated (const TQChar&); void charActivated (); void charFocusItemChanged (); - void charFocusItemChanged (const QChar&); + void charFocusItemChanged (const TQChar&); void charTableUp (); void charTableDown (); void slotDoubleClicked (); %If ( KDE_3_3_0 - ) void slotUnicodeEntered (); - void slotUpdateUnicode (const QChar&); + void slotUpdateUnicode (const TQChar&); %End signals: - void highlighted (const QChar&); + void highlighted (const TQChar&); void highlighted (); - void activated (const QChar&); + void activated (const TQChar&); void activated (); - void fontChanged (const QString&); + void fontChanged (const TQString&); void focusItemChanged (); - void focusItemChanged (const QChar&); + void focusItemChanged (const TQChar&); void doubleClicked (); protected: diff --git a/sip/tdeui/kcmenumngr.sip b/sip/tdeui/kcmenumngr.sip index d3f89c3..65a1c13 100644 --- a/sip/tdeui/kcmenumngr.sip +++ b/sip/tdeui/kcmenumngr.sip @@ -24,7 +24,7 @@ // 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. -class KContextMenuManager : QObject +class KContextMenuManager : TQObject { %TypeHeaderCode #include <kcmenumngr.h> @@ -32,11 +32,11 @@ class KContextMenuManager : QObject public: - static void insert (QWidget*, QPopupMenu*); + static void insert (TQWidget*, TQPopupMenu*); static bool showOnButtonPress (); private: - KContextMenuManager (QObject* /TransferThis/ = 0, const char* = 0); + KContextMenuManager (TQObject* /TransferThis/ = 0, const char* = 0); ~KContextMenuManager (); }; // class KContextMenuManager diff --git a/sip/tdeui/kcmodule.sip b/sip/tdeui/kcmodule.sip index 8e37799..c381987 100644 --- a/sip/tdeui/kcmodule.sip +++ b/sip/tdeui/kcmodule.sip @@ -24,7 +24,7 @@ // 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. -class KCModule : QWidget +class KCModule : TQWidget { %TypeHeaderCode #include <kcmodule.h> @@ -44,13 +44,13 @@ public: SysDefault }; - KCModule (QWidget* /TransferThis/ = 0, const char* = 0, const QStringList& = QStringList ()); - KCModule (KInstance*, QWidget* /TransferThis/ = 0, const QStringList& = QStringList ()); + KCModule (TQWidget* /TransferThis/ = 0, const char* = 0, const TQStringList& = TQStringList ()); + KCModule (KInstance*, TQWidget* /TransferThis/ = 0, const TQStringList& = TQStringList ()); virtual void load (); virtual void save (); virtual void defaults (); virtual void sysdefaults (); - virtual QString quickHelp () const; + virtual TQString tquickHelp () const; virtual const KAboutData* aboutData () const; %If ( KDE_3_3_0 - ) @@ -58,26 +58,26 @@ public: %End int buttons (); - QString rootOnlyMsg () const; + TQString rootOnlyMsg () const; bool useRootOnlyMsg () const; KInstance* instance () const; %If ( KDE_3_4_0 - ) - const QPtrList<KConfigDialogManager>& configs () const; + const TQPtrList<KConfigDialogManager>& configs () const; %End protected: %If ( KDE_3_3_0 - ) - KConfigDialogManager* addConfig (KConfigSkeleton*, QWidget*); - void setQuickHelp (const QString&); + KConfigDialogManager* addConfig (KConfigSkeleton*, TQWidget*); + void setQuickHelp (const TQString&); %End signals: void changed (bool); - void quickHelpChanged (); + void tquickHelpChanged (); protected slots: @@ -93,7 +93,7 @@ protected slots: protected: void setButtons (int); - void setRootOnlyMsg (const QString&); + void setRootOnlyMsg (const TQString&); void setUseRootOnlyMsg (bool); %If ( KDE_3_5_0 - ) @@ -110,7 +110,7 @@ protected: %If (KDE_3_3_0 - ) -%MappedType QPtrList<KConfigDialogManager> +%MappedType TQPtrList<KConfigDialogManager> //converts a Python list of KConfigDialogManager { %TypeHeaderCode @@ -130,7 +130,7 @@ protected: // Get it. - QPtrList<KConfigDialogManager> *cpplist = (QPtrList<KConfigDialogManager> *)sipCpp; + TQPtrList<KConfigDialogManager> *cpplist = (TQPtrList<KConfigDialogManager> *)sipCpp; KConfigDialogManager *cpp; PyObject *inst; @@ -152,7 +152,7 @@ protected: if (sipIsErr == NULL) return PyList_Check(sipPy); - QPtrList<KConfigDialogManager> *cpplist = new QPtrList<KConfigDialogManager>; + TQPtrList<KConfigDialogManager> *cpplist = new TQPtrList<KConfigDialogManager>; PyObject *elem; KConfigDialogManager *cpp; diff --git a/sip/tdeui/kcolorbtn.sip b/sip/tdeui/kcolorbtn.sip index 8ca3db3..b072293 100644 --- a/sip/tdeui/kcolorbtn.sip +++ b/sip/tdeui/kcolorbtn.sip @@ -24,7 +24,7 @@ // 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. -class KColorButton : QPushButton +class KColorButton : TQPushButton { %TypeHeaderCode #include <kcolorbtn.h> @@ -32,23 +32,23 @@ class KColorButton : QPushButton public: - KColorButton (QWidget*/TransferThis/, const char* = 0); - KColorButton (const QColor&, QWidget*/TransferThis/, const char* = 0); - QColor color () const; - void setColor (const QColor&); + KColorButton (TQWidget*/TransferThis/, const char* = 0); + KColorButton (const TQColor&, TQWidget*/TransferThis/, const char* = 0); + TQColor color () const; + void setColor (const TQColor&); signals: - void changed (const QColor&); + void changed (const TQColor&); protected slots: void chooseColor (); protected: - virtual void drawButtonLabel (QPainter*); - virtual void dragEnterEvent (QDragEnterEvent*); - virtual void dropEvent (QDropEvent*); - virtual void mousePressEvent (QMouseEvent*); - virtual void mouseMoveEvent (QMouseEvent*); + virtual void drawButtonLabel (TQPainter*); + virtual void dragEnterEvent (TQDragEnterEvent*); + virtual void dropEvent (TQDropEvent*); + virtual void mousePressEvent (TQMouseEvent*); + virtual void mouseMoveEvent (TQMouseEvent*); }; // class KColorButton diff --git a/sip/tdeui/kcolorcombo.sip b/sip/tdeui/kcolorcombo.sip index 21fa8e4..358455b 100644 --- a/sip/tdeui/kcolorcombo.sip +++ b/sip/tdeui/kcolorcombo.sip @@ -24,7 +24,7 @@ // 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. -class KColorCombo : QComboBox +class KColorCombo : TQComboBox { %TypeHeaderCode #include <kcolorcombo.h> @@ -32,17 +32,17 @@ class KColorCombo : QComboBox public: - KColorCombo (QWidget* /TransferThis/, const char* = 0); - void setColor (const QColor&); - QColor color (); + KColorCombo (TQWidget* /TransferThis/, const char* = 0); + void setColor (const TQColor&); + TQColor color (); void showEmptyList (); signals: - void activated (const QColor&); - void highlighted (const QColor&); + void activated (const TQColor&); + void highlighted (const TQColor&); protected: - virtual void resizeEvent (QResizeEvent*); + virtual void resizeEvent (TQResizeEvent*); protected: //igx virtual void virtual_hook (int, void*); diff --git a/sip/tdeui/kcolordialog.sip b/sip/tdeui/kcolordialog.sip index a1e8bd7..803d03f 100644 --- a/sip/tdeui/kcolordialog.sip +++ b/sip/tdeui/kcolordialog.sip @@ -32,12 +32,12 @@ class KHSSelector : KXYSelector public: - KHSSelector (QWidget* /TransferThis/ = 0, const char* = 0); + KHSSelector (TQWidget* /TransferThis/ = 0, const char* = 0); protected: - virtual void drawPalette (QPixmap*); - virtual void resizeEvent (QResizeEvent*); - virtual void drawContents (QPainter*); + virtual void drawPalette (TQPixmap*); + virtual void resizeEvent (TQResizeEvent*); + virtual void drawContents (TQPainter*); protected: //igx virtual void virtual_hook (int, void*); @@ -53,8 +53,8 @@ class KValueSelector : KSelector public: - KValueSelector (QWidget* /TransferThis/ = 0, const char* = 0); - KValueSelector (Orientation, QWidget* /TransferThis/ = 0, const char* = 0); + KValueSelector (TQWidget* /TransferThis/ = 0, const char* = 0); + KValueSelector (Orientation, TQWidget* /TransferThis/ = 0, const char* = 0); int hue () const; void setHue (int); int saturation () const; @@ -62,9 +62,9 @@ public: void updateContents (); protected: - virtual void drawPalette (QPixmap*); - virtual void resizeEvent (QResizeEvent*); - virtual void drawContents (QPainter*); + virtual void drawPalette (TQPixmap*); + virtual void resizeEvent (TQResizeEvent*); + virtual void drawContents (TQPainter*); protected: //igx virtual void virtual_hook (int, void*); @@ -72,7 +72,7 @@ protected: }; // class KValueSelector -class KColor : QColor +class KColor : TQColor { %TypeHeaderCode #include <kcolordialog.h> @@ -82,7 +82,7 @@ class KColor : QColor public: KColor (); KColor (const KColor&); - KColor (const QColor&); + KColor (const TQColor&); %If ( KDE_3_1_4 - ) bool operator == (const KColor&) const; @@ -98,7 +98,7 @@ protected: }; // class KColor -class KPaletteTable : QWidget +class KPaletteTable : TQWidget { %TypeHeaderCode #include <kcolordialog.h> @@ -106,23 +106,23 @@ class KPaletteTable : QWidget public: - KPaletteTable (QWidget* /TransferThis/, int = 210, int = 16); - void addToCustomColors (const QColor&); - void addToRecentColors (const QColor&); - QString palette (); + KPaletteTable (TQWidget* /TransferThis/, int = 210, int = 16); + void addToCustomColors (const TQColor&); + void addToRecentColors (const TQColor&); + TQString palette (); public slots: - void setPalette (const QString&); + void setPalette (const TQString&); signals: - void colorSelected (const QColor&, const QString&); - void colorDoubleClicked (const QColor&, const QString&); + void colorSelected (const TQColor&, const TQString&); + void colorDoubleClicked (const TQColor&, const TQString&); protected slots: void slotColorCellSelected (int); void slotColorCellDoubleClicked (int); - void slotColorTextSelected (const QString&); - void slotSetPalette (const QString&); + void slotColorTextSelected (const TQString&); + void slotSetPalette (const TQString&); void slotShowNamedColorReadError (); protected: @@ -136,7 +136,7 @@ protected: }; // class KPaletteTable -class KColorCells : QGridView +class KColorCells : TQGridView { %TypeHeaderCode #include <kcolordialog.h> @@ -144,9 +144,9 @@ class KColorCells : QGridView public: - KColorCells (QWidget* /TransferThis/, int, int); - void setColor (int, const QColor&); - QColor color (int) const; + KColorCells (TQWidget* /TransferThis/, int, int); + void setColor (int, const TQColor&); + TQColor color (int) const; int numCells () const; void setShading (bool); void setAcceptDrags (bool); @@ -157,15 +157,15 @@ signals: void colorDoubleClicked (int); protected: - virtual void paintCell (QPainter*, int, int); - virtual void resizeEvent (QResizeEvent*); - virtual void mouseReleaseEvent (QMouseEvent*); - virtual void mousePressEvent (QMouseEvent*); - virtual void mouseMoveEvent (QMouseEvent*); - virtual void dragEnterEvent (QDragEnterEvent*); - virtual void dropEvent (QDropEvent*); - virtual void mouseDoubleClickEvent (QMouseEvent*); - int posToCell (const QPoint&, bool = 0); + virtual void paintCell (TQPainter*, int, int); + virtual void resizeEvent (TQResizeEvent*); + virtual void mouseReleaseEvent (TQMouseEvent*); + virtual void mousePressEvent (TQMouseEvent*); + virtual void mouseMoveEvent (TQMouseEvent*); + virtual void dragEnterEvent (TQDragEnterEvent*); + virtual void dropEvent (TQDropEvent*); + virtual void mouseDoubleClickEvent (TQMouseEvent*); + int posToCell (const TQPoint&, bool = 0); protected: //igx virtual void virtual_hook (int, void*); @@ -173,7 +173,7 @@ protected: }; // class KColorCells -class KColorPatch : QFrame +class KColorPatch : TQFrame { %TypeHeaderCode #include <kcolordialog.h> @@ -181,17 +181,17 @@ class KColorPatch : QFrame public: - KColorPatch (QWidget* /TransferThis/); - void setColor (const QColor&); + KColorPatch (TQWidget* /TransferThis/); + void setColor (const TQColor&); signals: - void colorChanged (const QColor&); + void colorChanged (const TQColor&); protected: - virtual void drawContents (QPainter*); - virtual void mouseMoveEvent (QMouseEvent*); - virtual void dragEnterEvent (QDragEnterEvent*); - virtual void dropEvent (QDropEvent*); + virtual void drawContents (TQPainter*); + virtual void mouseMoveEvent (TQMouseEvent*); + virtual void dragEnterEvent (TQDragEnterEvent*); + virtual void dropEvent (TQDropEvent*); protected: //igx virtual void virtual_hook (int, void*); @@ -207,26 +207,26 @@ class KColorDialog : KDialogBase public: - KColorDialog (QWidget* /TransferThis/ = 0, const char* = 0, bool = 0); - QColor color (); - static int getColor (QColor&, QWidget* /Transfer/ = 0); - static int getColor (QColor&, const QColor&, QWidget* /Transfer/ = 0); - static QColor grabColor (const QPoint&); - void setDefaultColor (const QColor&); - QColor defaultColor () const; + KColorDialog (TQWidget* /TransferThis/ = 0, const char* = 0, bool = 0); + TQColor color (); + static int getColor (TQColor&, TQWidget* /Transfer/ = 0); + static int getColor (TQColor&, const TQColor&, TQWidget* /Transfer/ = 0); + static TQColor grabColor (const TQPoint&); + void setDefaultColor (const TQColor&); + TQColor defaultColor () const; public slots: - void setColor (const QColor&); + void setColor (const TQColor&); signals: - void colorSelected (const QColor&); + void colorSelected (const TQColor&); protected: - virtual void mouseReleaseEvent (QMouseEvent*); - virtual void keyPressEvent (QKeyEvent*); + virtual void mouseReleaseEvent (TQMouseEvent*); + virtual void keyPressEvent (TQKeyEvent*); %If ( KDE_3_2_0 - ) - virtual bool eventFilter (QObject*, QEvent*); + virtual bool eventFilter (TQObject*, TQEvent*); %End diff --git a/sip/tdeui/kcolordrag.sip b/sip/tdeui/kcolordrag.sip index 8ef7347..804aa75 100644 --- a/sip/tdeui/kcolordrag.sip +++ b/sip/tdeui/kcolordrag.sip @@ -24,7 +24,7 @@ // 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. -class KColorDrag : QStoredDrag +class KColorDrag : TQStoredDrag { %TypeHeaderCode #include <kcolordrag.h> @@ -32,18 +32,18 @@ class KColorDrag : QStoredDrag public: - KColorDrag (QWidget* = 0, const char* = 0); - KColorDrag (const QColor&, QWidget* = 0, const char* = 0); + KColorDrag (TQWidget* = 0, const char* = 0); + KColorDrag (const TQColor&, TQWidget* = 0, const char* = 0); %If ( KDE_3_2_0 - ) virtual const char* format (int) const; - virtual QByteArray encodedData (const char*) const; + virtual TQByteArray encodedData (const char*) const; %End - void setColor (const QColor&); - static bool canDecode (QMimeSource*); - static bool decode (QMimeSource*, QColor&); - static KColorDrag* makeDrag (const QColor&, QWidget*); + void setColor (const TQColor&); + static bool canDecode (TQMimeSource*); + static bool decode (TQMimeSource*, TQColor&); + static KColorDrag* makeDrag (const TQColor&, TQWidget*); protected: //igx virtual void virtual_hook (int, void*); diff --git a/sip/tdeui/kcombobox.sip b/sip/tdeui/kcombobox.sip index 956c0a8..0873a04 100644 --- a/sip/tdeui/kcombobox.sip +++ b/sip/tdeui/kcombobox.sip @@ -24,7 +24,7 @@ // 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. -class KComboBox : QComboBox, KCompletionBase +class KComboBox : TQComboBox, KCompletionBase { %TypeHeaderCode #include <kcombobox.h> @@ -32,13 +32,13 @@ class KComboBox : QComboBox, KCompletionBase public: - KComboBox (QWidget* /TransferThis/ = 0, const char* = 0); - KComboBox (bool, QWidget* /TransferThis/ = 0, const char* = 0); + KComboBox (TQWidget* /TransferThis/ = 0, const char* = 0); + KComboBox (bool, TQWidget* /TransferThis/ = 0, const char* = 0); void setEditURL (const KURL&); void insertURL (const KURL&, int = -1); - void insertURL (const QPixmap&, const KURL&, int = -1); + void insertURL (const TQPixmap&, const KURL&, int = -1); void changeURL (const KURL&, int); - void changeURL (const QPixmap&, const KURL&, int); + void changeURL (const TQPixmap&, const KURL&, int); int cursorPosition () const; virtual void setAutoCompletion (bool); bool autoCompletion () const; @@ -46,39 +46,39 @@ public: bool isContextMenuEnabled () const; void setURLDropsEnabled (bool); bool isURLDropsEnabled () const; - bool contains (const QString&) const; + bool contains (const TQString&) const; void setTrapReturnKey (bool); bool trapReturnKey () const; - virtual bool eventFilter (QObject*, QEvent*); + virtual bool eventFilter (TQObject*, TQEvent*); KCompletionBox* completionBox (bool); - virtual void setLineEdit (QLineEdit*); + virtual void setLineEdit (TQLineEdit*); signals: void returnPressed (); - void returnPressed (const QString&); - void completion (const QString&); - void substringCompletion (const QString&); + void returnPressed (const TQString&); + void completion (const TQString&); + void substringCompletion (const TQString&); void textRotation (KCompletionBase::KeyBindingType); void completionModeChanged (KGlobalSettings::Completion); - void aboutToShowContextMenu (QPopupMenu*); + void aboutToShowContextMenu (TQPopupMenu*); public slots: void rotateText (KCompletionBase::KeyBindingType); - virtual void setCompletedText (const QString&); - void setCompletedItems (const QStringList&); - void setCurrentItem (const QString&, bool = 0, int = -1); + virtual void setCompletedText (const TQString&); + void setCompletedItems (const TQStringList&); + void setCurrentItem (const TQString&, bool = 0, int = -1); void setCurrentItem (int); protected slots: - virtual void itemSelected (QListBoxItem*); - virtual void makeCompletion (const QString&); + virtual void itemSelected (TQListBoxItem*); + virtual void makeCompletion (const TQString&); protected: - virtual void setCompletedText (const QString&, bool); + virtual void setCompletedText (const TQString&, bool); virtual void create (WId = 0, bool = 1, bool = 1); %If ( KDE_3_1_0 - ) - virtual void wheelEvent (QWheelEvent*); + virtual void wheelEvent (TQWheelEvent*); %End @@ -96,31 +96,31 @@ class KHistoryCombo : KComboBox public: - KHistoryCombo (QWidget* /TransferThis/ = 0, const char* = 0); - KHistoryCombo (bool, QWidget* /TransferThis/ = 0, const char* = 0); - void setHistoryItems (QStringList); - void setHistoryItems (QStringList, bool); - QStringList historyItems () const; - bool removeFromHistory (const QString&); + KHistoryCombo (TQWidget* /TransferThis/ = 0, const char* = 0); + KHistoryCombo (bool, TQWidget* /TransferThis/ = 0, const char* = 0); + void setHistoryItems (TQStringList); + void setHistoryItems (TQStringList, bool); + TQStringList historyItems () const; + bool removeFromHistory (const TQString&); void setPixmapProvider (KPixmapProvider*); KPixmapProvider* pixmapProvider () const; void reset (); public slots: - void addToHistory (const QString&); + void addToHistory (const TQString&); void clearHistory (); signals: void cleared (); protected: - virtual void keyPressEvent (QKeyEvent*); + virtual void keyPressEvent (TQKeyEvent*); %If ( KDE_3_1_0 - ) - virtual void wheelEvent (QWheelEvent*); + virtual void wheelEvent (TQWheelEvent*); %End - void insertItems (const QStringList&); + void insertItems (const TQStringList&); bool useCompletion (); protected: diff --git a/sip/tdeui/kcommand.sip b/sip/tdeui/kcommand.sip index 09f5aeb..4a9d206 100644 --- a/sip/tdeui/kcommand.sip +++ b/sip/tdeui/kcommand.sip @@ -37,7 +37,7 @@ protected: public: virtual void execute () = 0; virtual void unexecute () = 0; - virtual QString name () const = 0; + virtual TQString name () const = 0; protected: //igx virtual void virtual_hook (int, void*); @@ -53,11 +53,11 @@ class KNamedCommand : KCommand protected: - KNamedCommand (const QString&); + KNamedCommand (const TQString&); public: - virtual QString name () const; - void setName (const QString&); + virtual TQString name () const; + void setName (const TQString&); protected: //igx virtual void virtual_hook (int, void*); @@ -73,7 +73,7 @@ class KMacroCommand : KNamedCommand public: - KMacroCommand (const QString&); + KMacroCommand (const TQString&); void addCommand (KCommand*); virtual void execute (); virtual void unexecute (); @@ -86,7 +86,7 @@ protected: }; // class KMacroCommand -class KCommandHistory : QObject +class KCommandHistory : TQObject { %TypeHeaderCode #include <kcommand.h> diff --git a/sip/tdeui/kcompletionbox.sip b/sip/tdeui/kcompletionbox.sip index f6cec4a..ba1fd9c 100644 --- a/sip/tdeui/kcompletionbox.sip +++ b/sip/tdeui/kcompletionbox.sip @@ -32,8 +32,8 @@ class KCompletionBox : KListBox public: - KCompletionBox (QWidget* /TransferThis/, const char* = 0); - virtual QSize sizeHint () const; + KCompletionBox (TQWidget* /TransferThis/, const char* = 0); + virtual TQSize sizeHint () const; %If ( KDE_3_4_3 - ) bool activateOnSelect () const; @@ -41,14 +41,14 @@ public: public slots: - QStringList items () const; - void insertItems (const QStringList&, int = -1); - void setItems (const QStringList&); + TQStringList items () const; + void insertItems (const TQStringList&, int = -1); + void setItems (const TQStringList&); virtual void popup (); void setTabHandling (bool); bool isTabHandling () const; - void setCancelledText (const QString&); - QString cancelledText () const; + void setCancelledText (const TQString&); + TQString cancelledText () const; %If ( KDE_3_4_3 - ) void setActivateOnSelect (bool); @@ -64,20 +64,20 @@ public slots: virtual void hide (); signals: - void activated (const QString&); - void userCancelled (const QString&); + void activated (const TQString&); + void userCancelled (const TQString&); protected: %If ( KDE_3_2_0 - ) - QRect calculateGeometry () const; + TQRect calculateGeometry () const; void sizeAndPosition (); %End - virtual bool eventFilter (QObject*, QEvent*); + virtual bool eventFilter (TQObject*, TQEvent*); protected slots: - virtual void slotActivated (QListBoxItem*); + virtual void slotActivated (TQListBoxItem*); protected: //igx virtual void virtual_hook (int, void*); diff --git a/sip/tdeui/kconfigdialog.sip b/sip/tdeui/kconfigdialog.sip index f6db24f..ad12eaa 100644 --- a/sip/tdeui/kconfigdialog.sip +++ b/sip/tdeui/kconfigdialog.sip @@ -39,11 +39,11 @@ signals: void settingsChanged (const char*); public: - KConfigDialog (QWidget* /TransferThis/, const char*, KConfigSkeleton*, KDialogBase::DialogType = KDialogBase ::IconList , int = KDialogBase ::Default |KDialogBase ::Ok |KDialogBase ::Apply |KDialogBase ::Cancel |KDialogBase ::Help , KDialogBase::ButtonCode = Ok , bool = 0); - void addPage (QWidget*, const QString&, const QString&, const QString& = QString ::null , bool = 1); + KConfigDialog (TQWidget* /TransferThis/, const char*, KConfigSkeleton*, KDialogBase::DialogType = KDialogBase ::IconList , int = KDialogBase ::Default |KDialogBase ::Ok |KDialogBase ::Apply |KDialogBase ::Cancel |KDialogBase ::Help , KDialogBase::ButtonCode = Ok , bool = 0); + void addPage (TQWidget*, const TQString&, const TQString&, const TQString& = TQString ::null , bool = 1); %If ( KDE_3_3_0 - ) - void addPage (QWidget*, KConfigSkeleton*, const QString&, const QString&, const QString& = QString ::null ); + void addPage (TQWidget*, KConfigSkeleton*, const TQString&, const TQString&, const TQString& = TQString ::null ); %End static KConfigDialog* exists (const char*); diff --git a/sip/tdeui/kcontainer.sip b/sip/tdeui/kcontainer.sip index 6b57a6a..862bd4d 100644 --- a/sip/tdeui/kcontainer.sip +++ b/sip/tdeui/kcontainer.sip @@ -24,7 +24,7 @@ // 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. -class KContainerLayout : QFrame +class KContainerLayout : TQFrame { %TypeHeaderCode #include <kcontainer.h> @@ -39,10 +39,10 @@ public: Vertical }; - KContainerLayout (QWidget*/TransferThis/ = 0, const char* = 0, int = KContainerLayout::Horizontal, bool = 0, int = 5, WFlags = 0, bool = 1); + KContainerLayout (TQWidget*/TransferThis/ = 0, const char* = 0, int = KContainerLayout::Horizontal, bool = 0, int = 5, WFlags = 0, bool = 1); int getNumberOfWidgets () const; - int packStart (QWidget*, bool = 0, bool = 0, int = 1); - int packEnd (QWidget*, bool = 0, bool = 0, int = 1); + int packStart (TQWidget*, bool = 0, bool = 0, int = 1); + int packEnd (TQWidget*, bool = 0, bool = 0, int = 1); void setOrientation (int); void setHomogeneos (bool); void setSpacing (int); @@ -60,16 +60,16 @@ protected: //ig class KContainerLayoutItem; void recalcLayout (); -//ig QSize widgetSize (KContainerLayout::KContainerLayoutItem*); +//ig TQSize widgetSize (KContainerLayout::KContainerLayoutItem*); void repositionWidgets (); int numberOfWidgetsWithExpand (); void calculateSizeHint (); - QSize sizeOfLargerWidget (); -//ig QSize idealSizeOfWidget (KContainerLayout::KContainerLayoutItem*); + TQSize sizeOfLargerWidget (); +//ig TQSize idealSizeOfWidget (KContainerLayout::KContainerLayoutItem*); bool horizontal () const; - virtual void resizeEvent (QResizeEvent*); - virtual bool eventFilter (QObject*, QEvent*); - virtual QSize sizeHint () const; + virtual void resizeEvent (TQResizeEvent*); + virtual bool eventFilter (TQObject*, TQEvent*); + virtual TQSize sizeHint () const; }; // class KContainerLayout diff --git a/sip/tdeui/kcursor.sip b/sip/tdeui/kcursor.sip index 2ad3e34..13ade50 100644 --- a/sip/tdeui/kcursor.sip +++ b/sip/tdeui/kcursor.sip @@ -24,7 +24,7 @@ // 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. -class KCursor : Qt +class KCursor : TQt { %TypeHeaderCode #include <kcursor.h> @@ -33,25 +33,25 @@ class KCursor : Qt public: KCursor (); - static QCursor handCursor (); - static QCursor workingCursor (); - static QCursor arrowCursor (); - static QCursor upArrowCursor (); - static QCursor crossCursor (); - static QCursor waitCursor (); - static QCursor ibeamCursor (); - static QCursor sizeVerCursor (); - static QCursor sizeHorCursor (); - static QCursor sizeBDiagCursor (); - static QCursor sizeFDiagCursor (); - static QCursor sizeAllCursor (); - static QCursor blankCursor (); - static QCursor whatsThisCursor (); - static void setAutoHideCursor (QWidget*, bool); - static void setAutoHideCursor (QWidget*, bool, bool); + static TQCursor handCursor (); + static TQCursor workingCursor (); + static TQCursor arrowCursor (); + static TQCursor upArrowCursor (); + static TQCursor crossCursor (); + static TQCursor waitCursor (); + static TQCursor ibeamCursor (); + static TQCursor sizeVerCursor (); + static TQCursor sizeHorCursor (); + static TQCursor sizeBDiagCursor (); + static TQCursor sizeFDiagCursor (); + static TQCursor sizeAllCursor (); + static TQCursor blankCursor (); + static TQCursor whatsThisCursor (); + static void setAutoHideCursor (TQWidget*, bool); + static void setAutoHideCursor (TQWidget*, bool, bool); static void setHideCursorDelay (int); static int hideCursorDelay (); - static void autoHideEventFilter (QObject*, QEvent*); + static void autoHideEventFilter (TQObject*, TQEvent*); }; // class KCursor diff --git a/sip/tdeui/kdatepicker.sip b/sip/tdeui/kdatepicker.sip index ebd697e..5d0862e 100644 --- a/sip/tdeui/kdatepicker.sip +++ b/sip/tdeui/kdatepicker.sip @@ -24,7 +24,7 @@ // 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. -class KDatePicker : QFrame +class KDatePicker : TQFrame { %TypeHeaderCode #include <kdatepicker.h> @@ -32,17 +32,17 @@ class KDatePicker : QFrame public: - KDatePicker (QWidget* /TransferThis/ = 0, QDate = QDate ::currentDate (), const char* = 0); + KDatePicker (TQWidget* /TransferThis/ = 0, TQDate = TQDate ::currentDate (), const char* = 0); %If ( KDE_3_1_0 - ) - KDatePicker (QWidget* /TransferThis/, QDate, const char*, WFlags); - KDatePicker (QWidget* /TransferThis/, const char*); + KDatePicker (TQWidget* /TransferThis/, TQDate, const char*, WFlags); + KDatePicker (TQWidget* /TransferThis/, const char*); %End - QSize sizeHint () const; - bool setDate (const QDate&); - const QDate& getDate () const; - const QDate& date () const; + TQSize sizeHint () const; + bool setDate (const TQDate&); + const TQDate& getDate () const; + const TQDate& date () const; void setEnabled (bool); %If ( KDE_3_2_0 - ) @@ -61,13 +61,13 @@ public: protected: %If ( KDE_3_1_0 - ) - virtual bool eventFilter (QObject*, QEvent*); - virtual void resizeEvent (QResizeEvent*); + virtual bool eventFilter (TQObject*, TQEvent*); + virtual void resizeEvent (TQResizeEvent*); %End protected slots: - void dateChangedSlot (QDate); + void dateChangedSlot (TQDate); void tableClickedSlot (); void monthForwardClicked (); void monthBackwardClicked (); @@ -89,9 +89,9 @@ protected slots: signals: - void dateChanged (QDate); - void dateSelected (QDate); - void dateEntered (QDate); + void dateChanged (TQDate); + void dateSelected (TQDate); + void dateEntered (TQDate); void tableClicked (); protected: @@ -100,7 +100,7 @@ protected: protected: %If ( - KDE_3_1_0 ) - void resizeEvent (QResizeEvent*); + void resizeEvent (TQResizeEvent*); %End diff --git a/sip/tdeui/kdatepik.sip b/sip/tdeui/kdatepik.sip index a5e6505..509ca57 100644 --- a/sip/tdeui/kdatepik.sip +++ b/sip/tdeui/kdatepik.sip @@ -24,7 +24,7 @@ // 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. -class KDatePicker : QFrame +class KDatePicker : TQFrame { %TypeHeaderCode #include <kdatepik.h> @@ -32,19 +32,19 @@ class KDatePicker : QFrame public: - KDatePicker (QWidget*/TransferThis/ = 0, QDate = QDate::currentDate(), const char* = 0); - QSize sizeHint () const; - bool setDate (const QDate&); - const QDate& getDate (); + KDatePicker (TQWidget*/TransferThis/ = 0, TQDate = TQDate::currentDate(), const char* = 0); + TQSize sizeHint () const; + bool setDate (const TQDate&); + const TQDate& getDate (); void setEnabled (bool); void setFontSize (int); int fontSize () const; protected: - void resizeEvent (QResizeEvent*); + void resizeEvent (TQResizeEvent*); protected slots: - void dateChangedSlot (QDate); + void dateChangedSlot (TQDate); void tableClickedSlot (); void monthForwardClicked (); void monthBackwardClicked (); @@ -55,9 +55,9 @@ protected slots: void lineEnterPressed (); signals: - void dateChanged (QDate); - void dateSelected (QDate); - void dateEntered (QDate); + void dateChanged (TQDate); + void dateSelected (TQDate); + void dateEntered (TQDate); void tableClicked (); }; // class KDatePicker diff --git a/sip/tdeui/kdatetbl.sip b/sip/tdeui/kdatetbl.sip index 58186d2..3de37b7 100644 --- a/sip/tdeui/kdatetbl.sip +++ b/sip/tdeui/kdatetbl.sip @@ -26,7 +26,7 @@ %If ( KDE_3_1_0 - ) -class KDateInternalWeekSelector : QLineEdit +class KDateInternalWeekSelector : TQLineEdit { %TypeHeaderCode #include <kdatetbl.h> @@ -49,7 +49,7 @@ signals: public: %If ( KDE_3_2_0 - ) - KDateInternalWeekSelector (QWidget* /TransferThis/ = 0, const char* = 0); + KDateInternalWeekSelector (TQWidget* /TransferThis/ = 0, const char* = 0); %End int getWeek (); @@ -58,7 +58,7 @@ public: public: %If ( - KDE_3_2_0 ) - KDateInternalWeekSelector (int, QWidget* /TransferThis/ = 0, const char* = 0); + KDateInternalWeekSelector (int, TQWidget* /TransferThis/ = 0, const char* = 0); %End @@ -67,7 +67,7 @@ public: %End -class KDateInternalMonthPicker : QGridView +class KDateInternalMonthPicker : TQGridView { %TypeHeaderCode #include <kdatetbl.h> @@ -82,49 +82,49 @@ signals: public: %If ( KDE_3_2_0 - ) - KDateInternalMonthPicker (const QDate&, QWidget* /TransferThis/, const char* = 0); + KDateInternalMonthPicker (const TQDate&, TQWidget* /TransferThis/, const char* = 0); %End - QSize sizeHint () const; + TQSize sizeHint () const; int getResult () const; protected: - void setupPainter (QPainter*); + void setupPainter (TQPainter*); %If ( KDE_3_0_1 - ) - virtual void viewportResizeEvent (QResizeEvent*); + virtual void viewportResizeEvent (TQResizeEvent*); %End - virtual void paintCell (QPainter*, int, int); + virtual void paintCell (TQPainter*, int, int); %If ( KDE_3_0_1 - ) - virtual void contentsMousePressEvent (QMouseEvent*); - virtual void contentsMouseMoveEvent (QMouseEvent*); - virtual void contentsMouseReleaseEvent (QMouseEvent*); + virtual void contentsMousePressEvent (TQMouseEvent*); + virtual void contentsMouseMoveEvent (TQMouseEvent*); + virtual void contentsMouseReleaseEvent (TQMouseEvent*); %End public: %If ( - KDE_3_2_0 ) - KDateInternalMonthPicker (int, QWidget* /TransferThis/, const char* = 0); + KDateInternalMonthPicker (int, TQWidget* /TransferThis/, const char* = 0); %End protected: %If ( - KDE_3_0_1 ) - void viewportResizeEvent (QResizeEvent*); - void contentsMousePressEvent (QMouseEvent*); - void contentsMouseMoveEvent (QMouseEvent*); - void contentsMouseReleaseEvent (QMouseEvent*); + void viewportResizeEvent (TQResizeEvent*); + void contentsMousePressEvent (TQMouseEvent*); + void contentsMouseMoveEvent (TQMouseEvent*); + void contentsMouseReleaseEvent (TQMouseEvent*); %End }; // class KDateInternalMonthPicker -class KDateInternalYearSelector : QLineEdit +class KDateInternalYearSelector : TQLineEdit { %TypeHeaderCode #include <kdatetbl.h> @@ -142,7 +142,7 @@ signals: public: %If ( KDE_3_2_0 - ) - KDateInternalYearSelector (QWidget* /TransferThis/ = 0, const char* = 0); + KDateInternalYearSelector (TQWidget* /TransferThis/ = 0, const char* = 0); %End int getYear (); @@ -151,14 +151,14 @@ public: public: %If ( - KDE_3_2_0 ) - KDateInternalYearSelector (int, QWidget* /TransferThis/ = 0, const char* = 0); + KDateInternalYearSelector (int, TQWidget* /TransferThis/ = 0, const char* = 0); %End }; // class KDateInternalYearSelector -class KPopupFrame : QFrame +class KPopupFrame : TQFrame { %TypeHeaderCode #include <kdatetbl.h> @@ -168,7 +168,7 @@ class KPopupFrame : QFrame protected: %If ( KDE_3_0_1 - ) - virtual void keyPressEvent (QKeyEvent*); + virtual void keyPressEvent (TQKeyEvent*); %End @@ -181,15 +181,15 @@ public slots: public: - KPopupFrame (QWidget* /TransferThis/ = 0, const char* = 0); - void setMainWidget (QWidget*); + KPopupFrame (TQWidget* /TransferThis/ = 0, const char* = 0); + void setMainWidget (TQWidget*); %If ( KDE_3_0_1 - ) - virtual void resizeEvent (QResizeEvent*); + virtual void resizeEvent (TQResizeEvent*); %End - void popup (const QPoint&); - int exec (QPoint) /PyName=exec_/; + void popup (const TQPoint&); + int exec (TQPoint) /PyName=exec_/; int exec (int, int) /PyName=exec_/; protected: @@ -198,21 +198,21 @@ protected: protected: %If ( - KDE_3_0_1 ) - void keyPressEvent (QKeyEvent*); + void keyPressEvent (TQKeyEvent*); %End public: %If ( - KDE_3_0_1 ) - void resizeEvent (QResizeEvent*); + void resizeEvent (TQResizeEvent*); %End }; // class KPopupFrame -class KDateValidator : QValidator +class KDateValidator : TQValidator { %TypeHeaderCode #include <kdatetbl.h> @@ -220,15 +220,15 @@ class KDateValidator : QValidator public: - KDateValidator (QWidget* /TransferThis/ = 0, const char* = 0); - virtual State validate (QString&, int&) const; - virtual void fixup (QString&) const; - State date (const QString&, QDate&) const; + KDateValidator (TQWidget* /TransferThis/ = 0, const char* = 0); + virtual State validate (TQString&, int&) const; + virtual void fixup (TQString&) const; + State date (const TQString&, TQDate&) const; }; // class KDateValidator -class KDateTable : QGridView +class KDateTable : TQGridView { %TypeHeaderCode #include <kdatetbl.h> @@ -236,16 +236,16 @@ class KDateTable : QGridView public: - KDateTable (QWidget* /TransferThis/ = 0, QDate = QDate ::currentDate (), const char* = 0, WFlags = 0); + KDateTable (TQWidget* /TransferThis/ = 0, TQDate = TQDate ::currentDate (), const char* = 0, WFlags = 0); %If ( KDE_3_4_0 - ) - KDateTable (QWidget* /TransferThis/, const char*, WFlags = 0); + KDateTable (TQWidget* /TransferThis/, const char*, WFlags = 0); %End - virtual QSize sizeHint () const; + virtual TQSize sizeHint () const; void setFontSize (int); - bool setDate (const QDate&); - const QDate& getDate () const; + bool setDate (const TQDate&); + const TQDate& getDate () const; %If ( KDE_3_2_0 - ) void setPopupMenuEnabled (bool); @@ -258,41 +258,41 @@ public: CircleMode }; - void setCustomDatePainting (const QDate&, const QColor&, BackgroundMode = NoBgMode , const QColor& = QColor ()); - void unsetCustomDatePainting (const QDate&); + void setCustomDatePainting (const TQDate&, const TQColor&, BackgroundMode = NoBgMode , const TQColor& = TQColor ()); + void unsetCustomDatePainting (const TQDate&); %End protected: %If ( KDE_3_2_0 - ) - int posFromDate (const QDate&); - QDate dateFromPos (int); + int posFromDate (const TQDate&); + TQDate dateFromPos (int); %End - virtual void paintCell (QPainter*, int, int); - virtual void viewportResizeEvent (QResizeEvent*); - virtual void contentsMousePressEvent (QMouseEvent*); + virtual void paintCell (TQPainter*, int, int); + virtual void viewportResizeEvent (TQResizeEvent*); + virtual void contentsMousePressEvent (TQMouseEvent*); %If ( KDE_3_1_0 - ) - virtual void wheelEvent (QWheelEvent*); + virtual void wheelEvent (TQWheelEvent*); %End - virtual void keyPressEvent (QKeyEvent*); - virtual void focusInEvent (QFocusEvent*); - virtual void focusOutEvent (QFocusEvent*); + virtual void keyPressEvent (TQKeyEvent*); + virtual void focusInEvent (TQFocusEvent*); + virtual void focusOutEvent (TQFocusEvent*); signals: - void dateChanged (QDate); + void dateChanged (TQDate); %If ( KDE_3_2_0 - ) - void dateChanged (const QDate&, const QDate&); + void dateChanged (const TQDate&, const TQDate&); %End void tableClicked (); %If ( KDE_3_2_0 - ) - void aboutToShowContextMenu (KPopupMenu*, const QDate&); + void aboutToShowContextMenu (KPopupMenu*, const TQDate&); %End diff --git a/sip/tdeui/kdatetimewidget.sip b/sip/tdeui/kdatetimewidget.sip index 76eaaa5..d777aa7 100644 --- a/sip/tdeui/kdatetimewidget.sip +++ b/sip/tdeui/kdatetimewidget.sip @@ -26,7 +26,7 @@ %If ( KDE_3_2_0 - ) -class KDateTimeWidget : QWidget +class KDateTimeWidget : TQWidget { %TypeHeaderCode #include <kdatetimewidget.h> @@ -34,15 +34,15 @@ class KDateTimeWidget : QWidget public: - KDateTimeWidget (QWidget* /TransferThis/ = 0, const char* = 0); - KDateTimeWidget (const QDateTime&, QWidget* /TransferThis/ = 0, const char* = 0); - QDateTime dateTime () const; + KDateTimeWidget (TQWidget* /TransferThis/ = 0, const char* = 0); + KDateTimeWidget (const TQDateTime&, TQWidget* /TransferThis/ = 0, const char* = 0); + TQDateTime dateTime () const; public slots: - void setDateTime (const QDateTime&); + void setDateTime (const TQDateTime&); signals: - void valueChanged (const QDateTime&); + void valueChanged (const TQDateTime&); }; // class KDateTimeWidget diff --git a/sip/tdeui/kdatewidget.sip b/sip/tdeui/kdatewidget.sip index 6ca065e..e044891 100644 --- a/sip/tdeui/kdatewidget.sip +++ b/sip/tdeui/kdatewidget.sip @@ -24,7 +24,7 @@ // 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. -class KDateWidget : QWidget +class KDateWidget : TQWidget { %TypeHeaderCode #include <kdatewidget.h> @@ -32,19 +32,19 @@ class KDateWidget : QWidget public: - KDateWidget (QWidget* /TransferThis/, const char* = 0); - KDateWidget (QDate, QWidget* /TransferThis/, const char* = 0); - QDate date () const; - void setDate (QDate); + KDateWidget (TQWidget* /TransferThis/, const char* = 0); + KDateWidget (TQDate, TQWidget* /TransferThis/, const char* = 0); + TQDate date () const; + void setDate (TQDate); signals: - void changed (QDate); + void changed (TQDate); protected: void init (); %If ( KDE_3_2_0 - ) - void init (const QDate&); + void init (const TQDate&); %End diff --git a/sip/tdeui/kdbtn.sip b/sip/tdeui/kdbtn.sip index d493b0c..34c1d52 100644 --- a/sip/tdeui/kdbtn.sip +++ b/sip/tdeui/kdbtn.sip @@ -24,7 +24,7 @@ // 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. -class KDirectionButton : QButton +class KDirectionButton : TQButton { %TypeHeaderCode #include <kdbtn.h> @@ -32,13 +32,13 @@ class KDirectionButton : QButton public: - KDirectionButton (QWidget*/TransferThis/ = 0, const char* = 0); - KDirectionButton (ArrowType, QWidget*/TransferThis/ = 0, const char* = 0); + KDirectionButton (TQWidget*/TransferThis/ = 0, const char* = 0); + KDirectionButton (ArrowType, TQWidget*/TransferThis/ = 0, const char* = 0); void setDirection (ArrowType); ArrowType direction (); protected: - virtual void drawButton (QPainter*); + virtual void drawButton (TQPainter*); }; // class KDirectionButton @@ -51,11 +51,11 @@ class KTabButton : KDirectionButton public: - KTabButton (QWidget*/TransferThis/ = 0, const char* = 0); - KTabButton (ArrowType, QWidget*/TransferThis/ = 0, const char* = 0); + KTabButton (TQWidget*/TransferThis/ = 0, const char* = 0); + KTabButton (ArrowType, TQWidget*/TransferThis/ = 0, const char* = 0); protected: - virtual void drawButton (QPainter*); + virtual void drawButton (TQPainter*); }; // class KTabButton diff --git a/sip/tdeui/kdcopactionproxy.sip b/sip/tdeui/kdcopactionproxy.sip index e5c3fd2..00bc89c 100644 --- a/sip/tdeui/kdcopactionproxy.sip +++ b/sip/tdeui/kdcopactionproxy.sip @@ -34,12 +34,12 @@ class KDCOPActionProxy : DCOPObjectProxy public: KDCOPActionProxy (KActionCollection*, DCOPObject* /TransferThis/); KDCOPActionProxy (DCOPObject* /TransferThis/); - virtual QValueList<KAction*> actions () const; + virtual TQValueList<KAction*> actions () const; virtual KAction* action (const char*) const; - virtual QCString actionObjectId (const QCString&) const; - virtual QMap<QCString,DCOPRef> actionMap (const QCString& = QCString ()) const; - virtual bool process (const QCString&, const QCString&, const QByteArray&, QCString&, QByteArray&); - virtual bool processAction (const QCString&, const QCString&, const QByteArray&, QCString&, QByteArray&, KAction*); + virtual TQCString actionObjectId (const TQCString&) const; + virtual TQMap<TQCString,DCOPRef> actionMap (const TQCString& = TQCString ()) const; + virtual bool process (const TQCString&, const TQCString&, const TQByteArray&, TQCString&, TQByteArray&); + virtual bool processAction (const TQCString&, const TQCString&, const TQByteArray&, TQCString&, TQByteArray&, KAction*); protected: //igx virtual void virtual_hook (int, void*); diff --git a/sip/tdeui/kdialog.sip b/sip/tdeui/kdialog.sip index 9770c47..5f90270 100644 --- a/sip/tdeui/kdialog.sip +++ b/sip/tdeui/kdialog.sip @@ -24,7 +24,7 @@ // 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. -class KDialog : QDialog +class KDialog : TQDialog { %TypeHeaderCode #include <kdialog.h> @@ -32,17 +32,17 @@ class KDialog : QDialog public: - KDialog (QWidget* /TransferThis/ = 0, const char* = 0, bool = 0, WFlags = 0); + KDialog (TQWidget* /TransferThis/ = 0, const char* = 0, bool = 0, WFlags = 0); static int marginHint (); static int spacingHint (); - static void resizeLayout (QWidget*, int, int); - static void resizeLayout (QLayoutItem*, int, int); + static void resizeLayout (TQWidget*, int, int); + static void resizeLayout (TQLayoutItem*, int, int); %If ( KDE_3_1_0 - ) - static void centerOnScreen (QWidget*, int = -1); + static void centerOnScreen (TQWidget*, int = -1); %If ( KDE_3_2_0 - ) - static bool avoidArea (QWidget*, const QRect&, int = -1); + static bool avoidArea (TQWidget*, const TQRect&, int = -1); %End %End @@ -50,11 +50,11 @@ public: public slots: virtual void polish (); - virtual void setCaption (const QString&); - virtual void setPlainCaption (const QString&); + virtual void setCaption (const TQString&); + virtual void setPlainCaption (const TQString&); protected: - virtual void keyPressEvent (QKeyEvent*); + virtual void keyPressEvent (TQKeyEvent*); signals: void layoutHintChanged (); @@ -70,7 +70,7 @@ private: }; // class KDialog -class KDialogQueue : QObject +class KDialogQueue : TQObject { %TypeHeaderCode #include <kdialog.h> @@ -78,7 +78,7 @@ class KDialogQueue : QObject public: - static void queueDialog (QDialog*); + static void queueDialog (TQDialog*); protected: KDialogQueue (); 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 (); diff --git a/sip/tdeui/kdocktabctl.sip b/sip/tdeui/kdocktabctl.sip index 33e538f..ed93169 100644 --- a/sip/tdeui/kdocktabctl.sip +++ b/sip/tdeui/kdocktabctl.sip @@ -32,15 +32,15 @@ class KDockTabCtl_PrivateStruct public: - KDockTabCtl_PrivateStruct (QWidget*, int); - QWidget* widget; + KDockTabCtl_PrivateStruct (TQWidget*, int); + TQWidget* widget; int id; bool enabled; }; // class KDockTabCtl_PrivateStruct -class KDockTabBar : QWidget +class KDockTabBar : TQWidget { %TypeHeaderCode #include <kdocktabctl.h> @@ -48,7 +48,7 @@ class KDockTabBar : QWidget public: - KDockTabBar (QWidget*/TransferThis/ = 0, const char* = 0); + KDockTabBar (TQWidget*/TransferThis/ = 0, const char* = 0); enum TabPos { @@ -57,40 +57,40 @@ public: }; void setTabPos (KDockTabBar::TabPos); - int insertTab (const QString&, int = -1, int = -1); - void setPixmap (int, const QPixmap&); - void setToolTip (int, const QString&); - void setTextColor (int, const QColor&); - const QColor& textColor (int); + int insertTab (const TQString&, int = -1, int = -1); + void setPixmap (int, const TQPixmap&); + void setToolTip (int, const TQString&); + void setTextColor (int, const TQColor&); + const TQColor& textColor (int); void removeTab (int); int currentTab (); void setCurrentTab (int, bool = 0); void setTabEnabled (int, bool); bool isTabEnabled (int); - void setTabCaption (int, const QString&); - QString tabCaption (int); + void setTabCaption (int, const TQString&); + TQString tabCaption (int); virtual void show (); - virtual void setFont (const QFont&); + virtual void setFont (const TQFont&); void showTabIcon (bool); bool isShowTabIcon (); signals: void tabSelected (int); - void rightButtonPress (int, QPoint); + void rightButtonPress (int, TQPoint); protected slots: void leftClicked (); void rightClicked (); protected: - virtual void paintEvent (QPaintEvent*); - virtual void resizeEvent (QResizeEvent*); - virtual void keyPressEvent (QKeyEvent*); + virtual void paintEvent (TQPaintEvent*); + virtual void resizeEvent (TQResizeEvent*); + virtual void keyPressEvent (TQKeyEvent*); }; // class KDockTabBar -class KDockTabBarPainter : QWidget +class KDockTabBarPainter : TQWidget { %TypeHeaderCode #include <kdocktabctl.h> @@ -98,22 +98,22 @@ class KDockTabBarPainter : QWidget public: - QString tip (const QPoint&); - QRect findBarRectByPos (int, int); + TQString tip (const TQPoint&); + TQRect findBarRectByPos (int, int); private: KDockTabBarPainter (KDockTabBar*/TransferThis/); protected: - virtual void mousePressEvent (QMouseEvent*); - virtual void mouseReleaseEvent (QMouseEvent*); - virtual void resizeEvent (QResizeEvent*); - virtual void paintEvent (QPaintEvent*); + virtual void mousePressEvent (TQMouseEvent*); + virtual void mouseReleaseEvent (TQMouseEvent*); + virtual void resizeEvent (TQResizeEvent*); + virtual void paintEvent (TQPaintEvent*); }; // class KDockTabBarPainter -class KDockTabCtl : QWidget +class KDockTabCtl : TQWidget { %TypeHeaderCode #include <kdocktabctl.h> @@ -121,66 +121,66 @@ class KDockTabCtl : QWidget public: - KDockTabCtl (QWidget*/TransferThis/ = 0, const char* = 0); + KDockTabCtl (TQWidget*/TransferThis/ = 0, const char* = 0); virtual void setTabPos (KDockTabBar::TabPos); KDockTabBar::TabPos getTabPos (); - int insertPage (QWidget*, const QString&, int = -1, int = -1); - void setPageCaption (QWidget*, const QString&); - void setPageCaption (int, const QString&); - QString pageCaption (QWidget*); - QString pageCaption (int); + int insertPage (TQWidget*, const TQString&, int = -1, int = -1); + void setPageCaption (TQWidget*, const TQString&); + void setPageCaption (int, const TQString&); + TQString pageCaption (TQWidget*); + TQString pageCaption (int); void captionAutoSet (bool); bool isCaptionAutoSet (); - void setPixmap (QWidget*, const QPixmap&); - void setPixmap (int, const QPixmap&); - void setToolTip (QWidget*, const QString&); - void setTabTextColor (QWidget*, const QColor&); - void setTabTextColor (int, const QColor&); - const QColor& tabTextColor (QWidget*); - const QColor& tabTextColor (int); - bool isPageEnabled (QWidget*); + void setPixmap (TQWidget*, const TQPixmap&); + void setPixmap (int, const TQPixmap&); + void setToolTip (TQWidget*, const TQString&); + void setTabTextColor (TQWidget*, const TQColor&); + void setTabTextColor (int, const TQColor&); + const TQColor& tabTextColor (TQWidget*); + const TQColor& tabTextColor (int); + bool isPageEnabled (TQWidget*); bool isPageEnabled (int); - void setPageEnabled (QWidget*, bool); + void setPageEnabled (TQWidget*, bool); void setPageEnabled (int, bool); - QWidget* page (int); - int id (QWidget*); - int index (QWidget*); - void removePage (QWidget*); + TQWidget* page (int); + int id (TQWidget*); + int index (TQWidget*); + void removePage (TQWidget*); void removePage (int); - QWidget* visiblePage (); + TQWidget* visiblePage (); int visiblePageId (); - void setVisiblePage (QWidget*, bool = 0); - void setTabFont (const QFont&); - QFont tabFont (); + void setVisiblePage (TQWidget*, bool = 0); + void setTabFont (const TQFont&); + TQFont tabFont (); void showTabIcon (bool); bool isShowTabIcon (); int pageCount (); - QWidget* getFirstPage (); - QWidget* getLastPage (); - QWidget* getNextPage (QWidget*); - QWidget* getPrevPage (QWidget*); + TQWidget* getFirstPage (); + TQWidget* getLastPage (); + TQWidget* getNextPage (TQWidget*); + TQWidget* getPrevPage (TQWidget*); virtual void show (); - virtual bool eventFilter (QObject*, QEvent*); + virtual bool eventFilter (TQObject*, TQEvent*); public slots: virtual void setEnabled (bool); void setVisiblePage (int); protected: - void paintEvent (QPaintEvent*); + void paintEvent (TQPaintEvent*); signals: - void aboutToShow (QWidget*); - void pageSelected (QWidget*); - void tabShowPopup (int, QPoint); + void aboutToShow (TQWidget*); + void pageSelected (TQWidget*); + void tabShowPopup (int, TQPoint); protected slots: - void rightButtonPress (int, QPoint); + void rightButtonPress (int, TQPoint); protected: - KDockTabCtl_PrivateStruct* findData (QWidget*); + KDockTabCtl_PrivateStruct* findData (TQWidget*); KDockTabCtl_PrivateStruct* findData (int); - void showPage (QWidget*, bool = 0); + void showPage (TQWidget*, bool = 0); }; // class KDockTabCtl diff --git a/sip/tdeui/kdockwidget.sip b/sip/tdeui/kdockwidget.sip index c65d398..8150ad1 100644 --- a/sip/tdeui/kdockwidget.sip +++ b/sip/tdeui/kdockwidget.sip @@ -24,7 +24,7 @@ // 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. -class KDockWidgetAbstractHeader : QFrame +class KDockWidgetAbstractHeader : TQFrame { %TypeHeaderCode #include <kdockwidget.h> @@ -43,7 +43,7 @@ protected: }; // class KDockWidgetAbstractHeader -class KDockWidgetAbstractHeaderDrag : QFrame +class KDockWidgetAbstractHeaderDrag : TQFrame { %TypeHeaderCode #include <kdockwidget.h> @@ -71,7 +71,7 @@ public: KDockWidgetHeaderDrag (KDockWidgetAbstractHeader* /TransferThis/, KDockWidget*, const char* = 0); protected: - virtual void paintEvent (QPaintEvent*); + virtual void paintEvent (TQPaintEvent*); protected: //igx virtual void virtual_hook (int, void*); @@ -127,7 +127,7 @@ protected: }; // class KDockWidgetHeader -class KDockTabGroup : QTabWidget +class KDockTabGroup : TQTabWidget { %TypeHeaderCode #include <kdockwidget.h> @@ -135,10 +135,10 @@ class KDockTabGroup : QTabWidget public: - KDockTabGroup (QWidget* /TransferThis/ = 0, const char* = 0); + KDockTabGroup (TQWidget* /TransferThis/ = 0, const char* = 0); %If ( KDE_3_2_0 - ) - QWidget* transientTo (); + TQWidget* transientTo (); %End @@ -148,7 +148,7 @@ protected: }; // class KDockTabGroup -class KDockWidget : QWidget +class KDockWidget : TQWidget { %TypeHeaderCode #include <kdockwidget.h> @@ -156,7 +156,7 @@ class KDockWidget : QWidget public: - KDockWidget (KDockManager*, const char*, const QPixmap&, QWidget* /TransferThis/ = 0, const QString& = 0, const QString& = " ", WFlags = 0); + KDockWidget (KDockManager*, const char*, const TQPixmap&, TQWidget* /TransferThis/ = 0, const TQString& = 0, const TQString& = " ", WFlags = 0); %If ( KDE_3_1_0 - ) @@ -177,13 +177,13 @@ public: %End - KDockWidget* manualDock (KDockWidget*, KDockWidget::DockPosition, int = 50, QPoint = QPoint (0 ,0 ), bool = 0, int = -1); + KDockWidget* manualDock (KDockWidget*, KDockWidget::DockPosition, int = 50, TQPoint = TQPoint (0 ,0 ), bool = 0, int = -1); void setEnableDocking (int); int enableDocking (); void setDockSite (int); int dockSite (); - void setWidget (QWidget*); - QWidget* getWidget (); + void setWidget (TQWidget*); + TQWidget* getWidget (); void setHeader (KDockWidgetAbstractHeader*); %If ( KDE_3_2_0 - ) @@ -194,24 +194,24 @@ public: bool mayBeHide (); bool mayBeShow (); KDockManager* dockManager (); - void setToolTipString (const QString&); - const QString& toolTipString (); + void setToolTipString (const TQString&); + const TQString& toolTipString (); bool isDockBackPossible (); - void setTabPageLabel (const QString&); - const QString& tabPageLabel (); - virtual bool event (QEvent*); + void setTabPageLabel (const TQString&); + const TQString& tabPageLabel (); + virtual bool event (TQEvent*); virtual void show (); KDockTabGroup* parentDockTabGroup (); %If ( KDE_3_1_0 - ) - QWidget* parentDockContainer () const; + TQWidget* parentDockContainer () const; %End void setDockWindowType (NET::WindowType); - void setDockWindowTransient (QWidget* /Transfer/, bool); + void setDockWindowTransient (TQWidget* /Transfer/, bool); %If ( KDE_3_2_0 - ) - QWidget* transientTo (); + TQWidget* transientTo (); %End @@ -219,8 +219,8 @@ public: KDockWidget* findNearestDockWidget (KDockWidget::DockPosition); %If ( KDE_3_2_0 - ) - void setPixmap (const QPixmap& = QPixmap ()); - const QPixmap& pixmap () const; + void setPixmap (const TQPixmap& = TQPixmap ()); + const TQPixmap& pixmap () const; %If ( KDE_3_3_0 - ) KDockWidget::DockPosition currentDockPosition () const; @@ -254,8 +254,8 @@ protected: void updateHeader (); %If ( KDE_3_1_0 - ) - void setLatestKDockContainer (QWidget*); - QWidget* latestKDockContainer (); + void setLatestKDockContainer (TQWidget*); + TQWidget* latestKDockContainer (); %If ( KDE_3_2_1 - ) void setFormerBrotherDockWidget (KDockWidget*); @@ -267,7 +267,7 @@ protected: signals: %If ( KDE_3_2_0 - ) - void widgetSet (QWidget*); + void widgetSet (TQWidget*); %End void docking (KDockWidget*, KDockWidget::DockPosition); @@ -281,11 +281,11 @@ protected slots: void loseFormerBrotherDockWidget (); %If ( KDE_3_1_0 - ) - virtual void paintEvent (QPaintEvent*); - virtual void mousePressEvent (QMouseEvent*); - virtual void mouseReleaseEvent (QMouseEvent*); - virtual void mouseMoveEvent (QMouseEvent*); - virtual void leaveEvent (QEvent*); + virtual void paintEvent (TQPaintEvent*); + virtual void mousePressEvent (TQMouseEvent*); + virtual void mouseReleaseEvent (TQMouseEvent*); + virtual void mouseMoveEvent (TQMouseEvent*); + virtual void leaveEvent (TQEvent*); %End @@ -318,7 +318,7 @@ public: }; // class KDockWidget -class KDockManager : QObject +class KDockManager : TQObject { %TypeHeaderCode #include <kdockwidget.h> @@ -340,27 +340,27 @@ public: public: - KDockManager (QWidget*, const char* = 0); + KDockManager (TQWidget*, const char* = 0); %If ( KDE_3_2_0 - ) void dumpDockWidgets (); %End - void writeConfig (KConfig* = 0, QString = QString ::null ); - void readConfig (KConfig* = 0, QString = QString ::null ); + void writeConfig (KConfig* = 0, TQString = TQString ::null ); + void readConfig (KConfig* = 0, TQString = TQString ::null ); %If ( KDE_3_1_0 - ) void setMainDockWidget2 (KDockWidget*); %End - void writeConfig (QDomElement&); - void readConfig (QDomElement&); + void writeConfig (TQDomElement&); + void readConfig (TQDomElement&); void activate (); - virtual bool eventFilter (QObject*, QEvent*); - KDockWidget* findWidgetParentDock (QWidget*); - void makeWidgetDockVisible (QWidget*); - QPopupMenu* dockHideShowMenu (); - KDockWidget* getDockWidgetFromName (const QString&); + virtual bool eventFilter (TQObject*, TQEvent*); + KDockWidget* findWidgetParentDock (TQWidget*); + void makeWidgetDockVisible (TQWidget*); + TQPopupMenu* dockHideShowMenu (); + KDockWidget* getDockWidgetFromName (const TQString&); void setSplitterOpaqueResize (bool = 1); bool splitterOpaqueResize () const; void setSplitterKeepSize (bool = 1); @@ -398,21 +398,21 @@ class KDockMainWindow : KMainWindow public: - KDockMainWindow (QWidget* /TransferThis/ = 0, const char* = 0, WFlags = WType_TopLevel |WDestructiveClose ); + KDockMainWindow (TQWidget* /TransferThis/ = 0, const char* = 0, WFlags = WType_TopLevel |WDestructiveClose ); KDockManager* manager (); void setMainDockWidget (KDockWidget*); KDockWidget* getMainDockWidget (); - KDockWidget* createDockWidget (const QString&, const QPixmap&, QWidget* /Transfer/ = 0, const QString& = 0, const QString& = " "); - void writeDockConfig (QDomElement&); - void readDockConfig (QDomElement&); - void writeDockConfig (KConfig* = 0, QString = QString ::null ); - void readDockConfig (KConfig* = 0, QString = QString ::null ); + KDockWidget* createDockWidget (const TQString&, const TQPixmap&, TQWidget* /Transfer/ = 0, const TQString& = 0, const TQString& = " "); + void writeDockConfig (TQDomElement&); + void readDockConfig (TQDomElement&); + void writeDockConfig (KConfig* = 0, TQString = TQString ::null ); + void readDockConfig (KConfig* = 0, TQString = TQString ::null ); void activateDock (); - QPopupMenu* dockHideShowMenu (); + TQPopupMenu* dockHideShowMenu (); void makeDockVisible (KDockWidget*); void makeDockInvisible (KDockWidget*); - void makeWidgetDockVisible (QWidget*); - void setView (QWidget*); + void makeWidgetDockVisible (TQWidget*); + void setView (TQWidget*); signals: void dockWidgetHasUndocked (KDockWidget*); @@ -428,7 +428,7 @@ protected: }; // class KDockMainWindow -class KDockArea : QWidget +class KDockArea : TQWidget { %TypeHeaderCode #include <kdockwidget.h> @@ -436,20 +436,20 @@ class KDockArea : QWidget public: - KDockArea (QWidget* /TransferThis/ = 0, const char* = 0); + KDockArea (TQWidget* /TransferThis/ = 0, const char* = 0); KDockManager* manager (); void setMainDockWidget (KDockWidget*); KDockWidget* getMainDockWidget (); - KDockWidget* createDockWidget (const QString&, const QPixmap&, QWidget* /Transfer/ = 0, const QString& = 0, const QString& = " "); - void writeDockConfig (QDomElement&); - void readDockConfig (QDomElement&); - void writeDockConfig (KConfig* = 0, QString = QString ::null ); - void readDockConfig (KConfig* = 0, QString = QString ::null ); + KDockWidget* createDockWidget (const TQString&, const TQPixmap&, TQWidget* /Transfer/ = 0, const TQString& = 0, const TQString& = " "); + void writeDockConfig (TQDomElement&); + void readDockConfig (TQDomElement&); + void writeDockConfig (KConfig* = 0, TQString = TQString ::null ); + void readDockConfig (KConfig* = 0, TQString = TQString ::null ); void activateDock (); - QPopupMenu* dockHideShowMenu (); + TQPopupMenu* dockHideShowMenu (); void makeDockVisible (KDockWidget*); void makeDockInvisible (KDockWidget*); - void makeWidgetDockVisible (QWidget*); + void makeWidgetDockVisible (TQWidget*); signals: void dockWidgetHasUndocked (KDockWidget*); @@ -460,7 +460,7 @@ protected slots: void slotDockWidgetUndocked (); public: - virtual void resizeEvent (QResizeEvent*); + virtual void resizeEvent (TQResizeEvent*); protected: //igx virtual void virtual_hook (int, void*); diff --git a/sip/tdeui/kdockwindow.sip b/sip/tdeui/kdockwindow.sip index af46e2a..454691c 100644 --- a/sip/tdeui/kdockwindow.sip +++ b/sip/tdeui/kdockwindow.sip @@ -32,7 +32,7 @@ class KDockWindow : KSystemTray public: - KDockWindow (QWidget* /TransferThis/ = 0, const char* = 0); + KDockWindow (TQWidget* /TransferThis/ = 0, const char* = 0); }; // class KDockWindow diff --git a/sip/tdeui/kdualcolorbtn.sip b/sip/tdeui/kdualcolorbtn.sip index 210c397..6cfd399 100644 --- a/sip/tdeui/kdualcolorbtn.sip +++ b/sip/tdeui/kdualcolorbtn.sip @@ -24,7 +24,7 @@ // 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. -class KDualColorButton : QWidget +class KDualColorButton : TQWidget { %TypeHeaderCode #include <kdualcolorbtn.h> @@ -39,35 +39,35 @@ public: Background }; - KDualColorButton (QWidget*/TransferThis/ = 0, const char* = 0); - KDualColorButton (QWidget*/TransferThis/, const char*, QWidget*); - KDualColorButton (const QColor&, const QColor&, QWidget*/TransferThis/ = 0, const char* = 0); - KDualColorButton (const QColor&, const QColor&, QWidget*/TransferThis/, const char*, QWidget*); - QColor foreground () const; - QColor background () const; + KDualColorButton (TQWidget*/TransferThis/ = 0, const char* = 0); + KDualColorButton (TQWidget*/TransferThis/, const char*, TQWidget*); + KDualColorButton (const TQColor&, const TQColor&, TQWidget*/TransferThis/ = 0, const char* = 0); + KDualColorButton (const TQColor&, const TQColor&, TQWidget*/TransferThis/, const char*, TQWidget*); + TQColor foreground () const; + TQColor background () const; DualColor current () const; - QColor currentColor () const; - virtual QSize sizeHint () const; + TQColor currentColor () const; + virtual TQSize sizeHint () const; public slots: - void setForeground (const QColor&); - void setBackground (const QColor&); + void setForeground (const TQColor&); + void setBackground (const TQColor&); void setCurrent (KDualColorButton::DualColor); - void setCurrentColor (const QColor&); + void setCurrentColor (const TQColor&); signals: - void fgChanged (const QColor&); - void bgChanged (const QColor&); + void fgChanged (const TQColor&); + void bgChanged (const TQColor&); void currentChanged (KDualColorButton::DualColor); protected: - virtual void metrics (QRect&, QRect&); - virtual void paintEvent (QPaintEvent*); - virtual void mousePressEvent (QMouseEvent*); - virtual void mouseMoveEvent (QMouseEvent*); - virtual void mouseReleaseEvent (QMouseEvent*); - virtual void dragEnterEvent (QDragEnterEvent*); - virtual void dropEvent (QDropEvent*); + virtual void metrics (TQRect&, TQRect&); + virtual void paintEvent (TQPaintEvent*); + virtual void mousePressEvent (TQMouseEvent*); + virtual void mouseMoveEvent (TQMouseEvent*); + virtual void mouseReleaseEvent (TQMouseEvent*); + virtual void dragEnterEvent (TQDragEnterEvent*); + virtual void dropEvent (TQDropEvent*); }; // class KDualColorButton diff --git a/sip/tdeui/kdualcolorbutton.sip b/sip/tdeui/kdualcolorbutton.sip index 739dad9..a37e6ab 100644 --- a/sip/tdeui/kdualcolorbutton.sip +++ b/sip/tdeui/kdualcolorbutton.sip @@ -24,7 +24,7 @@ // 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. -class KDualColorButton : QWidget +class KDualColorButton : TQWidget { %TypeHeaderCode #include <kdualcolorbutton.h> @@ -39,33 +39,33 @@ public: Background }; - KDualColorButton (QWidget* /TransferThis/ = 0, const char* = 0, QWidget* = 0); - KDualColorButton (const QColor&, const QColor&, QWidget* /TransferThis/ = 0, const char* = 0, QWidget* = 0); - QColor foreground () const; - QColor background () const; + KDualColorButton (TQWidget* /TransferThis/ = 0, const char* = 0, TQWidget* = 0); + KDualColorButton (const TQColor&, const TQColor&, TQWidget* /TransferThis/ = 0, const char* = 0, TQWidget* = 0); + TQColor foreground () const; + TQColor background () const; KDualColorButton::DualColor current () const; - QColor currentColor () const; - virtual QSize sizeHint () const; + TQColor currentColor () const; + virtual TQSize sizeHint () const; public slots: - void setForeground (const QColor&); - void setBackground (const QColor&); + void setForeground (const TQColor&); + void setBackground (const TQColor&); void setCurrent (KDualColorButton::DualColor); - void setCurrentColor (const QColor&); + void setCurrentColor (const TQColor&); signals: - void fgChanged (const QColor&); - void bgChanged (const QColor&); + void fgChanged (const TQColor&); + void bgChanged (const TQColor&); void currentChanged (KDualColorButton::DualColor); protected: - virtual void metrics (QRect&, QRect&); - virtual void paintEvent (QPaintEvent*); - virtual void mousePressEvent (QMouseEvent*); - virtual void mouseMoveEvent (QMouseEvent*); - virtual void mouseReleaseEvent (QMouseEvent*); - virtual void dragEnterEvent (QDragEnterEvent*); - virtual void dropEvent (QDropEvent*); + virtual void metrics (TQRect&, TQRect&); + virtual void paintEvent (TQPaintEvent*); + virtual void mousePressEvent (TQMouseEvent*); + virtual void mouseMoveEvent (TQMouseEvent*); + virtual void mouseReleaseEvent (TQMouseEvent*); + virtual void dragEnterEvent (TQDragEnterEvent*); + virtual void dropEvent (TQDropEvent*); protected: //igx virtual void virtual_hook (int, void*); diff --git a/sip/tdeui/keditcl.sip b/sip/tdeui/keditcl.sip index 89674c3..02f4a19 100644 --- a/sip/tdeui/keditcl.sip +++ b/sip/tdeui/keditcl.sip @@ -32,7 +32,7 @@ class KEdGotoLine : KDialogBase public: - KEdGotoLine (QWidget* /TransferThis/ = 0, const char* = 0, bool = 1); + KEdGotoLine (TQWidget* /TransferThis/ = 0, const char* = 0, bool = 1); int getLineNumber (); public slots: @@ -52,9 +52,9 @@ class KEdFind : KDialogBase public: - KEdFind (QWidget* /TransferThis/ = 0, const char* = 0, bool = 1); - QString getText () const; - void setText (QString); + KEdFind (TQWidget* /TransferThis/ = 0, const char* = 0, bool = 1); + TQString getText () const; + void setText (TQString); void setCaseSensitive (bool); bool case_sensitive () const; void setDirection (bool); @@ -64,7 +64,7 @@ public: protected slots: void slotCancel (); void slotUser1 (); - void textSearchChanged (const QString&); + void textSearchChanged (const TQString&); protected: @@ -91,10 +91,10 @@ class KEdReplace : KDialogBase public: - KEdReplace (QWidget* /TransferThis/ = 0, const char* = 0, bool = 1); - QString getText (); - QString getReplaceText (); - void setText (QString); + KEdReplace (TQWidget* /TransferThis/ = 0, const char* = 0, bool = 1); + TQString getText (); + TQString getReplaceText (); + void setText (TQString); KHistoryCombo* searchCombo () const; KHistoryCombo* replaceCombo () const; bool case_sensitive (); @@ -106,7 +106,7 @@ protected slots: void slotUser1 (); void slotUser2 (); void slotUser3 (); - void textSearchChanged (const QString&); + void textSearchChanged (const TQString&); signals: void replace (); @@ -125,7 +125,7 @@ private: }; // class KEdReplace -class KEdit : QMultiLineEdit +class KEdit : TQMultiLineEdit { %TypeHeaderCode #include <keditcl.h> @@ -133,7 +133,7 @@ class KEdit : QMultiLineEdit public: - KEdit (QWidget* /TransferThis/ = 0, const char* = 0); + KEdit (TQWidget* /TransferThis/ = 0, const char* = 0); enum { @@ -142,20 +142,20 @@ public: BACKWARD }; - void insertText (QTextStream*); + void insertText (TQTextStream*); %If ( KDE_3_1_0 - ) - void saveText (QTextStream*, bool); + void saveText (TQTextStream*, bool); %End - void saveText (QTextStream*); + void saveText (TQTextStream*); void selectFont (); void search (); bool repeatSearch (); void replace (); void doGotoLine (); void cleanWhiteSpace (); - void installRBPopup (QPopupMenu*); + void installRBPopup (TQPopupMenu*); int currentLine (); int currentColumn (); void spellcheck_start (); @@ -163,10 +163,10 @@ public: void setOverwriteEnabled (bool); %If ( KDE_3_2_0 - ) - QString selectWordUnderCursor (); + TQString selectWordUnderCursor (); %If ( KDE_3_2_3 - ) - QPopupMenu* createPopupMenu (const QPoint&); + TQPopupMenu* createPopupMenu (const TQPoint&); %If ( KDE_3_3_0 - ) void setAutoUpdate (bool); @@ -178,42 +178,42 @@ public: signals: - void gotUrlDrop (QDropEvent*); + void gotUrlDrop (TQDropEvent*); void CursorPositionChanged (); void toggle_overwrite_signal (); public slots: %If ( KDE_3_2_0 - ) - void corrected (const QString&, const QString&, uint); - void misspelling (const QString&, const QStringList&, uint); + void corrected (const TQString&, const TQString&, uint); + void misspelling (const TQString&, const TQStringList&, uint); %End protected: void computePosition (); - int doSearch (QString, bool, bool, bool, int, int); - int doReplace (QString, bool, bool, bool, int, int, bool); + int doSearch (TQString, bool, bool, bool, int, int); + int doReplace (TQString, bool, bool, bool, int, int, bool); void posToRowCol (uint, uint&, uint&); virtual void create (WId = 0, bool = 1, bool = 1); %If ( KDE_3_3_0 - ) virtual void ensureCursorVisible (); - virtual void setCursor (const QCursor&); - virtual void viewportPaintEvent (QPaintEvent*); + virtual void setCursor (const TQCursor&); + virtual void viewportPaintEvent (TQPaintEvent*); %End protected: - void keyPressEvent (QKeyEvent*); - void dragMoveEvent (QDragMoveEvent*); - void dragEnterEvent (QDragEnterEvent*); - void dropEvent (QDropEvent*); + void keyPressEvent (TQKeyEvent*); + void dragMoveEvent (TQDragMoveEvent*); + void dragEnterEvent (TQDragEnterEvent*); + void dropEvent (TQDropEvent*); %If ( KDE_3_1_3 - ) - void contentsDragMoveEvent (QDragMoveEvent*); - void contentsDragEnterEvent (QDragEnterEvent*); - void contentsDropEvent (QDropEvent*); + void contentsDragMoveEvent (TQDragMoveEvent*); + void contentsDragEnterEvent (TQDragEnterEvent*); + void contentsDropEvent (TQDropEvent*); %End diff --git a/sip/tdeui/keditlistbox.sip b/sip/tdeui/keditlistbox.sip index d63ae25..4c902a9 100644 --- a/sip/tdeui/keditlistbox.sip +++ b/sip/tdeui/keditlistbox.sip @@ -24,11 +24,11 @@ // 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. %ModuleHeaderCode -const char **PyQtListToArray(PyObject *); +const char **PyTQtListToArray(PyObject *); %End -class KEditListBox : QGroupBox +class KEditListBox : TQGroupBox { %TypeHeaderCode #include <keditlistbox.h> @@ -44,11 +44,11 @@ public: public: CustomEditor (); - CustomEditor (QWidget*, KLineEdit*); + CustomEditor (TQWidget*, KLineEdit*); CustomEditor (KComboBox*); - void setRepresentationWidget (QWidget*); + void setRepresentationWidget (TQWidget*); void setLineEdit (KLineEdit*); - virtual QWidget* representationWidget () const; + virtual TQWidget* representationWidget () const; virtual KLineEdit* lineEdit () const; protected: @@ -79,23 +79,23 @@ public: %End - KEditListBox (QWidget* /TransferThis/ = 0, const char* = 0, bool = 0, int = All ); - KEditListBox (const QString&, QWidget* /TransferThis/ = 0, const char* = 0, bool = 0, int = All ); + KEditListBox (TQWidget* /TransferThis/ = 0, const char* = 0, bool = 0, int = All ); + KEditListBox (const TQString&, TQWidget* /TransferThis/ = 0, const char* = 0, bool = 0, int = All ); %If ( KDE_3_1_0 - ) - KEditListBox (const QString&, const KEditListBox::CustomEditor&, QWidget* /TransferThis/ = 0, const char* = 0, bool = 0, int = All ); + KEditListBox (const TQString&, const KEditListBox::CustomEditor&, TQWidget* /TransferThis/ = 0, const char* = 0, bool = 0, int = All ); %End - QListBox* listBox () const; + TQListBox* listBox () const; KLineEdit* lineEdit () const; - QPushButton* addButton () const; - QPushButton* removeButton () const; - QPushButton* upButton () const; - QPushButton* downButton () const; + TQPushButton* addButton () const; + TQPushButton* removeButton () const; + TQPushButton* upButton () const; + TQPushButton* downButton () const; int count () const; - void insertStringList (const QStringList&, int = -1); - void insertStrList (const QStrList*, int = -1); - void insertStrList (const QStrList&, int = -1); + void insertStringList (const TQStringList&, int = -1); + void insertStrList (const TQStrList*, int = -1); + void insertStrList (const TQStrList&, int = -1); void insertStrList (SIP_PYLIST, int = -1) [void (const char**, int = -1, int = -1)]; %MethodCode //takes list | (a Python list of strings) | index | (int) @@ -107,7 +107,7 @@ public: const char **strings; - if ((strings = PyQtListToArray(a0)) == NULL) + if ((strings = PyTQtListToArray(a0)) == NULL) return NULL; Py_BEGIN_ALLOW_THREADS @@ -117,15 +117,15 @@ public: sipFree((ANY *)strings); %End - void insertItem (const QString&, int = -1); + void insertItem (const TQString&, int = -1); void clear (); - QString text (int) const; + TQString text (int) const; int currentItem () const; - QString currentText () const; - QStringList items () const; + TQString currentText () const; + TQStringList items () const; %If ( KDE_3_4_0 - ) - void setItems (const QStringList&); + void setItems (const TQStringList&); int buttons () const; void setButtons (uint); %End @@ -135,8 +135,8 @@ signals: void changed (); %If ( KDE_3_2_0 - ) - void added (const QString&); - void removed (const QString&); + void added (const TQString&); + void removed (const TQString&); %End @@ -146,7 +146,7 @@ protected slots: void addItem (); void removeItem (); void enableMoveButtons (int); - void typedSomething (const QString&); + void typedSomething (const TQString&); protected: //igx virtual void virtual_hook (int, void*); @@ -172,9 +172,9 @@ public: %ModuleCode // Convert a list of strings to an array of strings on the heap. Also used by -// QPixmap. +// TQPixmap. -const char **PyQtListToArray(PyObject *lst) +const char **PyTQtListToArray(PyObject *lst) { int nstr; const char **str, **sp; diff --git a/sip/tdeui/kedittoolbar.sip b/sip/tdeui/kedittoolbar.sip index fb1074f..eea0afa 100644 --- a/sip/tdeui/kedittoolbar.sip +++ b/sip/tdeui/kedittoolbar.sip @@ -32,16 +32,16 @@ class KEditToolbar : KDialogBase public: - KEditToolbar (KActionCollection*, const QString& = QString ::null , bool = 1, QWidget* /TransferThis/ = 0, const char* = 0); + KEditToolbar (KActionCollection*, const TQString& = TQString ::null , bool = 1, TQWidget* /TransferThis/ = 0, const char* = 0); %If ( KDE_3_2_0 - ) - KEditToolbar (const QString&, KActionCollection*, const QString& = QString ::null , bool = 1, QWidget* /TransferThis/ = 0, const char* = 0); + KEditToolbar (const TQString&, KActionCollection*, const TQString& = TQString ::null , bool = 1, TQWidget* /TransferThis/ = 0, const char* = 0); %End - KEditToolbar (KXMLGUIFactory*, QWidget* /TransferThis/ = 0, const char* = 0); + KEditToolbar (KXMLGUIFactory*, TQWidget* /TransferThis/ = 0, const char* = 0); %If ( KDE_3_2_0 - ) - KEditToolbar (const QString&, KXMLGUIFactory*, QWidget* /TransferThis/ = 0, const char* = 0); + KEditToolbar (const TQString&, KXMLGUIFactory*, TQWidget* /TransferThis/ = 0, const char* = 0); %If ( KDE_3_3_0 - ) static void setDefaultToolbar (const char*); @@ -69,7 +69,7 @@ protected: }; // class KEditToolbar -class KEditToolbarWidget : QWidget, KXMLGUIClient +class KEditToolbarWidget : TQWidget, KXMLGUIClient { %TypeHeaderCode #include <kedittoolbar.h> @@ -77,16 +77,16 @@ class KEditToolbarWidget : QWidget, KXMLGUIClient public: - KEditToolbarWidget (KActionCollection*, const QString& = QString ::null , bool = 1, QWidget* /TransferThis/ = 0); + KEditToolbarWidget (KActionCollection*, const TQString& = TQString ::null , bool = 1, TQWidget* /TransferThis/ = 0); %If ( KDE_3_2_0 - ) - KEditToolbarWidget (const QString&, KActionCollection*, const QString& = QString ::null , bool = 1, QWidget* /TransferThis/ = 0); + KEditToolbarWidget (const TQString&, KActionCollection*, const TQString& = TQString ::null , bool = 1, TQWidget* /TransferThis/ = 0); %End - KEditToolbarWidget (KXMLGUIFactory*, QWidget* /TransferThis/ = 0); + KEditToolbarWidget (KXMLGUIFactory*, TQWidget* /TransferThis/ = 0); %If ( KDE_3_2_0 - ) - KEditToolbarWidget (const QString&, KXMLGUIFactory*, QWidget* /TransferThis/ = 0); + KEditToolbarWidget (const TQString&, KXMLGUIFactory*, TQWidget* /TransferThis/ = 0); %End @@ -105,12 +105,12 @@ signals: void enableOk (bool); protected slots: - void slotToolbarSelected (const QString&); - void slotInactiveSelected (QListViewItem*); - void slotActiveSelected (QListViewItem*); + void slotToolbarSelected (const TQString&); + void slotInactiveSelected (TQListViewItem*); + void slotActiveSelected (TQListViewItem*); %If ( KDE_3_3_0 - ) - void slotDropped (KListView*, QDropEvent*, QListViewItem*); + void slotDropped (KListView*, TQDropEvent*, TQListViewItem*); %End void slotInsertButton (); @@ -127,20 +127,20 @@ protected: void setupLayout (); %If ( KDE_3_3_0 - ) -//ig void insertActive (ToolbarItem*, QListViewItem*, bool = 0); +//ig void insertActive (ToolbarItem*, TQListViewItem*, bool = 0); //ig void removeActive (ToolbarItem*); -//ig void moveActive (ToolbarItem*, QListViewItem*); +//ig void moveActive (ToolbarItem*, TQListViewItem*); %End %If ( KDE_3_2_0 - ) - void initNonKPart (KActionCollection*, const QString&, bool); + void initNonKPart (KActionCollection*, const TQString&, bool); void initKPart (KXMLGUIFactory*); - void loadToolbarCombo (const QString& = QString ::null ); + void loadToolbarCombo (const TQString& = TQString ::null ); %End - void loadActionList (QDomElement&); - void updateLocal (QDomElement&); + void loadActionList (TQDomElement&); + void updateLocal (TQDomElement&); protected: //igx virtual void virtual_hook (int, void*); diff --git a/sip/tdeui/kfontcombo.sip b/sip/tdeui/kfontcombo.sip index 7bca452..d19c5c2 100644 --- a/sip/tdeui/kfontcombo.sip +++ b/sip/tdeui/kfontcombo.sip @@ -32,11 +32,11 @@ class KFontCombo : KComboBox public: - KFontCombo (QWidget* /TransferThis/, const char* = 0); - KFontCombo (const QStringList&, QWidget* /TransferThis/, const char* = 0); - void setFonts (const QStringList&); - void setCurrentFont (const QString&); - QString currentFont () const; + KFontCombo (TQWidget* /TransferThis/, const char* = 0); + KFontCombo (const TQStringList&, TQWidget* /TransferThis/, const char* = 0); + void setFonts (const TQStringList&); + void setCurrentFont (const TQString&); + TQString currentFont () const; void setBold (bool); bool bold () const; void setItalic (bool); diff --git a/sip/tdeui/kfontdialog.sip b/sip/tdeui/kfontdialog.sip index 8ef9b57..722b034 100644 --- a/sip/tdeui/kfontdialog.sip +++ b/sip/tdeui/kfontdialog.sip @@ -24,7 +24,7 @@ // 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. -class KFontChooser : QWidget +class KFontChooser : TQWidget { %TypeHeaderCode #include <qbutton.h> @@ -53,9 +53,9 @@ public: FontDiffSize }; - KFontChooser (QWidget* /TransferThis/ = 0, const char* = 0, bool = 0, const QStringList& = QStringList (), bool = 1, int = 8, bool = 0, QButton::ToggleState = QButton ::Off ) [(QWidget* = 0, const char* = 0, bool = 0, const QStringList& = QStringList (), bool = 1, int = 8, bool = 0, QButton::ToggleState* = 0)]; + KFontChooser (TQWidget* /TransferThis/ = 0, const char* = 0, bool = 0, const TQStringList& = TQStringList (), bool = 1, int = 8, bool = 0, TQButton::ToggleState = TQButton ::Off ) [(TQWidget* = 0, const char* = 0, bool = 0, const TQStringList& = TQStringList (), bool = 1, int = 8, bool = 0, TQButton::ToggleState* = 0)]; %MethodCode -//takes parent | (QWidget = 0) | name | (string = "") | onlyFixed | (bool = 0) | fontList | (QStringList = QStringList()) | makeFrame | (bool = 1) | visibleListSize | (int = 8) | diff | (bool = 0) | sizeIsRelativeState | (QButton::ToggleState = 0) +//takes parent | (TQWidget = 0) | name | (string = "") | onlyFixed | (bool = 0) | fontList | (TQStringList = TQStringList()) | makeFrame | (bool = 1) | visibleListSize | (int = 8) | diff | (bool = 0) | sizeIsRelativeState | (TQButton::ToggleState = 0) //returns Py_BEGIN_ALLOW_THREADS sipCpp = (sipKFontChooser *) new KFontChooser (a0, a1, a2, *a3, a4, a5, a6, &a7); @@ -63,23 +63,23 @@ public: %End void enableColumn (int, bool); - void setFont (const QFont&, bool = 0); + void setFont (const TQFont&, bool = 0); int fontDiffFlags (); - QFont font () const; - void setColor (const QColor&); - QColor color () const; - void setBackgroundColor (const QColor&); - QColor backgroundColor () const; - void setSizeIsRelative (QButton::ToggleState); - QButton::ToggleState sizeIsRelative () const; - QString sampleText () const; - void setSampleText (const QString&); + TQFont font () const; + void setColor (const TQColor&); + TQColor color () const; + void setBackgroundColor (const TQColor&); + TQColor backgroundColor () const; + void setSizeIsRelative (TQButton::ToggleState); + TQButton::ToggleState sizeIsRelative () const; + TQString sampleText () const; + void setSampleText (const TQString&); %If ( KDE_3_5_0 - ) void setSampleBoxVisible (bool); %End - static QString getXLFD (const QFont&); + static TQString getXLFD (const TQFont&); enum FontListCriteria { @@ -88,11 +88,11 @@ public: SmoothScalableFonts }; - static void getFontList (QStringList&, bool); - virtual QSize sizeHint () const; + static void getFontList (TQStringList&, bool); + virtual TQSize sizeHint () const; signals: - void fontSelected (const QFont&); + void fontSelected (const TQFont&); protected: //igx virtual void virtual_hook (int, void*); @@ -123,22 +123,22 @@ class KFontDialog : KDialogBase public: - KFontDialog (QWidget* /TransferThis/ = 0, const char* = 0, bool = 0, bool = 0, const QStringList& = QStringList (), bool = 1, bool = 0, QButton::ToggleState = QButton ::Off ) [(QWidget* = 0, const char* = 0, bool = 0, bool = 0, const QStringList& = QStringList (), bool = 1, bool = 0, QButton::ToggleState* = 0)]; + KFontDialog (TQWidget* /TransferThis/ = 0, const char* = 0, bool = 0, bool = 0, const TQStringList& = TQStringList (), bool = 1, bool = 0, TQButton::ToggleState = TQButton ::Off ) [(TQWidget* = 0, const char* = 0, bool = 0, bool = 0, const TQStringList& = TQStringList (), bool = 1, bool = 0, TQButton::ToggleState* = 0)]; %MethodCode -//takes parent | (QWidget = 0) | name | (string = "") | onlyFixed | (bool = 0) | modal | (bool = 0) | fontlist | (QStringList = QStringList()) | makeFrame | (bool = 1) | diff | (bool = 0) | sizeIsRelativeState | (QButton::ToggleState = 0) +//takes parent | (TQWidget = 0) | name | (string = "") | onlyFixed | (bool = 0) | modal | (bool = 0) | fontlist | (TQStringList = TQStringList()) | makeFrame | (bool = 1) | diff | (bool = 0) | sizeIsRelativeState | (TQButton::ToggleState = 0) Py_BEGIN_ALLOW_THREADS sipCpp = (sipKFontDialog *)new KFontDialog (a0, a1, a2, a3, *a4, a5, a6, &a7); Py_END_ALLOW_THREADS %End - void setFont (const QFont&, bool = 0); - QFont font () const; - void setSizeIsRelative (QButton::ToggleState); - QButton::ToggleState sizeIsRelative () const; - static SIP_PYTUPLE getFont (QFont&, bool = 0, QWidget* /Transfer/ = 0, bool = 1, QButton::ToggleState /In/ = QButton ::Off ) [int (QFont&, bool = 0, QWidget* = 0, bool = 1, QButton::ToggleState* = 0)]; + void setFont (const TQFont&, bool = 0); + TQFont font () const; + void setSizeIsRelative (TQButton::ToggleState); + TQButton::ToggleState sizeIsRelative () const; + static SIP_PYTUPLE getFont (TQFont&, bool = 0, TQWidget* /Transfer/ = 0, bool = 1, TQButton::ToggleState /In/ = TQButton ::Off ) [int (TQFont&, bool = 0, TQWidget* = 0, bool = 1, TQButton::ToggleState* = 0)]; %MethodCode -//returns (int) sizeIsRelative (QButton::ToggleState) -//takes theFont | (QFont) | onlyFixed | (bool = False) | parent | (QWidget = 0) | makeFrame | (bool = True) | sizeIsRelative | (QButton::ToggleState = QButton.Off) +//returns (int) sizeIsRelative (TQButton::ToggleState) +//takes theFont | (TQFont) | onlyFixed | (bool = False) | parent | (TQWidget = 0) | makeFrame | (bool = True) | sizeIsRelative | (TQButton::ToggleState = TQButton.Off) int res; Py_BEGIN_ALLOW_THREADS res = KFontDialog::getFont (*a0, a1, a2, a3, &a4); @@ -147,10 +147,10 @@ public: sipRes = Py_BuildValue ("ii", res, (int)a4); %End - static SIP_PYTUPLE getFontDiff (QFont&, int&, bool = 0, QWidget* /Transfer/ = 0, bool = 1, QButton::ToggleState /In/ = QButton ::Off ) [int (QFont&, int&, bool = 0, QWidget* = 0, bool = 1, QButton::ToggleState* = 0)]; + static SIP_PYTUPLE getFontDiff (TQFont&, int&, bool = 0, TQWidget* /Transfer/ = 0, bool = 1, TQButton::ToggleState /In/ = TQButton ::Off ) [int (TQFont&, int&, bool = 0, TQWidget* = 0, bool = 1, TQButton::ToggleState* = 0)]; %MethodCode -//returns (int) sizeIsRelative (QButton::ToggleState) -//takes theFont | (QFont) | diffFlags | (int) | onlyFixed | (bool = False) | parent | (QWidget = 0) | makeFrame | (bool = true) | sizeIsRelative | (QButton::ToggleState = QButton.Off) +//returns (int) sizeIsRelative (TQButton::ToggleState) +//takes theFont | (TQFont) | diffFlags | (int) | onlyFixed | (bool = False) | parent | (TQWidget = 0) | makeFrame | (bool = true) | sizeIsRelative | (TQButton::ToggleState = TQButton.Off) int res; Py_BEGIN_ALLOW_THREADS res = KFontDialog::getFontDiff (*a0, a1, a2, a3, a4, &a5); @@ -159,10 +159,10 @@ public: sipRes = Py_BuildValue ("ii", res, (int)a5); %End - static SIP_PYTUPLE getFontAndText (QFont&, QString&, bool = 0, QWidget* /Transfer/ = 0, bool = 1, QButton::ToggleState /In/ = QButton ::Off ) [int (QFont&, QString&, bool = 0, QWidget* = 0, bool = 1, QButton::ToggleState* = 0)]; + static SIP_PYTUPLE getFontAndText (TQFont&, TQString&, bool = 0, TQWidget* /Transfer/ = 0, bool = 1, TQButton::ToggleState /In/ = TQButton ::Off ) [int (TQFont&, TQString&, bool = 0, TQWidget* = 0, bool = 1, TQButton::ToggleState* = 0)]; %MethodCode -//returns (int) sizeIsRelative (QButton::ToggleState) -//takes theFont | (QFont) | theString | (QString) | onlyFixed | (bool = False) | parent | (QWidget = 0) | makeFrame | (bool = true) | sizeIsRelative | (QButton::ToggleState = QButton.Off) +//returns (int) sizeIsRelative (TQButton::ToggleState) +//takes theFont | (TQFont) | theString | (TQString) | onlyFixed | (bool = False) | parent | (TQWidget = 0) | makeFrame | (bool = true) | sizeIsRelative | (TQButton::ToggleState = TQButton.Off) int res; Py_BEGIN_ALLOW_THREADS res = KFontDialog::getFontAndText (*a0, *a1, a2, a3, a4, &a5); @@ -173,7 +173,7 @@ public: signals: - void fontSelected (const QFont&); + void fontSelected (const TQFont&); protected: diff --git a/sip/tdeui/kfontrequester.sip b/sip/tdeui/kfontrequester.sip index 7e707bd..efb13ac 100644 --- a/sip/tdeui/kfontrequester.sip +++ b/sip/tdeui/kfontrequester.sip @@ -26,7 +26,7 @@ %If ( KDE_3_2_0 - ) -class KFontRequester : QWidget +class KFontRequester : TQWidget { %TypeHeaderCode #include <kfontrequester.h> @@ -34,19 +34,19 @@ class KFontRequester : QWidget public: - KFontRequester (QWidget* /TransferThis/ = 0, const char* = 0, bool = 0); - QFont font () const; + KFontRequester (TQWidget* /TransferThis/ = 0, const char* = 0, bool = 0); + TQFont font () const; bool isFixedOnly () const; - QString sampleText () const; - QString title () const; - QLabel* label () const; - QPushButton* button () const; - virtual void setFont (const QFont&, bool = 0); - virtual void setSampleText (const QString&); - virtual void setTitle (const QString&); + TQString sampleText () const; + TQString title () const; + TQLabel* label () const; + TQPushButton* button () const; + virtual void setFont (const TQFont&, bool = 0); + virtual void setSampleText (const TQString&); + virtual void setTitle (const TQString&); signals: - void fontSelected (const QFont&); + void fontSelected (const TQFont&); protected: void displaySampleText (); diff --git a/sip/tdeui/kguiitem.sip b/sip/tdeui/kguiitem.sip index 90796ca..5b490ac 100644 --- a/sip/tdeui/kguiitem.sip +++ b/sip/tdeui/kguiitem.sip @@ -33,24 +33,24 @@ class KGuiItem public: KGuiItem (); - KGuiItem (const QString&, const QString& = QString ::null , const QString& = QString ::null , const QString& = QString ::null ); - KGuiItem (const QString&, const QIconSet&, const QString& = QString ::null , const QString& = QString ::null ); + KGuiItem (const TQString&, const TQString& = TQString ::null , const TQString& = TQString ::null , const TQString& = TQString ::null ); + KGuiItem (const TQString&, const TQIconSet&, const TQString& = TQString ::null , const TQString& = TQString ::null ); KGuiItem (const KGuiItem&); - QString text () const; - QString plainText () const; - QIconSet iconSet (KIcon::Group, int = 0, KInstance* = KGlobal ::instance ()) const; - QIconSet iconSet () const; - QString iconName () const; - QString toolTip () const; - QString whatsThis () const; + TQString text () const; + TQString plainText () const; + TQIconSet iconSet (KIcon::Group, int = 0, KInstance* = KGlobal ::instance ()) const; + TQIconSet iconSet () const; + TQString iconName () const; + TQString toolTip () const; + TQString whatsThis () const; bool isEnabled () const; bool hasIcon () const; bool hasIconSet () const; - void setText (const QString&); - void setIconSet (const QIconSet&); - void setIconName (const QString&); - void setToolTip (const QString&); - void setWhatsThis (const QString&); + void setText (const TQString&); + void setIconSet (const TQIconSet&); + void setIconName (const TQString&); + void setToolTip (const TQString&); + void setWhatsThis (const TQString&); void setEnabled (bool); }; // class KGuiItem diff --git a/sip/tdeui/khelpmenu.sip b/sip/tdeui/khelpmenu.sip index 97e0680..aa970f7 100644 --- a/sip/tdeui/khelpmenu.sip +++ b/sip/tdeui/khelpmenu.sip @@ -24,7 +24,7 @@ // 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. -class KHelpMenu : QObject +class KHelpMenu : TQObject { %TypeHeaderCode #include <khelpmenu.h> @@ -42,8 +42,8 @@ public: menuReportBug }; - KHelpMenu (QWidget* /TransferThis/ = 0, const QString& = QString ::null , bool = 1); - KHelpMenu (QWidget* /TransferThis/, const KAboutData*, bool = 1, KActionCollection* = 0); + KHelpMenu (TQWidget* /TransferThis/ = 0, const TQString& = TQString ::null , bool = 1); + KHelpMenu (TQWidget* /TransferThis/, const KAboutData*, bool = 1, KActionCollection* = 0); KPopupMenu* menu (); public slots: diff --git a/sip/tdeui/kiconview.sip b/sip/tdeui/kiconview.sip index 11ffa56..7940f1a 100644 --- a/sip/tdeui/kiconview.sip +++ b/sip/tdeui/kiconview.sip @@ -24,7 +24,7 @@ // 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. -class KIconView : QIconView +class KIconView : TQIconView { %TypeHeaderCode #include <kiconview.h> @@ -32,7 +32,7 @@ class KIconView : QIconView public: - KIconView (QWidget* /TransferThis/ = 0, const char* = 0, WFlags = 0); + KIconView (TQWidget* /TransferThis/ = 0, const char* = 0, WFlags = 0); enum Mode { @@ -42,58 +42,58 @@ public: void setMode (KIconView::Mode); Mode mode () const; - virtual void setFont (const QFont&); + virtual void setFont (const TQFont&); %If ( KDE_3_3_0 - ) void setIconTextHeight (int); int iconTextHeight () const; %If ( KDE_3_4_0 - ) - virtual void takeItem (QIconViewItem*); + virtual void takeItem (TQIconViewItem*); %End %End signals: - void executed (QIconViewItem*); - void executed (QIconViewItem*, const QPoint&); + void executed (TQIconViewItem*); + void executed (TQIconViewItem*, const TQPoint&); %If ( KDE_3_3_0 - ) - void held (QIconViewItem*); + void held (TQIconViewItem*); %End - void doubleClicked (QIconViewItem*, const QPoint&); + void doubleClicked (TQIconViewItem*, const TQPoint&); protected slots: - void slotOnItem (QIconViewItem*); + void slotOnItem (TQIconViewItem*); void slotOnViewport (); void slotSettingsChanged (int); void slotAutoSelect (); protected: - void emitExecute (QIconViewItem*, const QPoint&); + void emitExecute (TQIconViewItem*, const TQPoint&); %If ( KDE_3_5_0 - ) - void updateDragHoldItem (QDropEvent*); + void updateDragHoldItem (TQDropEvent*); %End - virtual void focusOutEvent (QFocusEvent*); - virtual void leaveEvent (QEvent*); - virtual void contentsMousePressEvent (QMouseEvent*); - virtual void contentsMouseDoubleClickEvent (QMouseEvent*); - virtual void contentsMouseReleaseEvent (QMouseEvent*); + virtual void focusOutEvent (TQFocusEvent*); + virtual void leaveEvent (TQEvent*); + virtual void contentsMousePressEvent (TQMouseEvent*); + virtual void contentsMouseDoubleClickEvent (TQMouseEvent*); + virtual void contentsMouseReleaseEvent (TQMouseEvent*); %If ( KDE_3_3_0 - ) - virtual void contentsDragEnterEvent (QDragEnterEvent*); + virtual void contentsDragEnterEvent (TQDragEnterEvent*); %If ( KDE_3_5_0 - ) - virtual void contentsDragLeaveEvent (QDragLeaveEvent*); + virtual void contentsDragLeaveEvent (TQDragLeaveEvent*); %End - virtual void contentsDragMoveEvent (QDragMoveEvent*); - virtual void contentsDropEvent (QDropEvent*); - virtual void wheelEvent (QWheelEvent*); + virtual void contentsDragMoveEvent (TQDragMoveEvent*); + virtual void contentsDropEvent (TQDropEvent*); + virtual void wheelEvent (TQWheelEvent*); %If ( KDE_3_4_0 - ) void cancelPendingHeldSignal (); @@ -108,7 +108,7 @@ protected: }; // class KIconView -class KIconViewItem : QIconViewItem +class KIconViewItem : TQIconViewItem { %TypeHeaderCode #include <kiconview.h> @@ -116,30 +116,30 @@ class KIconViewItem : QIconViewItem public: - KIconViewItem (QIconView* /TransferThis/); - KIconViewItem (QIconView* /TransferThis/, QIconViewItem*); - KIconViewItem (QIconView* /TransferThis/, const QString&); - KIconViewItem (QIconView* /TransferThis/, QIconViewItem*, const QString&); - KIconViewItem (QIconView* /TransferThis/, const QString&, const QPixmap&); - KIconViewItem (QIconView* /TransferThis/, QIconViewItem*, const QString&, const QPixmap&); - KIconViewItem (QIconView* /TransferThis/, const QString&, const QPicture&); - KIconViewItem (QIconView* /TransferThis/, QIconViewItem*, const QString&, const QPicture&); + KIconViewItem (TQIconView* /TransferThis/); + KIconViewItem (TQIconView* /TransferThis/, TQIconViewItem*); + KIconViewItem (TQIconView* /TransferThis/, const TQString&); + KIconViewItem (TQIconView* /TransferThis/, TQIconViewItem*, const TQString&); + KIconViewItem (TQIconView* /TransferThis/, const TQString&, const TQPixmap&); + KIconViewItem (TQIconView* /TransferThis/, TQIconViewItem*, const TQString&, const TQPixmap&); + KIconViewItem (TQIconView* /TransferThis/, const TQString&, const TQPicture&); + KIconViewItem (TQIconView* /TransferThis/, TQIconViewItem*, const TQString&, const TQPicture&); %If ( KDE_3_3_0 - ) - void setPixmapSize (const QSize&); - QSize pixmapSize () const; + void setPixmapSize (const TQSize&); + TQSize pixmapSize () const; %End protected: void init (); - virtual void calcRect (const QString& = QString ::null ); - virtual void paintItem (QPainter*, const QColorGroup&); + virtual void calcRect (const TQString& = TQString ::null ); + virtual void paintItem (TQPainter*, const TQColorGroup&); %If ( KDE_3_2_0 - ) KWordWrap* wordWrap (); - void paintPixmap (QPainter*, const QColorGroup&); - void paintText (QPainter*, const QColorGroup&); + void paintPixmap (TQPainter*, const TQColorGroup&); + void paintText (TQPainter*, const TQColorGroup&); %End diff --git a/sip/tdeui/kiconviewsearchline.sip b/sip/tdeui/kiconviewsearchline.sip index 0dac3f4..cdc6c9e 100644 --- a/sip/tdeui/kiconviewsearchline.sip +++ b/sip/tdeui/kiconviewsearchline.sip @@ -34,25 +34,25 @@ class KIconViewSearchLine : KLineEdit public: - KIconViewSearchLine (QWidget* /TransferThis/ = 0, QIconView* = 0, const char* = 0); - KIconViewSearchLine (QWidget* /TransferThis/, const char*); + KIconViewSearchLine (TQWidget* /TransferThis/ = 0, TQIconView* = 0, const char* = 0); + KIconViewSearchLine (TQWidget* /TransferThis/, const char*); bool caseSensitive () const; - QIconView* iconView () const; + TQIconView* iconView () const; public slots: - virtual void updateSearch (const QString& = QString ::null ); + virtual void updateSearch (const TQString& = TQString ::null ); void setCaseSensitive (bool); - void setIconView (QIconView*); + void setIconView (TQIconView*); void clear (); protected: - virtual bool itemMatches (const QIconViewItem*, const QString&) const; - void init (QIconView* = 0); - void hideItem (QIconViewItem*); - void showItem (QIconViewItem*); + virtual bool itemMatches (const TQIconViewItem*, const TQString&) const; + void init (TQIconView* = 0); + void hideItem (TQIconViewItem*); + void showItem (TQIconViewItem*); protected slots: - void queueSearch (const QString&); + void queueSearch (const TQString&); void activateSearch (); }; // class KIconViewSearchLine diff --git a/sip/tdeui/kinputdialog.sip b/sip/tdeui/kinputdialog.sip index acae513..365abd5 100644 --- a/sip/tdeui/kinputdialog.sip +++ b/sip/tdeui/kinputdialog.sip @@ -34,31 +34,31 @@ class KInputDialog : KDialogBase private: - KInputDialog (const QString&, const QString&, const QString&, QWidget* /TransferThis/, const char*, QValidator*, const QString&); + KInputDialog (const TQString&, const TQString&, const TQString&, TQWidget* /TransferThis/, const char*, TQValidator*, const TQString&); %If ( KDE_3_3_0 - ) - KInputDialog (const QString&, const QString&, const QString&, QWidget* /TransferThis/, const char*); + KInputDialog (const TQString&, const TQString&, const TQString&, TQWidget* /TransferThis/, const char*); %End - KInputDialog (const QString&, const QString&, int, int, int, int, int, QWidget* /TransferThis/, const char*); - KInputDialog (const QString&, const QString&, const QStringList&, int, bool, QWidget* /TransferThis/, const char*); - KInputDialog (const QString&, const QString&, const QStringList&, const QStringList&, bool, QWidget* /TransferThis/, const char*); + KInputDialog (const TQString&, const TQString&, int, int, int, int, int, TQWidget* /TransferThis/, const char*); + KInputDialog (const TQString&, const TQString&, const TQStringList&, int, bool, TQWidget* /TransferThis/, const char*); + KInputDialog (const TQString&, const TQString&, const TQStringList&, const TQStringList&, bool, TQWidget* /TransferThis/, const char*); ~KInputDialog (); public: - static QString getText (const QString&, const QString&, const QString& = QString ::null , bool* = 0, QWidget* /Transfer/ = 0, const char* = 0, QValidator* = 0, const QString& = QString ::null ); + static TQString getText (const TQString&, const TQString&, const TQString& = TQString ::null , bool* = 0, TQWidget* /Transfer/ = 0, const char* = 0, TQValidator* = 0, const TQString& = TQString ::null ); %If ( KDE_3_3_0 - ) - static QString text (const QString&, const QString&, const QString& = QString ::null , bool* = 0, QWidget* /Transfer/ = 0, const char* = 0, QValidator* = 0, const QString& = QString ::null , const QString& = QString ::null ); - static QString getMultiLineText (const QString&, const QString&, const QString& = QString ::null , bool* = 0, QWidget* /Transfer/ = 0, const char* = 0); + static TQString text (const TQString&, const TQString&, const TQString& = TQString ::null , bool* = 0, TQWidget* /Transfer/ = 0, const char* = 0, TQValidator* = 0, const TQString& = TQString ::null , const TQString& = TQString ::null ); + static TQString getMultiLineText (const TQString&, const TQString&, const TQString& = TQString ::null , bool* = 0, TQWidget* /Transfer/ = 0, const char* = 0); %End - static int getInteger (const QString&, const QString&, int = 0, int = -2147483647, int = 2147483647, int = 1, int = 10, bool* = 0, QWidget* /Transfer/ = 0, const char* = 0); -//ig static int getInteger (const QString&, const QString&, int = 0, int = -2147483647, int = 2147483647, int = 1, bool* = 0, QWidget* /Transfer/ = 0, const char* = 0); - static double getDouble (const QString&, const QString&, double = 0, double = -2147483647, double = 2147483647, double = 0.1, int = 1, bool* = 0, QWidget* /Transfer/ = 0, const char* = 0); -//ig static double getDouble (const QString&, const QString&, double = 0, double = -2147483647, double = 2147483647, int = 1, bool* = 0, QWidget* /Transfer/ = 0, const char* = 0); - static QString getItem (const QString&, const QString&, const QStringList&, int = 0, bool = 0, bool* = 0, QWidget* /Transfer/ = 0, const char* = 0); - static QStringList getItemList (const QString&, const QString&, const QStringList& = QStringList (), const QStringList& = QStringList (), bool = 0, bool* = 0, QWidget* /Transfer/ = 0, const char* = 0); + static int getInteger (const TQString&, const TQString&, int = 0, int = -2147483647, int = 2147483647, int = 1, int = 10, bool* = 0, TQWidget* /Transfer/ = 0, const char* = 0); +//ig static int getInteger (const TQString&, const TQString&, int = 0, int = -2147483647, int = 2147483647, int = 1, bool* = 0, TQWidget* /Transfer/ = 0, const char* = 0); + static double getDouble (const TQString&, const TQString&, double = 0, double = -2147483647, double = 2147483647, double = 0.1, int = 1, bool* = 0, TQWidget* /Transfer/ = 0, const char* = 0); +//ig static double getDouble (const TQString&, const TQString&, double = 0, double = -2147483647, double = 2147483647, int = 1, bool* = 0, TQWidget* /Transfer/ = 0, const char* = 0); + static TQString getItem (const TQString&, const TQString&, const TQStringList&, int = 0, bool = 0, bool* = 0, TQWidget* /Transfer/ = 0, const char* = 0); + static TQStringList getItemList (const TQString&, const TQString&, const TQStringList& = TQStringList (), const TQStringList& = TQStringList (), bool = 0, bool* = 0, TQWidget* /Transfer/ = 0, const char* = 0); }; // class KInputDialog diff --git a/sip/tdeui/kjanuswidget.sip b/sip/tdeui/kjanuswidget.sip index 7dd299a..01b90ac 100644 --- a/sip/tdeui/kjanuswidget.sip +++ b/sip/tdeui/kjanuswidget.sip @@ -24,7 +24,7 @@ // 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. -class KJanusWidget : QWidget +class KJanusWidget : TQWidget { %TypeHeaderCode #include <kjanuswidget.h> @@ -44,64 +44,64 @@ public: public: - KJanusWidget (QWidget* /TransferThis/ = 0, const char* = 0, int = Plain ); + KJanusWidget (TQWidget* /TransferThis/ = 0, const char* = 0, int = Plain ); virtual bool showPage (int); virtual int activePageIndex () const; virtual bool isValid () const; virtual int face () const; - virtual QSize minimumSizeHint () const; - virtual QSize sizeHint () const; - virtual QFrame* plainPage (); - virtual QFrame* addPage (const QString&, const QString& = QString ::null , const QPixmap& = QPixmap ()); - virtual QFrame* addPage (const QStringList&, const QString& = QString ::null , const QPixmap& = QPixmap ()); - virtual QVBox* addVBoxPage (const QString&, const QString& = QString ::null , const QPixmap& = QPixmap ()); - virtual QVBox* addVBoxPage (const QStringList&, const QString& = QString ::null , const QPixmap& = QPixmap ()); - virtual QHBox* addHBoxPage (const QString&, const QString& = QString ::null , const QPixmap& = QPixmap ()); - virtual QHBox* addHBoxPage (const QStringList&, const QString& = QString ::null , const QPixmap& = QPixmap ()); - virtual QGrid* addGridPage (int, Qt::Orientation, const QString&, const QString& = QString ::null , const QPixmap& = QPixmap ()); - virtual QGrid* addGridPage (int, Qt::Orientation, const QStringList&, const QString& = QString ::null , const QPixmap& = QPixmap ()); + virtual TQSize minimumSizeHint () const; + virtual TQSize sizeHint () const; + virtual TQFrame* plainPage (); + virtual TQFrame* addPage (const TQString&, const TQString& = TQString ::null , const TQPixmap& = TQPixmap ()); + virtual TQFrame* addPage (const TQStringList&, const TQString& = TQString ::null , const TQPixmap& = TQPixmap ()); + virtual TQVBox* addVBoxPage (const TQString&, const TQString& = TQString ::null , const TQPixmap& = TQPixmap ()); + virtual TQVBox* addVBoxPage (const TQStringList&, const TQString& = TQString ::null , const TQPixmap& = TQPixmap ()); + virtual TQHBox* addHBoxPage (const TQString&, const TQString& = TQString ::null , const TQPixmap& = TQPixmap ()); + virtual TQHBox* addHBoxPage (const TQStringList&, const TQString& = TQString ::null , const TQPixmap& = TQPixmap ()); + virtual TQGrid* addGridPage (int, TQt::Orientation, const TQString&, const TQString& = TQString ::null , const TQPixmap& = TQPixmap ()); + virtual TQGrid* addGridPage (int, TQt::Orientation, const TQStringList&, const TQString& = TQString ::null , const TQPixmap& = TQPixmap ()); %If ( KDE_3_1_0 - ) - void removePage (QWidget*); + void removePage (TQWidget*); %End - virtual int pageIndex (QWidget*) const; - virtual bool setSwallowedWidget (QWidget*); + virtual int pageIndex (TQWidget*) const; + virtual bool setSwallowedWidget (TQWidget*); virtual void setTreeListAutoResize (bool); virtual void setShowIconsInTreeList (bool); virtual void setRootIsDecorated (bool); %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 virtual void setIconListAllVisible (bool); - virtual void setFolderIcon (const QStringList&, const QPixmap&); + virtual void setFolderIcon (const TQStringList&, const TQPixmap&); %If ( KDE_3_2_0 - ) - QString pageTitle (int) const; - QWidget* pageWidget (int) const; + TQString pageTitle (int) const; + TQWidget* pageWidget (int) const; %End signals: - void aboutToShowPage (QWidget*); + void aboutToShowPage (TQWidget*); public slots: virtual void setFocus (); protected: - virtual void showEvent (QShowEvent*); - virtual bool eventFilter (QObject*, QEvent*); + virtual void showEvent (TQShowEvent*); + virtual bool eventFilter (TQObject*, TQEvent*); protected: - bool showPage (QWidget*); - void addPageWidget (QFrame*, const QStringList&, const QString&, const QPixmap&); - void InsertTreeListItem (const QStringList&, const QPixmap&, QFrame*); - QWidget* FindParent (); + bool showPage (TQWidget*); + void addPageWidget (TQFrame*, const TQStringList&, const TQString&, const TQPixmap&); + void InsertTreeListItem (const TQStringList&, const TQPixmap&, TQFrame*); + TQWidget* FindParent (); protected: //igx virtual void virtual_hook (int, void*); diff --git a/sip/tdeui/kkeybutton.sip b/sip/tdeui/kkeybutton.sip index 56fca38..e92b317 100644 --- a/sip/tdeui/kkeybutton.sip +++ b/sip/tdeui/kkeybutton.sip @@ -24,7 +24,7 @@ // 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. -class KKeyButton : QPushButton +class KKeyButton : TQPushButton { %TypeHeaderCode #include <qpushbutton.h> @@ -33,7 +33,7 @@ class KKeyButton : QPushButton public: - KKeyButton (QWidget* /TransferThis/ = 0, const char* = 0); + KKeyButton (TQWidget* /TransferThis/ = 0, const char* = 0); void setShortcut (const KShortcut&); %If ( KDE_3_1_0 - ) @@ -41,7 +41,7 @@ public: %End const KShortcut& shortcut () const; - void setText (const QString&); + void setText (const TQString&); signals: void capturedShortcut (const KShortcut&); @@ -50,7 +50,7 @@ public slots: void captureShortcut (); protected: - void drawButton (QPainter*); + void drawButton (TQPainter*); protected: //igx virtual void virtual_hook (int, void*); diff --git a/sip/tdeui/kkeydialog.sip b/sip/tdeui/kkeydialog.sip index 96d4ff9..843e466 100644 --- a/sip/tdeui/kkeydialog.sip +++ b/sip/tdeui/kkeydialog.sip @@ -24,7 +24,7 @@ // 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. -class KKeyChooser : QWidget +class KKeyChooser : TQWidget { %TypeHeaderCode #include <kkeydialog.h> @@ -41,24 +41,24 @@ public: Global }; - KKeyChooser (QWidget* /TransferThis/, KKeyChooser::ActionType = Application , bool = 1); - KKeyChooser (KActionCollection*, QWidget* /TransferThis/, bool = 1); - KKeyChooser (KAccel*, QWidget* /TransferThis/, bool = 1); - KKeyChooser (KGlobalAccel*, QWidget* /TransferThis/); - KKeyChooser (KShortcutList*, QWidget* /TransferThis/, KKeyChooser::ActionType = Application , bool = 1); + KKeyChooser (TQWidget* /TransferThis/, KKeyChooser::ActionType = Application , bool = 1); + KKeyChooser (KActionCollection*, TQWidget* /TransferThis/, bool = 1); + KKeyChooser (KAccel*, TQWidget* /TransferThis/, bool = 1); + KKeyChooser (KGlobalAccel*, TQWidget* /TransferThis/); + KKeyChooser (KShortcutList*, TQWidget* /TransferThis/, KKeyChooser::ActionType = Application , bool = 1); bool insert (KActionCollection*); %If ( KDE_3_1_0 - ) - bool insert (KActionCollection*, const QString&); + bool insert (KActionCollection*, const TQString&); %End - void syncToConfig (const QString&, KConfigBase*, bool); + void syncToConfig (const TQString&, KConfigBase*, bool); void commitChanges (); void save (); %If ( KDE_3_2_0 - ) - static bool checkGlobalShortcutsConflict (const KShortcut&, bool, QWidget* /Transfer/); - static bool checkStandardShortcutsConflict (const KShortcut&, bool, QWidget* /Transfer/); + static bool checkGlobalShortcutsConflict (const KShortcut&, bool, TQWidget* /Transfer/); + static bool checkStandardShortcutsConflict (const KShortcut&, bool, TQWidget* /Transfer/); %End @@ -76,33 +76,33 @@ protected: bool insert (KShortcutList*); %If ( KDE_3_1_0 - ) - void buildListView (uint, const QString& = QString ::null ); + void buildListView (uint, const TQString& = TQString ::null ); %End void readGlobalKeys (); void updateButtons (); - void fontChange (const QFont&); + void fontChange (const TQFont&); void setShortcut (const KShortcut&); bool isKeyPresent (const KShortcut&, bool = 1); %If ( KDE_3_1_0 - ) -//ig bool isKeyPresentLocally (const KShortcut&, KKeyChooserItem*, const QString&); +//ig bool isKeyPresentLocally (const KShortcut&, KKeyChooserItem*, const TQString&); %End - void _warning (const KKeySequence&, QString, QString); + void _warning (const KKeySequence&, TQString, TQString); protected slots: void slotNoKey (); void slotDefaultKey (); void slotCustomKey (); - void slotListItemSelected (QListViewItem*); + void slotListItemSelected (TQListViewItem*); void capturedShortcut (const KShortcut&); %If ( KDE_3_1_0 - ) void slotSettingsChanged (int); %If ( KDE_3_1_2 - ) - void slotListItemDoubleClicked (QListViewItem*, const QPoint&, int); + void slotListItemDoubleClicked (TQListViewItem*, const TQPoint&, int); %End %End @@ -111,8 +111,8 @@ protected slots: protected: public: - KKeyChooser (KAccel*, QWidget* /TransferThis/, bool, bool, bool = 0); - KKeyChooser (KGlobalAccel*, QWidget* /TransferThis/, bool, bool, bool = 0); + KKeyChooser (KAccel*, TQWidget* /TransferThis/, bool, bool, bool = 0); + KKeyChooser (KGlobalAccel*, TQWidget* /TransferThis/, bool, bool, bool = 0); public slots: void listSync (); @@ -138,33 +138,33 @@ class KKeyDialog : KDialogBase public: - KKeyDialog (bool = 1, QWidget* /TransferThis/ = 0, const char* = 0); + KKeyDialog (bool = 1, TQWidget* /TransferThis/ = 0, const char* = 0); bool insert (KActionCollection*); %If ( KDE_3_1_0 - ) - bool insert (KActionCollection*, const QString&); + bool insert (KActionCollection*, const TQString&); %End bool configure (bool = 1); void commitChanges (); - static int configure (KActionCollection*, QWidget* /Transfer/ = 0, bool = 1); - static int configure (KAccel*, QWidget* /Transfer/ = 0, bool = 1); - static int configure (KGlobalAccel*, QWidget* /Transfer/ = 0, bool = 1); + static int configure (KActionCollection*, TQWidget* /Transfer/ = 0, bool = 1); + static int configure (KAccel*, TQWidget* /Transfer/ = 0, bool = 1); + static int configure (KGlobalAccel*, TQWidget* /Transfer/ = 0, bool = 1); %If ( KDE_3_1_0 - ) - static int configure (KActionCollection*, bool, QWidget* /Transfer/ = 0, bool = 1); - static int configure (KAccel*, bool, QWidget* /Transfer/ = 0, bool = 1); - static int configure (KGlobalAccel*, bool, QWidget* /Transfer/ = 0, bool = 1); + static int configure (KActionCollection*, bool, TQWidget* /Transfer/ = 0, bool = 1); + static int configure (KAccel*, bool, TQWidget* /Transfer/ = 0, bool = 1); + static int configure (KGlobalAccel*, bool, TQWidget* /Transfer/ = 0, bool = 1); %End - static int configureKeys (KAccel*, bool = 1, QWidget* /Transfer/ = 0); - static int configureKeys (KGlobalAccel*, bool = 1, QWidget* /Transfer/ = 0); - static int configureKeys (KActionCollection*, const QString&, bool = 1, QWidget* /Transfer/ = 0); + static int configureKeys (KAccel*, bool = 1, TQWidget* /Transfer/ = 0); + static int configureKeys (KGlobalAccel*, bool = 1, TQWidget* /Transfer/ = 0); + static int configureKeys (KActionCollection*, const TQString&, bool = 1, TQWidget* /Transfer/ = 0); %If ( KDE_3_1_0 - ) private: - KKeyDialog (KKeyChooser::ActionType, bool = 1, QWidget* /TransferThis/ = 0, const char* = 0); + KKeyDialog (KKeyChooser::ActionType, bool = 1, TQWidget* /TransferThis/ = 0, const char* = 0); %End @@ -177,11 +177,11 @@ typedef KKeyChooser KKeyChooser; %MappedType IntDict -//converts a Python dict of QString:int +//converts a Python dict of TQString:int { %TypeHeaderCode #include <qdict.h> -typedef QDict<int> IntDict; +typedef TQDict<int> IntDict; %End %ConvertFromTypeCode @@ -199,12 +199,12 @@ typedef QDict<int> IntDict; // Get it. - QDict<int> qdict = *sipCpp; - QDictIterator<int> it (qdict); + TQDict<int> qdict = *sipCpp; + TQDictIterator<int> it (qdict); while (it.current ()) { - QString current_key = it.currentKey (); + TQString current_key = it.currentKey (); PyObject *a0 = sipConvertFromInstance (¤t_key, sipClass_QCString, sipTransferObj); PyObject *a1 = PyInt_FromLong ((long) it.current ()); @@ -222,23 +222,23 @@ typedef QDict<int> IntDict; %ConvertToTypeCode - // Convert a Python dictionary to a QDict<int> on the heap. + // Convert a Python dictionary to a TQDict<int> on the heap. if (sipIsErr == NULL) return PyDict_Check(sipPy); - QDict<int>* qdict = new QDict<int>; + TQDict<int>* qdict = new TQDict<int>; PyObject *key, *value; SIP_SSIZE_T pos = 0; - QString *a0; + TQString *a0; int a1; while (PyDict_Next(sipPy, &pos, &key, &value)) { int iserr = 0, a0_state; - a0 = (QString *)sipForceConvertToType(key, sipType_QString, sipTransferObj, SIP_NOT_NONE, &a0_state, &iserr); + a0 = (TQString *)sipForceConvertToType(key, sipType_QString, sipTransferObj, SIP_NOT_NONE, &a0_state, &iserr); if ((iserr) || (!PyInt_Check (value))) { diff --git a/sip/tdeui/klanguagebutton.sip b/sip/tdeui/klanguagebutton.sip index 9e37774..9f9450a 100644 --- a/sip/tdeui/klanguagebutton.sip +++ b/sip/tdeui/klanguagebutton.sip @@ -26,7 +26,7 @@ %If ( KDE_3_3_0 - ) -class KLanguageButton : QWidget +class KLanguageButton : TQWidget { %TypeHeaderCode #include <klanguagebutton.h> @@ -34,25 +34,25 @@ class KLanguageButton : QWidget public: - KLanguageButton (QWidget* /TransferThis/ = 0, const char* = 0); - KLanguageButton (const QString&, QWidget* /TransferThis/ = 0, const char* = 0); - void insertItem (const QIconSet&, const QString&, const QString&, const QString& = QString ::null , int = -1); - void insertItem (const QString&, const QString&, const QString& = QString ::null , int = -1); - void insertSeparator (const QString& = QString ::null , int = -1); - void insertSubmenu (const QIconSet&, const QString&, const QString&, const QString& = QString ::null , int = -1); - void insertSubmenu (const QString&, const QString&, const QString& = QString ::null , int = -1); - void insertLanguage (const QString&, const QString&, const QString& = QString ::null , const QString& = QString ::null , int = -1); + KLanguageButton (TQWidget* /TransferThis/ = 0, const char* = 0); + KLanguageButton (const TQString&, TQWidget* /TransferThis/ = 0, const char* = 0); + void insertItem (const TQIconSet&, const TQString&, const TQString&, const TQString& = TQString ::null , int = -1); + void insertItem (const TQString&, const TQString&, const TQString& = TQString ::null , int = -1); + void insertSeparator (const TQString& = TQString ::null , int = -1); + void insertSubmenu (const TQIconSet&, const TQString&, const TQString&, const TQString& = TQString ::null , int = -1); + void insertSubmenu (const TQString&, const TQString&, const TQString& = TQString ::null , int = -1); + void insertLanguage (const TQString&, const TQString&, const TQString& = TQString ::null , const TQString& = TQString ::null , int = -1); int count () const; void clear (); - void setText (const QString&); - QString current () const; - bool contains (const QString&) const; - void setCurrentItem (const QString&); - QString id (int) const; + void setText (const TQString&); + TQString current () const; + bool contains (const TQString&) const; + void setCurrentItem (const TQString&); + TQString id (int) const; signals: - void activated (const QString&); - void highlighted (const QString&); + void activated (const TQString&); + void highlighted (const TQString&); }; // class KLanguageButton diff --git a/sip/tdeui/kled.sip b/sip/tdeui/kled.sip index c281a90..ba93758 100644 --- a/sip/tdeui/kled.sip +++ b/sip/tdeui/kled.sip @@ -24,7 +24,7 @@ // 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. -class KLed : QWidget +class KLed : TQWidget { %TypeHeaderCode #include <kled.h> @@ -54,22 +54,22 @@ public: Sunken }; - KLed (QWidget* /TransferThis/ = 0, const char* = 0); -//ig KLed (const QColor&, QWidget* /TransferThis/ = 0, const char* = 0); - KLed (const QColor&, KLed::State, KLed::Look, KLed::Shape, QWidget* /TransferThis/ = 0, const char* = 0); + KLed (TQWidget* /TransferThis/ = 0, const char* = 0); +//ig KLed (const TQColor&, TQWidget* /TransferThis/ = 0, const char* = 0); + KLed (const TQColor&, KLed::State, KLed::Look, KLed::Shape, TQWidget* /TransferThis/ = 0, const char* = 0); State state () const; Shape shape () const; - const QColor color () const; + const TQColor color () const; Look look () const; int darkFactor () const; void setState (KLed::State); void setShape (KLed::Shape); void toggleState (); - void setColor (const QColor&); + void setColor (const TQColor&); void setDarkFactor (int); void setLook (KLed::Look); - virtual QSize sizeHint () const; - virtual QSize minimumSizeHint () const; + virtual TQSize sizeHint () const; + virtual TQSize minimumSizeHint () const; public slots: void toggle (); @@ -82,7 +82,7 @@ protected: virtual void paintSunken (); virtual void paintRect (); virtual void paintRectFrame (bool); - void paintEvent (QPaintEvent*); + void paintEvent (TQPaintEvent*); %If ( KDE_3_3_0 - ) int ensureRoundLed (); diff --git a/sip/tdeui/klineedit.sip b/sip/tdeui/klineedit.sip index 2cb05a0..469bec4 100644 --- a/sip/tdeui/klineedit.sip +++ b/sip/tdeui/klineedit.sip @@ -24,7 +24,7 @@ // 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. -class KLineEdit : QLineEdit, KCompletionBase +class KLineEdit : TQLineEdit, KCompletionBase { %TypeHeaderCode #include <klineedit.h> @@ -32,8 +32,8 @@ class KLineEdit : QLineEdit, KCompletionBase public: - KLineEdit (const QString&, QWidget* /TransferThis/, const char* = 0); - KLineEdit (QWidget* /TransferThis/ = 0, const char* = 0); + KLineEdit (const TQString&, TQWidget* /TransferThis/, const char* = 0); + KLineEdit (TQWidget* /TransferThis/ = 0, const char* = 0); void setURL (const KURL&); void cursorAtEnd (); virtual void setCompletionMode (KGlobalSettings::Completion); @@ -43,7 +43,7 @@ public: bool isURLDropsEnabled () const; void setTrapReturnKey (bool); bool trapReturnKey () const; - virtual bool eventFilter (QObject*, QEvent*); + virtual bool eventFilter (TQObject*, TQEvent*); KCompletionBox* completionBox (bool); virtual void setCompletionObject (KCompletion*, bool = 1); @@ -53,7 +53,7 @@ public: %If ( KDE_3_2_0 - ) void setEnableSqueezedText (bool); bool isSqueezedTextEnabled () const; - QString originalText () const; + TQString originalText () const; %If ( KDE_3_4_0 - ) void setCompletionBox (KCompletionBox*); @@ -67,65 +67,65 @@ public: signals: %If ( KDE_3_1_0 - ) - void completionBoxActivated (const QString&); + void completionBoxActivated (const TQString&); %End - void returnPressed (const QString&); - void completion (const QString&); - void substringCompletion (const QString&); + void returnPressed (const TQString&); + void completion (const TQString&); + void substringCompletion (const TQString&); void textRotation (KCompletionBase::KeyBindingType); void completionModeChanged (KGlobalSettings::Completion); - void aboutToShowContextMenu (QPopupMenu*); + void aboutToShowContextMenu (TQPopupMenu*); public slots: virtual void setReadOnly (bool); void rotateText (KCompletionBase::KeyBindingType); - virtual void setCompletedText (const QString&); - void setCompletedItems (const QStringList&); + virtual void setCompletedText (const TQString&); + void setCompletedItems (const TQStringList&); %If ( KDE_3_3_0 - ) - void setCompletedItems (const QStringList&, bool); + void setCompletedItems (const TQStringList&, bool); %End virtual void clear (); %If ( KDE_3_1_0 - ) - void setSqueezedText (const QString&); + void setSqueezedText (const TQString&); %If ( KDE_3_2_0 - ) - virtual void setText (const QString&); + virtual void setText (const TQString&); %End %End protected slots: - virtual void makeCompletion (const QString&); + virtual void makeCompletion (const TQString&); void slotAboutToShow (); void slotCancelled (); %If ( KDE_3_2_0 - ) - void userCancelled (const QString&); + void userCancelled (const TQString&); %End protected: %If ( KDE_3_1_0 - ) - virtual void resizeEvent (QResizeEvent*); + virtual void resizeEvent (TQResizeEvent*); %End - virtual void keyPressEvent (QKeyEvent*); - virtual void mousePressEvent (QMouseEvent*); - virtual void mouseDoubleClickEvent (QMouseEvent*); + virtual void keyPressEvent (TQKeyEvent*); + virtual void mousePressEvent (TQMouseEvent*); + virtual void mouseDoubleClickEvent (TQMouseEvent*); %If ( KDE_3_3_1 - ) - virtual void contextMenuEvent (QContextMenuEvent*); + virtual void contextMenuEvent (TQContextMenuEvent*); %End - virtual QPopupMenu* createPopupMenu (); - virtual void dropEvent (QDropEvent*); - virtual void setCompletedText (const QString&, bool); + virtual TQPopupMenu* createPopupMenu (); + virtual void dropEvent (TQDropEvent*); + virtual void setCompletedText (const TQString&, bool); %If ( KDE_3_2_0 - ) void setUserSelection (bool); @@ -134,7 +134,7 @@ protected: virtual void create (WId = 0, bool = 1, bool = 1); %If ( KDE_3_4_0 - ) - virtual void focusInEvent (QFocusEvent*); + virtual void focusInEvent (TQFocusEvent*); bool autoSuggest () const; %End diff --git a/sip/tdeui/klineeditdlg.sip b/sip/tdeui/klineeditdlg.sip index 7b30054..02d9597 100644 --- a/sip/tdeui/klineeditdlg.sip +++ b/sip/tdeui/klineeditdlg.sip @@ -32,17 +32,17 @@ class KLineEditDlg : KDialogBase public: - KLineEditDlg (const QString&, const QString&, QWidget* /TransferThis/); - QString text (); + KLineEditDlg (const TQString&, const TQString&, TQWidget* /TransferThis/); + TQString text (); KLineEdit* lineEdit () const; - static QString getText (const QString&, const QString&, bool*, QWidget* /Transfer/, QValidator* = 0); - static QString getText (const QString&, const QString&, const QString& = QString ::null , bool* = 0, QWidget* /Transfer/ = 0, QValidator* = 0); + static TQString getText (const TQString&, const TQString&, bool*, TQWidget* /Transfer/, TQValidator* = 0); + static TQString getText (const TQString&, const TQString&, const TQString& = TQString ::null , bool* = 0, TQWidget* /Transfer/ = 0, TQValidator* = 0); public slots: void slotClear (); protected slots: - void slotTextChanged (const QString&); + void slotTextChanged (const TQString&); protected: diff --git a/sip/tdeui/klistbox.sip b/sip/tdeui/klistbox.sip index aec4359..41ed7b8 100644 --- a/sip/tdeui/klistbox.sip +++ b/sip/tdeui/klistbox.sip @@ -24,7 +24,7 @@ // 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. -class KListBox : QListBox +class KListBox : TQListBox { %TypeHeaderCode #include <klistbox.h> @@ -32,26 +32,26 @@ class KListBox : QListBox public: - KListBox (QWidget* /TransferThis/ = 0, const char* = 0, WFlags = 0); + KListBox (TQWidget* /TransferThis/ = 0, const char* = 0, WFlags = 0); signals: - void executed (QListBoxItem*); - void executed (QListBoxItem*, const QPoint&); - void doubleClicked (QListBoxItem*, const QPoint&); + void executed (TQListBoxItem*); + void executed (TQListBoxItem*, const TQPoint&); + void doubleClicked (TQListBoxItem*, const TQPoint&); protected slots: - void slotOnItem (QListBoxItem*); + void slotOnItem (TQListBoxItem*); void slotOnViewport (); void slotSettingsChanged (int); void slotAutoSelect (); protected: - void emitExecute (QListBoxItem*, const QPoint&); - virtual void keyPressEvent (QKeyEvent*); - virtual void focusOutEvent (QFocusEvent*); - virtual void leaveEvent (QEvent*); - virtual void contentsMousePressEvent (QMouseEvent*); - virtual void contentsMouseDoubleClickEvent (QMouseEvent*); + void emitExecute (TQListBoxItem*, const TQPoint&); + virtual void keyPressEvent (TQKeyEvent*); + virtual void focusOutEvent (TQFocusEvent*); + virtual void leaveEvent (TQEvent*); + virtual void contentsMousePressEvent (TQMouseEvent*); + virtual void contentsMouseDoubleClickEvent (TQMouseEvent*); protected: //igx virtual void virtual_hook (int, void*); diff --git a/sip/tdeui/klistview.sip b/sip/tdeui/klistview.sip index 88231f9..29a5a4e 100644 --- a/sip/tdeui/klistview.sip +++ b/sip/tdeui/klistview.sip @@ -24,7 +24,7 @@ // 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. -class KListView : QListView +class KListView : TQListView { %TypeHeaderCode #include <klistview.h> @@ -42,19 +42,19 @@ public: FileManager }; - KListView (QWidget* /TransferThis/ = 0, const char* = 0); + KListView (TQWidget* /TransferThis/ = 0, const char* = 0); virtual void setAcceptDrops (bool); - virtual bool isExecuteArea (const QPoint&); + virtual bool isExecuteArea (const TQPoint&); bool isExecuteArea (int); - QPtrList<QListViewItem> selectedItems () const; + TQPtrList<TQListViewItem> selectedItems () const; %If ( KDE_3_4_0 - ) - QPtrList<QListViewItem> selectedItems (bool) const; + TQPtrList<TQListViewItem> selectedItems (bool) const; %End - void moveItem (QListViewItem*, QListViewItem* /Transfer/, QListViewItem*); - QListViewItem* lastItem () const; - QListViewItem* lastChild () const; + void moveItem (TQListViewItem*, TQListViewItem* /Transfer/, TQListViewItem*); + TQListViewItem* lastItem () const; + TQListViewItem* lastChild () const; %If ( KDE_3_1_0 - ) KLineEdit* renameLineEdit () const; @@ -71,28 +71,28 @@ public: bool dropHighlighter () const; int dropVisualizerWidth () const; SelectionModeExt selectionModeExt () const; - int itemIndex (const QListViewItem*) const; - QListViewItem* itemAtIndex (int); + int itemIndex (const TQListViewItem*) const; + TQListViewItem* itemAtIndex (int); void setFullWidth (); void setFullWidth (bool); bool fullWidth () const; %If ( KDE_3_0_1 - ) - virtual int addColumn (const QString&, int = -1); - virtual int addColumn (const QIconSet&, const QString&, int = -1); + virtual int addColumn (const TQString&, int = -1); + virtual int addColumn (const TQIconSet&, const TQString&, int = -1); virtual void removeColumn (int); %End - void setAlternateBackground (const QColor&); - const QColor& alternateBackground () const; - void saveLayout (KConfig*, const QString&) const; - void restoreLayout (KConfig*, const QString&); + void setAlternateBackground (const TQColor&); + const TQColor& alternateBackground () const; + void saveLayout (KConfig*, const TQString&) const; + void restoreLayout (KConfig*, const TQString&); virtual void setSorting (int, bool = 1); int columnSorted () const; bool ascendingSort () const; %If ( KDE_3_2_0 - ) - virtual void takeItem (QListViewItem*); + virtual void takeItem (TQListViewItem*); %If ( KDE_3_4_0 - ) void setShadeSortColumn (bool); @@ -103,29 +103,29 @@ public: signals: - void executed (QListViewItem*); - void executed (QListViewItem*, const QPoint&, int); - void dropped (QDropEvent*, QListViewItem*); - void dropped (KListView*, QDropEvent*, QListViewItem*); - void dropped (KListView*, QDropEvent*, QListViewItem* /Transfer/, QListViewItem*); - void dropped (QDropEvent*, QListViewItem* /Transfer/, QListViewItem*); + void executed (TQListViewItem*); + void executed (TQListViewItem*, const TQPoint&, int); + void dropped (TQDropEvent*, TQListViewItem*); + void dropped (KListView*, TQDropEvent*, TQListViewItem*); + void dropped (KListView*, TQDropEvent*, TQListViewItem* /Transfer/, TQListViewItem*); + void dropped (TQDropEvent*, TQListViewItem* /Transfer/, TQListViewItem*); void moved (); void aboutToMove (); - void moved (QListViewItem*, QListViewItem*, QListViewItem*); - void moved (QPtrList<QListViewItem>&, QPtrList<QListViewItem>&, QPtrList<QListViewItem>&); - void itemRenamed (QListViewItem*, const QString&, int); - void itemRenamed (QListViewItem*); - void menuShortCutPressed (KListView*, QListViewItem*); - void contextMenu (KListView*, QListViewItem*, const QPoint&); + void moved (TQListViewItem*, TQListViewItem*, TQListViewItem*); + void moved (TQPtrList<TQListViewItem>&, TQPtrList<TQListViewItem>&, TQPtrList<TQListViewItem>&); + void itemRenamed (TQListViewItem*, const TQString&, int); + void itemRenamed (TQListViewItem*); + void menuShortCutPressed (KListView*, TQListViewItem*); + void contextMenu (KListView*, TQListViewItem*, const TQPoint&); %If ( KDE_3_3_0 - ) - void itemAdded (QListViewItem*); - void itemRemoved (QListViewItem*); + void itemAdded (TQListViewItem*); + void itemRemoved (TQListViewItem*); %End public slots: - virtual void rename (QListViewItem*, int); + virtual void rename (TQListViewItem*, int); void setRenameable (int, bool = 1); virtual void setItemsMovable (bool); virtual void setItemsRenameable (bool); @@ -145,41 +145,41 @@ public slots: protected: - bool below (const QRect&, const QPoint&); - bool below (QListViewItem*, const QPoint&); - virtual bool event (QEvent*); - void emitExecute (QListViewItem*, const QPoint&, int); - virtual void focusInEvent (QFocusEvent*); - virtual void focusOutEvent (QFocusEvent*); - virtual void leaveEvent (QEvent*); - virtual QString tooltip (QListViewItem*, int) const; - virtual bool showTooltip (QListViewItem*, const QPoint&, int) const; - virtual void contentsDragMoveEvent (QDragMoveEvent*); - virtual void contentsMousePressEvent (QMouseEvent*); - virtual void contentsMouseMoveEvent (QMouseEvent*); - virtual void contentsMouseDoubleClickEvent (QMouseEvent*); - virtual void contentsDragLeaveEvent (QDragLeaveEvent*); - virtual void contentsMouseReleaseEvent (QMouseEvent*); - virtual void contentsDropEvent (QDropEvent*); - virtual void contentsDragEnterEvent (QDragEnterEvent*); -//ig virtual QDragObject* dragObject () const; - virtual bool acceptDrag (QDropEvent*) const; - virtual QRect drawDropVisualizer (QPainter*, QListViewItem* /Transfer/, QListViewItem*); - virtual QRect drawItemHighlighter (QPainter*, QListViewItem*); + bool below (const TQRect&, const TQPoint&); + bool below (TQListViewItem*, const TQPoint&); + virtual bool event (TQEvent*); + void emitExecute (TQListViewItem*, const TQPoint&, int); + virtual void focusInEvent (TQFocusEvent*); + virtual void focusOutEvent (TQFocusEvent*); + virtual void leaveEvent (TQEvent*); + virtual TQString tooltip (TQListViewItem*, int) const; + virtual bool showTooltip (TQListViewItem*, const TQPoint&, int) const; + virtual void contentsDragMoveEvent (TQDragMoveEvent*); + virtual void contentsMousePressEvent (TQMouseEvent*); + virtual void contentsMouseMoveEvent (TQMouseEvent*); + virtual void contentsMouseDoubleClickEvent (TQMouseEvent*); + virtual void contentsDragLeaveEvent (TQDragLeaveEvent*); + virtual void contentsMouseReleaseEvent (TQMouseEvent*); + virtual void contentsDropEvent (TQDropEvent*); + virtual void contentsDragEnterEvent (TQDragEnterEvent*); +//ig virtual TQDragObject* dragObject () const; + virtual bool acceptDrag (TQDropEvent*) const; + virtual TQRect drawDropVisualizer (TQPainter*, TQListViewItem* /Transfer/, TQListViewItem*); + virtual TQRect drawItemHighlighter (TQPainter*, TQListViewItem*); virtual void startDrag (); - virtual void keyPressEvent (QKeyEvent*); - virtual void viewportPaintEvent (QPaintEvent*); + virtual void keyPressEvent (TQKeyEvent*); + virtual void viewportPaintEvent (TQPaintEvent*); void activateAutomaticSelection (); void deactivateAutomaticSelection (); bool automaticSelection () const; - virtual void viewportResizeEvent (QResizeEvent*); + virtual void viewportResizeEvent (TQResizeEvent*); %If ( KDE_3_2_0 - ) void disableAutoSelection (); void resetAutoSelection (); %If ( KDE_3_3_0 - ) - void doubleClicked (QListViewItem*, const QPoint&, int); + void doubleClicked (TQListViewItem*, const TQPoint&, int); %End %End @@ -187,13 +187,13 @@ protected: protected slots: void slotSettingsChanged (int); - void slotMouseButtonClicked (int, QListViewItem*, const QPoint&, int); - void doneEditing (QListViewItem*, int); + void slotMouseButtonClicked (int, TQListViewItem*, const TQPoint&, int); + void doneEditing (TQListViewItem*, int); void cleanDropVisualizer (); void cleanItemHighlighter (); - void emitContextMenu (QListViewItem*, const QPoint&, int); - void emitContextMenu (KListView*, QListViewItem*); - void slotOnItem (QListViewItem*); + void emitContextMenu (TQListViewItem*, const TQPoint&, int); + void emitContextMenu (KListView*, TQListViewItem*); + void slotOnItem (TQListViewItem*); void slotOnViewport (); void slotAutoSelect (); @@ -204,9 +204,9 @@ protected slots: void slotHeaderChanged (); protected: - virtual void movableDropEvent (QListViewItem*, QListViewItem*); - virtual void findDrop (const QPoint&, QListViewItem*&, QListViewItem*&); - void fileManagerKeyPressEvent (QKeyEvent*); + virtual void movableDropEvent (TQListViewItem*, TQListViewItem*); + virtual void findDrop (const TQPoint&, TQListViewItem*&, TQListViewItem*&); + void fileManagerKeyPressEvent (TQKeyEvent*); int depthToPixels (int); protected: @@ -215,19 +215,19 @@ protected: signals: %If ( - KDE_3_3_0 ) - void doubleClicked (QListViewItem*, const QPoint&, int); + void doubleClicked (TQListViewItem*, const TQPoint&, int); %End protected: //force - virtual QDragObject* dragObject (); + virtual TQDragObject* dragObject (); //end }; // class KListView -class KListViewItem : QListViewItem +class KListViewItem : TQListViewItem { %TypeHeaderCode #include <klistview.h> @@ -235,40 +235,40 @@ class KListViewItem : QListViewItem public: - KListViewItem (QListView* /TransferThis/); - KListViewItem (QListViewItem* /TransferThis/); - KListViewItem (QListView* /TransferThis/, QListViewItem*); - KListViewItem (QListViewItem* /TransferThis/, QListViewItem*); - KListViewItem (QListView* /TransferThis/, QString, QString = QString ::null , QString = QString ::null , QString = QString ::null , QString = QString ::null , QString = QString ::null , QString = QString ::null , QString = QString ::null ); - KListViewItem (QListViewItem* /TransferThis/, QString, QString = QString ::null , QString = QString ::null , QString = QString ::null , QString = QString ::null , QString = QString ::null , QString = QString ::null , QString = QString ::null ); - KListViewItem (QListView* /TransferThis/, QListViewItem*, QString, QString = QString ::null , QString = QString ::null , QString = QString ::null , QString = QString ::null , QString = QString ::null , QString = QString ::null , QString = QString ::null ); - KListViewItem (QListViewItem* /TransferThis/, QListViewItem*, QString, QString = QString ::null , QString = QString ::null , QString = QString ::null , QString = QString ::null , QString = QString ::null , QString = QString ::null , QString = QString ::null ); + KListViewItem (TQListView* /TransferThis/); + KListViewItem (TQListViewItem* /TransferThis/); + KListViewItem (TQListView* /TransferThis/, TQListViewItem*); + KListViewItem (TQListViewItem* /TransferThis/, TQListViewItem*); + KListViewItem (TQListView* /TransferThis/, TQString, TQString = TQString ::null , TQString = TQString ::null , TQString = TQString ::null , TQString = TQString ::null , TQString = TQString ::null , TQString = TQString ::null , TQString = TQString ::null ); + KListViewItem (TQListViewItem* /TransferThis/, TQString, TQString = TQString ::null , TQString = TQString ::null , TQString = TQString ::null , TQString = TQString ::null , TQString = TQString ::null , TQString = TQString ::null , TQString = TQString ::null ); + KListViewItem (TQListView* /TransferThis/, TQListViewItem*, TQString, TQString = TQString ::null , TQString = TQString ::null , TQString = TQString ::null , TQString = TQString ::null , TQString = TQString ::null , TQString = TQString ::null , TQString = TQString ::null ); + KListViewItem (TQListViewItem* /TransferThis/, TQListViewItem*, TQString, TQString = TQString ::null , TQString = TQString ::null , TQString = TQString ::null , TQString = TQString ::null , TQString = TQString ::null , TQString = TQString ::null , TQString = TQString ::null ); %If ( KDE_3_3_0 - ) - virtual void insertItem (QListViewItem*); - virtual void takeItem (QListViewItem*); + virtual void insertItem (TQListViewItem*); + virtual void takeItem (TQListViewItem*); %End bool isAlternate (); - const QColor& backgroundColor (); + const TQColor& backgroundColor (); %If ( KDE_3_4_0 - ) - QColor backgroundColor (int); + TQColor backgroundColor (int); %End - virtual void paintCell (QPainter*, const QColorGroup&, int, int, int); + virtual void paintCell (TQPainter*, const TQColorGroup&, int, int, int); }; // class KListViewItem -%MappedType QPtrList<QListViewItem> -//converts a Python list of QListViewItem +%MappedType TQPtrList<TQListViewItem> +//converts a Python list of TQListViewItem { %TypeHeaderCode #include <qptrlist.h> #include <qlistview.h> -typedef QPtrList<QListViewItem> ListViewItems; +typedef TQPtrList<TQListViewItem> ListViewItems; %End %ConvertFromTypeCode @@ -284,8 +284,8 @@ typedef QPtrList<QListViewItem> ListViewItems; // Get it. - QPtrList<QListViewItem> *cpplist = (QPtrList<QListViewItem> *)sipCpp; - QListViewItem *cpp; + TQPtrList<TQListViewItem> *cpplist = (TQPtrList<TQListViewItem> *)sipCpp; + TQListViewItem *cpp; PyObject *inst; // the loop depends on the type of iterator the template makes available @@ -306,16 +306,16 @@ typedef QPtrList<QListViewItem> ListViewItems; if (sipIsErr == NULL) return PyList_Check(sipPy); - QPtrList<QListViewItem> *cpplist = new QPtrList<QListViewItem>; + TQPtrList<TQListViewItem> *cpplist = new TQPtrList<TQListViewItem>; PyObject *elem; - QListViewItem *cpp; + TQListViewItem *cpp; int iserr = 0; for (int i = 0; i < PyList_Size (sipPy); i++) { elem = PyList_GET_ITEM (sipPy, i); - cpp = (QListViewItem *)sipForceConvertToType(elem, sipType_QListViewItem, sipTransferObj, SIP_NO_CONVERTORS, NULL, &iserr); + cpp = (TQListViewItem *)sipForceConvertToType(elem, sipType_QListViewItem, sipTransferObj, SIP_NO_CONVERTORS, NULL, &iserr); if (iserr) { diff --git a/sip/tdeui/klistviewlineedit.sip b/sip/tdeui/klistviewlineedit.sip index 52aeebf..6e2eeab 100644 --- a/sip/tdeui/klistviewlineedit.sip +++ b/sip/tdeui/klistviewlineedit.sip @@ -35,16 +35,16 @@ public: KListViewLineEdit (KListView*/TransferThis/); signals: - void done (QListViewItem*, int); + void done (TQListViewItem*, int); public slots: void terminate (); - void load (QListViewItem*, int); + void load (TQListViewItem*, int); protected: - virtual void focusOutEvent (QFocusEvent*); - virtual void keyPressEvent (QKeyEvent*); - virtual void paintEvent (QPaintEvent*); + virtual void focusOutEvent (TQFocusEvent*); + virtual void keyPressEvent (TQKeyEvent*); + virtual void paintEvent (TQPaintEvent*); void terminate (bool); }; // class KListViewLineEdit diff --git a/sip/tdeui/klistviewsearchline.sip b/sip/tdeui/klistviewsearchline.sip index 117583f..bf7164a 100644 --- a/sip/tdeui/klistviewsearchline.sip +++ b/sip/tdeui/klistviewsearchline.sip @@ -34,26 +34,26 @@ class KListViewSearchLine : KLineEdit public: - KListViewSearchLine (QWidget* /TransferThis/ = 0, KListView* = 0, const char* = 0); - KListViewSearchLine (QWidget* /TransferThis/, const char*); + KListViewSearchLine (TQWidget* /TransferThis/ = 0, KListView* = 0, const char* = 0); + KListViewSearchLine (TQWidget* /TransferThis/, const char*); bool caseSensitive () const; - QValueList<int> searchColumns () const; + TQValueList<int> searchColumns () const; bool keepParentsVisible () const; KListView* listView () const; public slots: - virtual void updateSearch (const QString& = QString ::null ); + virtual void updateSearch (const TQString& = TQString ::null ); void setCaseSensitive (bool); void setKeepParentsVisible (bool); - void setSearchColumns (const QValueList<int>&); + void setSearchColumns (const TQValueList<int>&); void setListView (KListView*); protected: - virtual bool itemMatches (const QListViewItem*, const QString&) const; - virtual QPopupMenu* createPopupMenu (); + virtual bool itemMatches (const TQListViewItem*, const TQString&) const; + virtual TQPopupMenu* createPopupMenu (); protected slots: - void queueSearch (const QString&); + void queueSearch (const TQString&); void activateSearch (); }; // class KListViewSearchLine @@ -63,7 +63,7 @@ protected slots: %If ( KDE_3_4_0 - ) -class KListViewSearchLineWidget : QHBox +class KListViewSearchLineWidget : TQHBox { %TypeHeaderCode #include <klistviewsearchline.h> @@ -71,7 +71,7 @@ class KListViewSearchLineWidget : QHBox public: - KListViewSearchLineWidget (KListView* = 0, QWidget* /TransferThis/ = 0, const char* = 0); + KListViewSearchLineWidget (KListView* = 0, TQWidget* /TransferThis/ = 0, const char* = 0); virtual KListViewSearchLine* createSearchLine (KListView*); KListViewSearchLine* searchLine () const; diff --git a/sip/tdeui/kmainwindow.sip b/sip/tdeui/kmainwindow.sip index abf9895..b39a62f 100644 --- a/sip/tdeui/kmainwindow.sip +++ b/sip/tdeui/kmainwindow.sip @@ -24,7 +24,7 @@ // 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. -class KMainWindow : QMainWindow, KXMLGUIBuilder, KXMLGUIClient +class KMainWindow : TQMainWindow, KXMLGUIBuilder, KXMLGUIClient { %TypeHeaderCode #include <kmainwindow.h> @@ -32,7 +32,7 @@ class KMainWindow : QMainWindow, KXMLGUIBuilder, KXMLGUIClient public: - KMainWindow (QWidget* /TransferThis/ = 0, const char* = 0, WFlags = WType_TopLevel |WDestructiveClose ); + KMainWindow (TQWidget* /TransferThis/ = 0, const char* = 0, WFlags = WType_TopLevel |WDestructiveClose ); %If ( KDE_3_2_0 - ) @@ -41,13 +41,13 @@ public: NoDCOPObject }; - KMainWindow (int, QWidget* /TransferThis/ = 0, const char* = 0, WFlags = WType_TopLevel |WDestructiveClose ); + KMainWindow (int, TQWidget* /TransferThis/ = 0, const char* = 0, WFlags = WType_TopLevel |WDestructiveClose ); %End - KPopupMenu* helpMenu (const QString& = QString ::null , bool = 1); + KPopupMenu* helpMenu (const TQString& = TQString ::null , bool = 1); KPopupMenu* customHelpMenu (bool = 1); static bool canBeRestored (int); - static const QString classNameOfToplevel (int); + static const TQString classNameOfToplevel (int); %If ( KDE_3_2_0 - ) virtual void show (); @@ -56,7 +56,7 @@ public: bool restore (int, bool = 1); virtual KXMLGUIFactory* guiFactory (); - void createGUI (const QString& = QString ::null , bool = 1); + void createGUI (const TQString& = TQString ::null , bool = 1); void setHelpMenuEnabled (bool = 1); bool isHelpMenuEnabled (); @@ -66,31 +66,31 @@ public: KMenuBar* menuBar (); KStatusBar* statusBar (); - QPtrList<KMainWindow>* memberList; + TQPtrList<KMainWindow>* memberList; %If ( KDE_3_4_0 - ) - static QPtrList<KMainWindow>* getMemberList (); + static TQPtrList<KMainWindow>* getMemberList (); %End KToolBar* toolBar (const char* = 0); -//ig QPtrListIterator<KToolBar> toolBarIterator (); +//ig TQPtrListIterator<KToolBar> toolBarIterator (); KAccel* accel (); void setFrameBorderWidth (int); - void setAutoSaveSettings (const QString& = QString ::fromLatin1 ("MainWindow" ), bool = 1); + void setAutoSaveSettings (const TQString& = TQString ::fromLatin1 ("MainWindow" ), bool = 1); void resetAutoSaveSettings (); %If ( KDE_3_1_0 - ) bool autoSaveSettings () const; - QString autoSaveGroup () const; + TQString autoSaveGroup () const; %If ( KDE_3_3_0 - ) - void applyMainWindowSettings (KConfig*, const QString&, bool); + void applyMainWindowSettings (KConfig*, const TQString&, bool); %End %End - void applyMainWindowSettings (KConfig*, const QString& = QString ::null ); - void saveMainWindowSettings (KConfig*, const QString& = QString ::null ); + void applyMainWindowSettings (KConfig*, const TQString& = TQString ::null ); + void saveMainWindowSettings (KConfig*, const TQString& = TQString ::null ); %If ( KDE_3_1_0 - ) void setStandardToolBarMenuEnabled (bool); @@ -110,10 +110,10 @@ public: Create }; - void setupGUI (int = ToolBar |Keys |StatusBar |Save |Create , const QString& = QString ::null ); + void setupGUI (int = ToolBar |Keys |StatusBar |Save |Create , const TQString& = TQString ::null ); %If ( KDE_3_5_0 - ) - void setupGUI (QSize, int = ToolBar |Keys |StatusBar |Save |Create , const QString& = QString ::null ); + void setupGUI (TQSize, int = ToolBar |Keys |StatusBar |Save |Create , const TQString& = TQString ::null ); %End %End @@ -136,10 +136,10 @@ public: void ignoreInitialGeometry (); %End - QSize sizeForCentralWidgetSize (QSize); + TQSize sizeForCentralWidgetSize (TQSize); %If ( KDE_3_3_2 - ) - virtual void setIcon (const QPixmap&); + virtual void setIcon (const TQPixmap&); %End @@ -149,23 +149,23 @@ public slots: int configureToolbars (); %End - virtual void setCaption (const QString&); - virtual void setCaption (const QString&, bool); - virtual void setPlainCaption (const QString&); + virtual void setCaption (const TQString&); + virtual void setCaption (const TQString&, bool); + virtual void setPlainCaption (const TQString&); void appHelpActivated (); - virtual void slotStateChanged (const QString&); + virtual void slotStateChanged (const TQString&); %If ( KDE_3_1_0 - ) - void slotStateChanged (const QString&, KXMLGUIClient::ReverseStateChange); + void slotStateChanged (const TQString&, KXMLGUIClient::ReverseStateChange); %End void setSettingsDirty (); protected: - void paintEvent (QPaintEvent*); - void childEvent (QChildEvent*); - void resizeEvent (QResizeEvent*); - virtual void closeEvent (QCloseEvent*); + void paintEvent (TQPaintEvent*); + void childEvent (TQChildEvent*); + void resizeEvent (TQResizeEvent*); + virtual void closeEvent (TQCloseEvent*); virtual bool queryExit (); virtual bool queryClose (); virtual void saveProperties (KConfig*); @@ -175,7 +175,7 @@ protected: void savePropertiesInternal (KConfig*, int); bool readPropertiesInternal (KConfig*, int); bool settingsDirty () const; - QString settingsGroup () const; + TQString settingsGroup () const; void saveWindowSize (KConfig*) const; void restoreWindowSize (KConfig*); void parseGeometry (bool); @@ -200,7 +200,7 @@ protected: -%MappedType QPtrList<KMainWindow> +%MappedType TQPtrList<KMainWindow> //converts a Python list of KMainWindow { %TypeHeaderCode @@ -221,7 +221,7 @@ protected: // Get it. - QPtrList<KMainWindow> *cpplist = (QPtrList<KMainWindow> *)sipCpp; + TQPtrList<KMainWindow> *cpplist = (TQPtrList<KMainWindow> *)sipCpp; KMainWindow *cpp; PyObject *inst; @@ -243,7 +243,7 @@ protected: if (sipIsErr == NULL) return PyList_Check(sipPy); - QPtrList<KMainWindow> *cpplist = new QPtrList<KMainWindow>; + TQPtrList<KMainWindow> *cpplist = new TQPtrList<KMainWindow>; PyObject *elem; KMainWindow *cpp; diff --git a/sip/tdeui/kmainwindowiface.sip b/sip/tdeui/kmainwindowiface.sip index 0f739fc..9260e51 100644 --- a/sip/tdeui/kmainwindowiface.sip +++ b/sip/tdeui/kmainwindowiface.sip @@ -34,26 +34,26 @@ class KMainWindowInterface : DCOPObject public: %If ( KDE_3_1_4 - ) - virtual bool process (const QCString&, const QByteArray&, QCString&, QByteArray&); - QCStringList functions (); - QCStringList interfaces (); + virtual bool process (const TQCString&, const TQByteArray&, TQCString&, TQByteArray&); + TQCStringList functions (); + TQCStringList interfaces (); %End public: KMainWindowInterface (KMainWindow*); - QCStringList functionsDynamic (); - bool processDynamic (const QCString&, const QByteArray&, QCString&, QByteArray&); + TQCStringList functionsDynamic (); + bool processDynamic (const TQCString&, const TQByteArray&, TQCString&, TQByteArray&); public: - QCStringList actions (); - bool activateAction (QCString); - bool disableAction (QCString); - bool enableAction (QCString); - bool actionIsEnabled (QCString); - QCString actionToolTip (QCString); - DCOPRef action (const QCString&); - QMap<QCString,DCOPRef> actionMap (); + TQCStringList actions (); + bool activateAction (TQCString); + bool disableAction (TQCString); + bool enableAction (TQCString); + bool actionIsEnabled (TQCString); + TQCString actionToolTip (TQCString); + DCOPRef action (const TQCString&); + TQMap<TQCString,DCOPRef> actionMap (); int getWinID (); void grabWindowToClipBoard (); void hide (); diff --git a/sip/tdeui/kmenubar.sip b/sip/tdeui/kmenubar.sip index b5b420b..0ff0b58 100644 --- a/sip/tdeui/kmenubar.sip +++ b/sip/tdeui/kmenubar.sip @@ -24,7 +24,7 @@ // 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. -class KMenuBar : QMenuBar +class KMenuBar : TQMenuBar { %TypeHeaderCode #include <kmenubar.h> @@ -32,19 +32,19 @@ class KMenuBar : QMenuBar public: - KMenuBar (QWidget* /TransferThis/ = 0, const char* = 0); + KMenuBar (TQWidget* /TransferThis/ = 0, const char* = 0); void setTopLevelMenu (bool = 1); bool isTopLevelMenu () const; %If ( KDE_3_1_0 - ) - virtual void setGeometry (const QRect&); + virtual void setGeometry (const TQRect&); %End virtual void setGeometry (int, int, int, int); %If ( KDE_3_2_0 - ) virtual void resize (int, int); - void resize (const QSize&); + void resize (const TQSize&); %End virtual void show (); @@ -55,7 +55,7 @@ public: virtual void setMargin (int); %If ( KDE_3_4_0 - ) - virtual QSize sizeHint () const; + virtual TQSize sizeHint () const; %End %End @@ -67,16 +67,16 @@ protected slots: protected: %If ( KDE_3_1_0 - ) - virtual void showEvent (QShowEvent*); - virtual void resizeEvent (QResizeEvent*); - virtual bool eventFilter (QObject*, QEvent*); + virtual void showEvent (TQShowEvent*); + virtual void resizeEvent (TQResizeEvent*); + virtual bool eventFilter (TQObject*, TQEvent*); //ig virtual bool x11Event (XEvent*); %If ( KDE_3_2_3 - ) - virtual void closeEvent (QCloseEvent*); + virtual void closeEvent (TQCloseEvent*); %If ( KDE_3_3_0 - ) - virtual void drawContents (QPainter*); + virtual void drawContents (TQPainter*); %End %End diff --git a/sip/tdeui/kmessagebox.sip b/sip/tdeui/kmessagebox.sip index 557a419..01a5105 100644 --- a/sip/tdeui/kmessagebox.sip +++ b/sip/tdeui/kmessagebox.sip @@ -69,104 +69,104 @@ public: %End - static int questionYesNo (QWidget* /Transfer/, const QString&, const QString& = QString ::null , const KGuiItem& = KStdGuiItem ::yes (), const KGuiItem& = KStdGuiItem ::no (), const QString& = QString ::null , int = Notify ); + static int questionYesNo (TQWidget* /Transfer/, const TQString&, const TQString& = TQString ::null , const KGuiItem& = KStdGuiItem ::yes (), const KGuiItem& = KStdGuiItem ::no (), const TQString& = TQString ::null , int = Notify ); %If ( KDE_3_2_0 - ) - static int questionYesNoWId (WId, const QString&, const QString& = QString ::null , const KGuiItem& = KStdGuiItem ::yes (), const KGuiItem& = KStdGuiItem ::no (), const QString& = QString ::null , int = Notify ); + static int questionYesNoWId (WId, const TQString&, const TQString& = TQString ::null , const KGuiItem& = KStdGuiItem ::yes (), const KGuiItem& = KStdGuiItem ::no (), const TQString& = TQString ::null , int = Notify ); %End - static int questionYesNoCancel (QWidget* /Transfer/, const QString&, const QString& = QString ::null , const KGuiItem& = KStdGuiItem ::yes (), const KGuiItem& = KStdGuiItem ::no (), const QString& = QString ::null , int = Notify ); + static int questionYesNoCancel (TQWidget* /Transfer/, const TQString&, const TQString& = TQString ::null , const KGuiItem& = KStdGuiItem ::yes (), const KGuiItem& = KStdGuiItem ::no (), const TQString& = TQString ::null , int = Notify ); %If ( KDE_3_2_0 - ) - static int questionYesNoCancelWId (WId, const QString&, const QString& = QString ::null , const KGuiItem& = KStdGuiItem ::yes (), const KGuiItem& = KStdGuiItem ::no (), const QString& = QString ::null , int = Notify ); + static int questionYesNoCancelWId (WId, const TQString&, const TQString& = TQString ::null , const KGuiItem& = KStdGuiItem ::yes (), const KGuiItem& = KStdGuiItem ::no (), const TQString& = TQString ::null , int = Notify ); %End - static int questionYesNoList (QWidget* /Transfer/, const QString&, const QStringList&, const QString& = QString ::null , const KGuiItem& = KStdGuiItem ::yes (), const KGuiItem& = KStdGuiItem ::no (), const QString& = QString ::null , int = Notify ); + static int questionYesNoList (TQWidget* /Transfer/, const TQString&, const TQStringList&, const TQString& = TQString ::null , const KGuiItem& = KStdGuiItem ::yes (), const KGuiItem& = KStdGuiItem ::no (), const TQString& = TQString ::null , int = Notify ); %If ( KDE_3_2_0 - ) - static int questionYesNoListWId (WId, const QString&, const QStringList&, const QString& = QString ::null , const KGuiItem& = KStdGuiItem ::yes (), const KGuiItem& = KStdGuiItem ::no (), const QString& = QString ::null , int = Notify ); + static int questionYesNoListWId (WId, const TQString&, const TQStringList&, const TQString& = TQString ::null , const KGuiItem& = KStdGuiItem ::yes (), const KGuiItem& = KStdGuiItem ::no (), const TQString& = TQString ::null , int = Notify ); %End - static int warningYesNo (QWidget* /Transfer/, const QString&, const QString& = QString ::null , const KGuiItem& = KStdGuiItem ::yes (), const KGuiItem& = KStdGuiItem ::no (), const QString& = QString ::null , int = Notify ); + static int warningYesNo (TQWidget* /Transfer/, const TQString&, const TQString& = TQString ::null , const KGuiItem& = KStdGuiItem ::yes (), const KGuiItem& = KStdGuiItem ::no (), const TQString& = TQString ::null , int = Notify ); %If ( KDE_3_2_0 - ) - static int warningYesNoWId (WId, const QString&, const QString& = QString ::null , const KGuiItem& = KStdGuiItem ::yes (), const KGuiItem& = KStdGuiItem ::no (), const QString& = QString ::null , int = Notify |Dangerous ); - static int warningYesNoList (QWidget* /Transfer/, const QString&, const QStringList&, const QString& = QString ::null , const KGuiItem& = KStdGuiItem ::yes (), const KGuiItem& = KStdGuiItem ::no (), const QString& = QString ::null , int = Notify |Dangerous ); - static int warningYesNoListWId (WId, const QString&, const QStringList&, const QString& = QString ::null , const KGuiItem& = KStdGuiItem ::yes (), const KGuiItem& = KStdGuiItem ::no (), const QString& = QString ::null , int = Notify |Dangerous ); + static int warningYesNoWId (WId, const TQString&, const TQString& = TQString ::null , const KGuiItem& = KStdGuiItem ::yes (), const KGuiItem& = KStdGuiItem ::no (), const TQString& = TQString ::null , int = Notify |Dangerous ); + static int warningYesNoList (TQWidget* /Transfer/, const TQString&, const TQStringList&, const TQString& = TQString ::null , const KGuiItem& = KStdGuiItem ::yes (), const KGuiItem& = KStdGuiItem ::no (), const TQString& = TQString ::null , int = Notify |Dangerous ); + static int warningYesNoListWId (WId, const TQString&, const TQStringList&, const TQString& = TQString ::null , const KGuiItem& = KStdGuiItem ::yes (), const KGuiItem& = KStdGuiItem ::no (), const TQString& = TQString ::null , int = Notify |Dangerous ); %End - static int warningContinueCancel (QWidget* /Transfer/, const QString&, const QString& = QString ::null , const KGuiItem& = KStdGuiItem ::cont (), const QString& = QString ::null , int = Notify ); + static int warningContinueCancel (TQWidget* /Transfer/, const TQString&, const TQString& = TQString ::null , const KGuiItem& = KStdGuiItem ::cont (), const TQString& = TQString ::null , int = Notify ); %If ( KDE_3_2_0 - ) - static int warningContinueCancelWId (WId, const QString&, const QString& = QString ::null , const KGuiItem& = KStdGuiItem ::cont (), const QString& = QString ::null , int = Notify ); + static int warningContinueCancelWId (WId, const TQString&, const TQString& = TQString ::null , const KGuiItem& = KStdGuiItem ::cont (), const TQString& = TQString ::null , int = Notify ); %End %If ( KDE_3_1_0 - ) - static int warningContinueCancelList (QWidget* /Transfer/, const QString&, const QStringList&, const QString& = QString ::null , const KGuiItem& = KStdGuiItem ::cont (), const QString& = QString ::null , int = Notify ); + static int warningContinueCancelList (TQWidget* /Transfer/, const TQString&, const TQStringList&, const TQString& = TQString ::null , const KGuiItem& = KStdGuiItem ::cont (), const TQString& = TQString ::null , int = Notify ); %If ( KDE_3_2_0 - ) - static int warningContinueCancelListWId (WId, const QString&, const QStringList&, const QString& = QString ::null , const KGuiItem& = KStdGuiItem ::cont (), const QString& = QString ::null , int = Notify ); + static int warningContinueCancelListWId (WId, const TQString&, const TQStringList&, const TQString& = TQString ::null , const KGuiItem& = KStdGuiItem ::cont (), const TQString& = TQString ::null , int = Notify ); %End %End - static int warningYesNoCancel (QWidget* /Transfer/, const QString&, const QString& = QString ::null , const KGuiItem& = KStdGuiItem ::yes (), const KGuiItem& = KStdGuiItem ::no (), const QString& = QString ::null , int = Notify ); + static int warningYesNoCancel (TQWidget* /Transfer/, const TQString&, const TQString& = TQString ::null , const KGuiItem& = KStdGuiItem ::yes (), const KGuiItem& = KStdGuiItem ::no (), const TQString& = TQString ::null , int = Notify ); %If ( KDE_3_2_0 - ) - static int warningYesNoCancelWId (WId, const QString&, const QString& = QString ::null , const KGuiItem& = KStdGuiItem ::yes (), const KGuiItem& = KStdGuiItem ::no (), const QString& = QString ::null , int = Notify ); - static int warningYesNoCancelList (QWidget* /Transfer/, const QString&, const QStringList&, const QString& = QString ::null , const KGuiItem& = KStdGuiItem ::yes (), const KGuiItem& = KStdGuiItem ::no (), const QString& = QString ::null , int = Notify ); - static int warningYesNoCancelListWId (WId, const QString&, const QStringList&, const QString& = QString ::null , const KGuiItem& = KStdGuiItem ::yes (), const KGuiItem& = KStdGuiItem ::no (), const QString& = QString ::null , int = Notify ); + static int warningYesNoCancelWId (WId, const TQString&, const TQString& = TQString ::null , const KGuiItem& = KStdGuiItem ::yes (), const KGuiItem& = KStdGuiItem ::no (), const TQString& = TQString ::null , int = Notify ); + static int warningYesNoCancelList (TQWidget* /Transfer/, const TQString&, const TQStringList&, const TQString& = TQString ::null , const KGuiItem& = KStdGuiItem ::yes (), const KGuiItem& = KStdGuiItem ::no (), const TQString& = TQString ::null , int = Notify ); + static int warningYesNoCancelListWId (WId, const TQString&, const TQStringList&, const TQString& = TQString ::null , const KGuiItem& = KStdGuiItem ::yes (), const KGuiItem& = KStdGuiItem ::no (), const TQString& = TQString ::null , int = Notify ); %End - static void error (QWidget* /Transfer/, const QString&, const QString& = QString ::null , bool = 1); + static void error (TQWidget* /Transfer/, const TQString&, const TQString& = TQString ::null , bool = 1); %If ( KDE_3_2_0 - ) - static void errorWId (WId, const QString&, const QString& = QString ::null , int = Notify ); + static void errorWId (WId, const TQString&, const TQString& = TQString ::null , int = Notify ); %If ( KDE_3_4_0 - ) - static void errorList (QWidget* /Transfer/, const QString&, const QStringList&, const QString& = QString ::null , int = Notify ); - static void errorListWId (WId, const QString&, const QStringList&, const QString& = QString ::null , int = Notify ); + static void errorList (TQWidget* /Transfer/, const TQString&, const TQStringList&, const TQString& = TQString ::null , int = Notify ); + static void errorListWId (WId, const TQString&, const TQStringList&, const TQString& = TQString ::null , int = Notify ); %End %End - static void detailedError (QWidget* /Transfer/, const QString&, const QString&, const QString& = QString ::null , bool = 1); + static void detailedError (TQWidget* /Transfer/, const TQString&, const TQString&, const TQString& = TQString ::null , bool = 1); %If ( KDE_3_2_0 - ) - static void detailedErrorWId (WId, const QString&, const QString&, const QString& = QString ::null , int = Notify ); + static void detailedErrorWId (WId, const TQString&, const TQString&, const TQString& = TQString ::null , int = Notify ); %End - static void queuedDetailedError (QWidget* /Transfer/, const QString&, const QString&, const QString& = QString ::null ); + static void queuedDetailedError (TQWidget* /Transfer/, const TQString&, const TQString&, const TQString& = TQString ::null ); %If ( KDE_3_2_0 - ) - static void queuedDetailedErrorWId (WId, const QString&, const QString&, const QString& = QString ::null ); + static void queuedDetailedErrorWId (WId, const TQString&, const TQString&, const TQString& = TQString ::null ); %End - static void sorry (QWidget* /Transfer/, const QString&, const QString& = QString ::null , bool = 1); + static void sorry (TQWidget* /Transfer/, const TQString&, const TQString& = TQString ::null , bool = 1); %If ( KDE_3_2_0 - ) - static void sorryWId (WId, const QString&, const QString& = QString ::null , int = Notify ); + static void sorryWId (WId, const TQString&, const TQString& = TQString ::null , int = Notify ); %End - static void detailedSorry (QWidget* /Transfer/, const QString&, const QString&, const QString& = QString ::null , bool = 1); + static void detailedSorry (TQWidget* /Transfer/, const TQString&, const TQString&, const TQString& = TQString ::null , bool = 1); %If ( KDE_3_2_0 - ) - static void detailedSorryWId (WId, const QString&, const QString&, const QString& = QString ::null , int = Notify ); + static void detailedSorryWId (WId, const TQString&, const TQString&, const TQString& = TQString ::null , int = Notify ); %End - static void information (QWidget* /Transfer/, const QString&, const QString& = QString ::null , const QString& = QString ::null , bool = 1); + static void information (TQWidget* /Transfer/, const TQString&, const TQString& = TQString ::null , const TQString& = TQString ::null , bool = 1); %If ( KDE_3_2_0 - ) - static void informationWId (WId, const QString&, const QString& = QString ::null , const QString& = QString ::null , int = Notify ); + static void informationWId (WId, const TQString&, const TQString& = TQString ::null , const TQString& = TQString ::null , int = Notify ); %End %If ( KDE_3_1_0 - ) - static void informationList (QWidget* /Transfer/, const QString&, const QStringList&, const QString& = QString ::null , const QString& = QString ::null , int = Notify ); + static void informationList (TQWidget* /Transfer/, const TQString&, const TQStringList&, const TQString& = TQString ::null , const TQString& = TQString ::null , int = Notify ); %If ( KDE_3_2_0 - ) - static void informationListWId (WId, const QString&, const QStringList&, const QString& = QString ::null , const QString& = QString ::null , int = Notify ); + static void informationListWId (WId, const TQString&, const TQStringList&, const TQString& = TQString ::null , const TQString& = TQString ::null , int = Notify ); %End %End @@ -174,44 +174,44 @@ public: static void enableAllMessages (); %If ( KDE_3_2_0 - ) - static void enableMessage (const QString&); + static void enableMessage (const TQString&); %End - static void about (QWidget* /Transfer/, const QString&, const QString& = QString ::null , bool = 1); + static void about (TQWidget* /Transfer/, const TQString&, const TQString& = TQString ::null , bool = 1); %If ( KDE_3_2_0 - ) - static int messageBox (QWidget* /Transfer/, KMessageBox::DialogType, const QString&, const QString&, const KGuiItem&, const KGuiItem&, const QString&, int = Notify ); + static int messageBox (TQWidget* /Transfer/, KMessageBox::DialogType, const TQString&, const TQString&, const KGuiItem&, const KGuiItem&, const TQString&, int = Notify ); %End - static int messageBox (QWidget* /Transfer/, KMessageBox::DialogType, const QString&, const QString& = QString ::null , const KGuiItem& = KStdGuiItem ::yes (), const KGuiItem& = KStdGuiItem ::no (), int = Notify ); + static int messageBox (TQWidget* /Transfer/, KMessageBox::DialogType, const TQString&, const TQString& = TQString ::null , const KGuiItem& = KStdGuiItem ::yes (), const KGuiItem& = KStdGuiItem ::no (), int = Notify ); %If ( KDE_3_2_0 - ) - static int messageBoxWId (WId, KMessageBox::DialogType, const QString&, const QString& = QString ::null , const KGuiItem& = KStdGuiItem ::yes (), const KGuiItem& = KStdGuiItem ::no (), const QString& = QString ::null , int = Notify ); + static int messageBoxWId (WId, KMessageBox::DialogType, const TQString&, const TQString& = TQString ::null , const KGuiItem& = KStdGuiItem ::yes (), const KGuiItem& = KStdGuiItem ::no (), const TQString& = TQString ::null , int = Notify ); %End %If ( KDE_3_1_0 - ) - static void queuedMessageBox (QWidget* /Transfer/, KMessageBox::DialogType, const QString&, const QString&, int); + static void queuedMessageBox (TQWidget* /Transfer/, KMessageBox::DialogType, const TQString&, const TQString&, int); %If ( KDE_3_2_0 - ) - static void queuedMessageBoxWId (WId, KMessageBox::DialogType, const QString&, const QString&, int); + static void queuedMessageBoxWId (WId, KMessageBox::DialogType, const TQString&, const TQString&, int); %End %End - static void queuedMessageBox (QWidget* /Transfer/, KMessageBox::DialogType, const QString&, const QString& = QString ::null ); + static void queuedMessageBox (TQWidget* /Transfer/, KMessageBox::DialogType, const TQString&, const TQString& = TQString ::null ); %If ( KDE_3_2_0 - ) - static void queuedMessageBoxWId (WId, KMessageBox::DialogType, const QString&, const QString& = QString ::null ); - static bool shouldBeShownYesNo (const QString&, KMessageBox::ButtonCode&); - static bool shouldBeShownContinue (const QString&); - static void saveDontShowAgainYesNo (const QString&, KMessageBox::ButtonCode); - static void saveDontShowAgainContinue (const QString&); + static void queuedMessageBoxWId (WId, KMessageBox::DialogType, const TQString&, const TQString& = TQString ::null ); + static bool shouldBeShownYesNo (const TQString&, KMessageBox::ButtonCode&); + static bool shouldBeShownContinue (const TQString&); + static void saveDontShowAgainYesNo (const TQString&, KMessageBox::ButtonCode); + static void saveDontShowAgainContinue (const TQString&); static void setDontShowAskAgainConfig (KConfig*); %If ( KDE_3_3_0 - ) - static int createKMessageBox (KDialogBase*, QMessageBox::Icon, const QString&, const QStringList&, const QString&, bool*, int, const QString& = QString ::null ); - static int createKMessageBox (KDialogBase*, QPixmap, const QString&, const QStringList&, const QString&, bool*, int, const QString& = QString ::null , QMessageBox::Icon = QMessageBox ::Information ); + static int createKMessageBox (KDialogBase*, TQMessageBox::Icon, const TQString&, const TQStringList&, const TQString&, bool*, int, const TQString& = TQString ::null ); + static int createKMessageBox (KDialogBase*, TQPixmap, const TQString&, const TQStringList&, const TQString&, bool*, int, const TQString& = TQString ::null , TQMessageBox::Icon = TQMessageBox ::Information ); %End %End @@ -247,12 +247,12 @@ public: public: %If ( - KDE_3_0_3 ) -//ig static int warningContinueCancelList (QWidget* /Transfer/, const QString&, const QStringList&, const QString& = QString ::null , const KGuiItem& = QString ::null , const QString& = QString ::null , int = Notify ); +//ig static int warningContinueCancelList (TQWidget* /Transfer/, const TQString&, const TQStringList&, const TQString& = TQString ::null , const KGuiItem& = TQString ::null , const TQString& = TQString ::null , int = Notify ); %End %If ( KDE_3_0_3 - KDE_3_1_0 ) - static int warningContinueCancelList (QWidget* /Transfer/, const QString&, const QStringList&, const QString& = QString ::null , const KGuiItem& = KGuiItem (), const QString& = QString ::null , int = Notify ); + static int warningContinueCancelList (TQWidget* /Transfer/, const TQString&, const TQStringList&, const TQString& = TQString ::null , const KGuiItem& = KGuiItem (), const TQString& = TQString ::null , int = Notify ); %End diff --git a/sip/tdeui/knuminput.sip b/sip/tdeui/knuminput.sip index 56e9501..ed79dd9 100644 --- a/sip/tdeui/knuminput.sip +++ b/sip/tdeui/knuminput.sip @@ -24,7 +24,7 @@ // 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. -class KNumInput : QWidget +class KNumInput : TQWidget { %TypeHeaderCode #include <knuminput.h> @@ -32,18 +32,18 @@ class KNumInput : QWidget public: - KNumInput (QWidget* /TransferThis/ = 0, const char* = 0); - KNumInput (KNumInput*, QWidget* /TransferThis/ = 0, const char* = 0); - virtual void setLabel (const QString&, int = AlignLeft |AlignTop ); - QString label () const; + KNumInput (TQWidget* /TransferThis/ = 0, const char* = 0); + KNumInput (KNumInput*, TQWidget* /TransferThis/ = 0, const char* = 0); + virtual void setLabel (const TQString&, int = AlignLeft |AlignTop ); + TQString label () const; %If ( KDE_3_1_0 - ) bool showSlider () const; %End void setSteps (int, int); - QSizePolicy sizePolicy () const; - virtual QSize sizeHint () const; + TQSizePolicy sizePolicy () const; + virtual TQSize sizeHint () const; protected: void layout (bool); @@ -63,9 +63,9 @@ class KIntNumInput : KNumInput public: - KIntNumInput (QWidget* /TransferThis/ = 0, const char* = 0); - KIntNumInput (int, QWidget* /TransferThis/ = 0, int = 10, const char* = 0); - KIntNumInput (KNumInput*, int, QWidget* /TransferThis/ = 0, int = 10, const char* = 0); + KIntNumInput (TQWidget* /TransferThis/ = 0, const char* = 0); + KIntNumInput (int, TQWidget* /TransferThis/ = 0, int = 10, const char* = 0); + KIntNumInput (KNumInput*, int, TQWidget* /TransferThis/ = 0, int = 10, const char* = 0); int value () const; %If ( KDE_3_1_0 - ) @@ -73,17 +73,17 @@ public: int referencePoint () const; %End - QString suffix () const; - QString prefix () const; - QString specialValueText () const; + TQString suffix () const; + TQString prefix () const; + TQString specialValueText () const; void setRange (int, int, int = 1, bool = 1); void setMinValue (int); int minValue () const; void setMaxValue (int); int maxValue () const; - void setSpecialValueText (const QString&); - virtual void setLabel (const QString&, int = AlignLeft |AlignTop ); - virtual QSize minimumSizeHint () const; + void setSpecialValueText (const TQString&); + virtual void setLabel (const TQString&, int = AlignLeft |AlignTop ); + virtual TQSize minimumSizeHint () const; public slots: void setValue (int); @@ -93,8 +93,8 @@ public slots: void setReferencePoint (int); %End - void setSuffix (const QString&); - void setPrefix (const QString&); + void setSuffix (const TQString&); + void setPrefix (const TQString&); void setEditFocus (bool = 1); signals: @@ -107,7 +107,7 @@ signals: protected: virtual void doLayout (); - void resizeEvent (QResizeEvent*); + void resizeEvent (TQResizeEvent*); protected: //igx virtual void virtual_hook (int, void*); @@ -123,24 +123,24 @@ class KDoubleNumInput : KNumInput public: - KDoubleNumInput (QWidget* /TransferThis/ = 0, const char* = 0); - KDoubleNumInput (double, QWidget* /TransferThis/ = 0, const char* = 0); + KDoubleNumInput (TQWidget* /TransferThis/ = 0, const char* = 0); + KDoubleNumInput (double, TQWidget* /TransferThis/ = 0, const char* = 0); %If ( KDE_3_1_0 - ) - KDoubleNumInput (double, double, double, double = 0.01, int = 2, QWidget* /TransferThis/ = 0, const char* = 0); + KDoubleNumInput (double, double, double, double = 0.01, int = 2, TQWidget* /TransferThis/ = 0, const char* = 0); %End - KDoubleNumInput (KNumInput*, double, QWidget* /TransferThis/ = 0, const char* = 0); + KDoubleNumInput (KNumInput*, double, TQWidget* /TransferThis/ = 0, const char* = 0); %If ( KDE_3_1_0 - ) - KDoubleNumInput (KNumInput*, double, double, double, double = 0.02, int = 2, QWidget* /TransferThis/ = 0, const char* = 0); + KDoubleNumInput (KNumInput*, double, double, double, double = 0.02, int = 2, TQWidget* /TransferThis/ = 0, const char* = 0); %End double value () const; - QString suffix () const; - QString prefix () const; + TQString suffix () const; + TQString prefix () const; int precision () const; - QString specialValueText () const; + TQString specialValueText () const; void setRange (double, double, double = 1, bool = 1); void setMinValue (double); double minValue () const; @@ -153,10 +153,10 @@ public: double relativeValue () const; %End - void setSpecialValueText (const QString&); - virtual void setLabel (const QString&, int = AlignLeft |AlignTop ); - virtual QSize minimumSizeHint () const; - virtual bool eventFilter (QObject*, QEvent*); + void setSpecialValueText (const TQString&); + virtual void setLabel (const TQString&, int = AlignLeft |AlignTop ); + virtual TQSize minimumSizeHint () const; + virtual bool eventFilter (TQObject*, TQEvent*); public slots: void setValue (double); @@ -166,8 +166,8 @@ public slots: void setReferencePoint (double); %End - void setSuffix (const QString&); - void setPrefix (const QString&); + void setSuffix (const TQString&); + void setPrefix (const TQString&); signals: void valueChanged (double); @@ -179,7 +179,7 @@ signals: protected: virtual void doLayout (); - void resizeEvent (QResizeEvent*); + void resizeEvent (TQResizeEvent*); virtual void resetEditBox (); protected: @@ -188,7 +188,7 @@ protected: }; // class KDoubleNumInput -class KIntSpinBox : QSpinBox +class KIntSpinBox : TQSpinBox { %TypeHeaderCode #include <knuminput.h> @@ -196,14 +196,14 @@ class KIntSpinBox : QSpinBox public: - KIntSpinBox (QWidget* /TransferThis/ = 0, const char* = 0); - KIntSpinBox (int, int, int, int, int = 10, QWidget* /TransferThis/ = 0, const char* = 0); + KIntSpinBox (TQWidget* /TransferThis/ = 0, const char* = 0); + KIntSpinBox (int, int, int, int, int = 10, TQWidget* /TransferThis/ = 0, const char* = 0); void setBase (int); int base () const; void setEditFocus (bool); protected: - virtual QString mapValueToText (int); + virtual TQString mapValueToText (int); //ig virtual int mapTextToValue (bool*); protected: @@ -214,7 +214,7 @@ protected: %If ( KDE_3_1_0 - ) -class KDoubleSpinBox : QSpinBox +class KDoubleSpinBox : TQSpinBox { %TypeHeaderCode #include <knuminput.h> @@ -222,8 +222,8 @@ class KDoubleSpinBox : QSpinBox public: - KDoubleSpinBox (QWidget* /TransferThis/ = 0, const char* = 0); - KDoubleSpinBox (double, double, double, double, int = 2, QWidget* /TransferThis/ = 0, const char* = 0); + KDoubleSpinBox (TQWidget* /TransferThis/ = 0, const char* = 0); + KDoubleSpinBox (double, double, double, double, int = 2, TQWidget* /TransferThis/ = 0, const char* = 0); bool acceptLocalizedNumbers () const; virtual void setAcceptLocalizedNumbers (bool); void setRange (double, double, double = 0.01, int = 2); @@ -237,7 +237,7 @@ public: void setMaxValue (double); double lineStep () const; void setLineStep (double); - void setValidator (const QValidator*); + void setValidator (const TQValidator*); signals: void valueChanged (double); @@ -246,7 +246,7 @@ public slots: virtual void setValue (double); protected: - virtual QString mapValueToText (int); + virtual TQString mapValueToText (int); //ig virtual int mapTextToValue (bool*); protected slots: diff --git a/sip/tdeui/knumvalidator.sip b/sip/tdeui/knumvalidator.sip index d79d6e9..5ee4462 100644 --- a/sip/tdeui/knumvalidator.sip +++ b/sip/tdeui/knumvalidator.sip @@ -24,7 +24,7 @@ // 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. -class KIntValidator : QValidator +class KIntValidator : TQValidator { %TypeHeaderCode #include <knumvalidator.h> @@ -32,10 +32,10 @@ class KIntValidator : QValidator public: - KIntValidator (QWidget* /TransferThis/, int = 10, const char* = 0); - KIntValidator (int, int, QWidget* /TransferThis/, int = 10, const char* = 0); - virtual State validate (QString&, int&) const; - virtual void fixup (QString&) const; + KIntValidator (TQWidget* /TransferThis/, int = 10, const char* = 0); + KIntValidator (int, int, TQWidget* /TransferThis/, int = 10, const char* = 0); + virtual State validate (TQString&, int&) const; + virtual void fixup (TQString&) const; virtual void setRange (int, int); virtual void setBase (int); virtual int bottom () const; @@ -45,7 +45,7 @@ public: }; // class KIntValidator -class KFloatValidator : QValidator +class KFloatValidator : TQValidator { %TypeHeaderCode #include <knumvalidator.h> @@ -53,11 +53,11 @@ class KFloatValidator : QValidator public: - KFloatValidator (QWidget* /TransferThis/, const char* = 0); - KFloatValidator (double, double, QWidget* /TransferThis/, const char* = 0); - KFloatValidator (double, double, bool, QWidget* /TransferThis/, const char* = 0); - virtual State validate (QString&, int&) const; - virtual void fixup (QString&) const; + KFloatValidator (TQWidget* /TransferThis/, const char* = 0); + KFloatValidator (double, double, TQWidget* /TransferThis/, const char* = 0); + KFloatValidator (double, double, bool, TQWidget* /TransferThis/, const char* = 0); + virtual State validate (TQString&, int&) const; + virtual void fixup (TQString&) const; virtual void setRange (double, double); virtual double bottom () const; virtual double top () const; @@ -69,7 +69,7 @@ public: %If ( KDE_3_1_0 - ) -class KDoubleValidator : QDoubleValidator +class KDoubleValidator : TQDoubleValidator { %TypeHeaderCode #include <knumvalidator.h> @@ -77,9 +77,9 @@ class KDoubleValidator : QDoubleValidator public: - KDoubleValidator (QObject* /TransferThis/, const char* = 0); - KDoubleValidator (double, double, int, QObject* /TransferThis/, const char* = 0); - virtual QValidator::State validate (QString&, int&) const; + KDoubleValidator (TQObject* /TransferThis/, const char* = 0); + KDoubleValidator (double, double, int, TQObject* /TransferThis/, const char* = 0); + virtual TQValidator::State validate (TQString&, int&) const; bool acceptLocalizedNumbers () const; void setAcceptLocalizedNumbers (bool); diff --git a/sip/tdeui/kpanelapplet.sip b/sip/tdeui/kpanelapplet.sip index 0f97cd1..de0f1de 100644 --- a/sip/tdeui/kpanelapplet.sip +++ b/sip/tdeui/kpanelapplet.sip @@ -24,7 +24,7 @@ // 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. -class KPanelApplet : QFrame +class KPanelApplet : TQFrame { %TypeHeaderCode #include <kpanelapplet.h> @@ -74,7 +74,7 @@ public: Right }; - KPanelApplet (const QString&, KPanelApplet::Type = Normal , int = 0, QWidget* /TransferThis/ = 0, const char* = 0, WFlags = 0); + KPanelApplet (const TQString&, KPanelApplet::Type = Normal , int = 0, TQWidget* /TransferThis/ = 0, const char* = 0, WFlags = 0); virtual int widthForHeight (int) const; virtual int heightForWidth (int) const; KConfig* config () const; @@ -88,7 +88,7 @@ public: virtual void action (KPanelApplet::Action); %If ( KDE_3_2_0 - ) - const QPopupMenu* customMenu () const; + const TQPopupMenu* customMenu () const; %End void setPosition (KPanelApplet::Position); @@ -115,10 +115,10 @@ protected: virtual void alignmentChange (KPanelApplet::Alignment); %If ( KDE_3_2_0 - ) - void setCustomMenu (const QPopupMenu*); + void setCustomMenu (const TQPopupMenu*); %If ( KDE_3_4_0 - ) - void watchForFocus (QWidget*, bool = 1); + void watchForFocus (TQWidget*, bool = 1); void needsFocus (bool); %End @@ -129,7 +129,7 @@ protected: virtual void popupDirectionChange (KPanelApplet::Direction); %If ( KDE_3_4_0 - ) - bool eventFilter (QObject*, QEvent*); + bool eventFilter (TQObject*, TQEvent*); %End diff --git a/sip/tdeui/kpanelappmenu.sip b/sip/tdeui/kpanelappmenu.sip index 97fe0a2..9de7894 100644 --- a/sip/tdeui/kpanelappmenu.sip +++ b/sip/tdeui/kpanelappmenu.sip @@ -24,7 +24,7 @@ // 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. -class KPanelAppMenu : QObject, DCOPObject +class KPanelAppMenu : TQObject, DCOPObject { %TypeHeaderCode #include <kpanelappmenu.h> @@ -32,20 +32,20 @@ class KPanelAppMenu : QObject, DCOPObject public: - KPanelAppMenu (const QString&, QObject* /TransferThis/ = 0, const char* = 0); - KPanelAppMenu (const QPixmap&, const QString&, QObject* /TransferThis/, const char*); - KPanelAppMenu (QObject* /TransferThis/, const char*); - int insertItem (const QString&, int = -1); - int insertItem (const QPixmap&, const QString&, int = -1); - KPanelAppMenu* insertMenu (const QPixmap&, const QString&, int = -1); + KPanelAppMenu (const TQString&, TQObject* /TransferThis/ = 0, const char* = 0); + KPanelAppMenu (const TQPixmap&, const TQString&, TQObject* /TransferThis/, const char*); + KPanelAppMenu (TQObject* /TransferThis/, const char*); + int insertItem (const TQString&, int = -1); + int insertItem (const TQPixmap&, const TQString&, int = -1); + KPanelAppMenu* insertMenu (const TQPixmap&, const TQString&, int = -1); void clear (); - bool process (const QCString&, const QByteArray&, QCString&, QByteArray&); + bool process (const TQCString&, const TQByteArray&, TQCString&, TQByteArray&); signals: void activated (int); protected: - void init (const QPixmap&, const QString&); + void init (const TQPixmap&, const TQString&); }; // class KPanelAppMenu diff --git a/sip/tdeui/kpanelextension.sip b/sip/tdeui/kpanelextension.sip index d1b8d8f..26206ec 100644 --- a/sip/tdeui/kpanelextension.sip +++ b/sip/tdeui/kpanelextension.sip @@ -24,7 +24,7 @@ // 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. -class KPanelExtension : QFrame +class KPanelExtension : TQFrame { %TypeHeaderCode #include <kpanelextension.h> @@ -84,8 +84,8 @@ public: %End - KPanelExtension (const QString&, KPanelExtension::Type = Normal , int = 0, QWidget* /TransferThis/ = 0, const char* = 0); - virtual QSize sizeHint (KPanelExtension::Position, QSize) const; + KPanelExtension (const TQString&, KPanelExtension::Type = Normal , int = 0, TQWidget* /TransferThis/ = 0, const char* = 0); + virtual TQSize sizeHint (KPanelExtension::Position, TQSize) const; KConfig* config () const; Type type () const; int actions () const; @@ -100,7 +100,7 @@ public: int customSize () const; %If ( KDE_3_4_0 - ) - QPopupMenu* customMenu () const; + TQPopupMenu* customMenu () const; bool reserveStrut () const; %End @@ -132,7 +132,7 @@ protected: virtual void alignmentChange (KPanelExtension::Alignment); %If ( KDE_3_4_0 - ) - void setCustomMenu (QPopupMenu*); + void setCustomMenu (TQPopupMenu*); void setReserveStrut (bool); %End diff --git a/sip/tdeui/kpanelmenu.sip b/sip/tdeui/kpanelmenu.sip index b8da99c..ea0da29 100644 --- a/sip/tdeui/kpanelmenu.sip +++ b/sip/tdeui/kpanelmenu.sip @@ -32,10 +32,10 @@ class KPanelMenu : KPopupMenu public: - KPanelMenu (QWidget* /TransferThis/ = 0, const char* = 0); - KPanelMenu (const QString&, QWidget* /TransferThis/ = 0, const char* = 0); - const QString& path () const; - void setPath (const QString&); + KPanelMenu (TQWidget* /TransferThis/ = 0, const char* = 0); + KPanelMenu (const TQString&, TQWidget* /TransferThis/ = 0, const char* = 0); + const TQString& path () const; + void setPath (const TQString&); bool initialized () const; void setInitialized (bool); void disableAutoClear (); @@ -55,8 +55,8 @@ protected slots: void slotClear (); protected: - virtual void hideEvent (QHideEvent*); - void init (const QString& = QString ::null ); + virtual void hideEvent (TQHideEvent*); + void init (const TQString& = TQString ::null ); protected: //igx virtual void virtual_hook (int, void*); diff --git a/sip/tdeui/kpassdlg.sip b/sip/tdeui/kpassdlg.sip index 45c0780..d23451a 100644 --- a/sip/tdeui/kpassdlg.sip +++ b/sip/tdeui/kpassdlg.sip @@ -24,7 +24,7 @@ // 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. -class KPasswordEdit : QLineEdit +class KPasswordEdit : TQLineEdit { %TypeHeaderCode #include <kpassdlg.h> @@ -40,14 +40,14 @@ public: NoEcho }; - KPasswordEdit (QWidget* /TransferThis/ = 0, const char* = 0); - KPasswordEdit (EchoMode, QWidget* /TransferThis/, const char*); + KPasswordEdit (TQWidget* /TransferThis/ = 0, const char* = 0); + KPasswordEdit (EchoMode, TQWidget* /TransferThis/, const char*); %If ( KDE_3_2_0 - ) - KPasswordEdit (KPasswordEdit::EchoModes, QWidget* /TransferThis/, const char*); + KPasswordEdit (KPasswordEdit::EchoModes, TQWidget* /TransferThis/, const char*); %End - KPasswordEdit (QWidget* /TransferThis/, const char*, int); + KPasswordEdit (TQWidget* /TransferThis/, const char*, int); const char* password (); void erase (); //ig const int PassLen; @@ -61,14 +61,14 @@ public: public slots: %If ( KDE_3_1_2 - ) - virtual void insert (const QString&); + virtual void insert (const TQString&); %End protected: - virtual void keyPressEvent (QKeyEvent*); - virtual void focusInEvent (QFocusEvent*); - virtual bool event (QEvent*); + virtual void keyPressEvent (TQKeyEvent*); + virtual void focusInEvent (TQFocusEvent*); + virtual bool event (TQEvent*); }; // class KPasswordEdit @@ -88,16 +88,16 @@ public: NewPassword }; - KPasswordDialog (KPasswordDialog::Types, bool, int, QWidget* /TransferThis/ = 0, const char* = 0); - KPasswordDialog (int, QString, bool = 0, int = 0); + KPasswordDialog (KPasswordDialog::Types, bool, int, TQWidget* /TransferThis/ = 0, const char* = 0); + KPasswordDialog (int, TQString, bool = 0, int = 0); %If ( KDE_3_3_0 - ) - KPasswordDialog (KPasswordDialog::Types, bool, int, const QString&, QWidget* /TransferThis/ = 0, const char* = 0); + KPasswordDialog (KPasswordDialog::Types, bool, int, const TQString&, TQWidget* /TransferThis/ = 0, const char* = 0); %End - void setPrompt (QString); - QString prompt () const; - void addLine (QString, QString); + void setPrompt (TQString); + TQString prompt () const; + void addLine (TQString, TQString); %If ( KDE_3_4_0 - ) void setAllowEmptyPasswords (bool); @@ -119,8 +119,8 @@ public: %End bool keep () const; - static int getPassword (QCString&, QString, int* = 0); - static int getNewPassword (QCString&, QString); + static int getPassword (TQCString&, TQString, int* = 0); + static int getNewPassword (TQCString&, TQString); static void disableCoreDumps (); protected slots: diff --git a/sip/tdeui/kpassivepopup.sip b/sip/tdeui/kpassivepopup.sip index 1cb7972..243e82b 100644 --- a/sip/tdeui/kpassivepopup.sip +++ b/sip/tdeui/kpassivepopup.sip @@ -26,7 +26,7 @@ %If ( KDE_3_1_0 - ) -class KPassivePopup : QFrame +class KPassivePopup : TQFrame { %TypeHeaderCode #include <kpassivepopup.h> @@ -46,37 +46,37 @@ public: %End - KPassivePopup (QWidget* /TransferThis/ = 0, const char* = 0, WFlags = 0); + KPassivePopup (TQWidget* /TransferThis/ = 0, const char* = 0, WFlags = 0); KPassivePopup (WId, const char* = 0, WFlags = 0); %If ( KDE_3_5_0 - ) - KPassivePopup (int, QWidget* /TransferThis/ = 0, const char* = 0, WFlags = 0); + KPassivePopup (int, TQWidget* /TransferThis/ = 0, const char* = 0, WFlags = 0); KPassivePopup (int, WId /TransferThis/, const char* = 0, WFlags = 0); %End - void setView (QWidget*); - void setView (const QString&, const QString& = QString ::null ); - virtual void setView (const QString&, const QString&, const QPixmap&); - QVBox* standardView (const QString&, const QString&, const QPixmap&, QWidget* /Transfer/ = 0); - QWidget* view () const; + void setView (TQWidget*); + void setView (const TQString&, const TQString& = TQString ::null ); + virtual void setView (const TQString&, const TQString&, const TQPixmap&); + TQVBox* standardView (const TQString&, const TQString&, const TQPixmap&, TQWidget* /Transfer/ = 0); + TQWidget* view () const; int timeout () const; virtual void setAutoDelete (bool); bool autoDelete () const; %If ( KDE_3_5_0 - ) - void setAnchor (const QPoint&); + void setAnchor (const TQPoint&); %End - static KPassivePopup* message (const QString&, QWidget* /Transfer/, const char* = 0); - static KPassivePopup* message (const QString&, const QString&, QWidget* /Transfer/, const char* = 0); - static KPassivePopup* message (const QString&, const QString&, const QPixmap&, QWidget* /Transfer/, const char* = 0, int = -1); - static KPassivePopup* message (const QString&, const QString&, const QPixmap&, WId, const char* = 0, int = -1); + static KPassivePopup* message (const TQString&, TQWidget* /Transfer/, const char* = 0); + static KPassivePopup* message (const TQString&, const TQString&, TQWidget* /Transfer/, const char* = 0); + static KPassivePopup* message (const TQString&, const TQString&, const TQPixmap&, TQWidget* /Transfer/, const char* = 0, int = -1); + static KPassivePopup* message (const TQString&, const TQString&, const TQPixmap&, WId, const char* = 0, int = -1); %If ( KDE_3_5_0 - ) - static KPassivePopup* message (int, const QString&, QWidget* /Transfer/, const char* = 0); - static KPassivePopup* message (int, const QString&, const QString&, QWidget* /Transfer/, const char* = 0); - static KPassivePopup* message (int, const QString&, const QString&, const QPixmap&, QWidget* /Transfer/, const char* = 0, int = -1); - static KPassivePopup* message (int, const QString&, const QString&, const QPixmap&, WId, const char* = 0, int = -1); + static KPassivePopup* message (int, const TQString&, TQWidget* /Transfer/, const char* = 0); + static KPassivePopup* message (int, const TQString&, const TQString&, TQWidget* /Transfer/, const char* = 0); + static KPassivePopup* message (int, const TQString&, const TQString&, const TQPixmap&, TQWidget* /Transfer/, const char* = 0, int = -1); + static KPassivePopup* message (int, const TQString&, const TQString&, const TQPixmap&, WId, const char* = 0, int = -1); %End @@ -85,24 +85,24 @@ public slots: virtual void show (); %If ( KDE_3_5_0 - ) - void show (const QPoint&); + void show (const TQPoint&); %End signals: void clicked (); - void clicked (QPoint); + void clicked (TQPoint); protected: virtual void positionSelf (); - virtual void hideEvent (QHideEvent*); - void moveNear (QRect); - virtual void mouseReleaseEvent (QMouseEvent*); - QRect defaultArea () const; + virtual void hideEvent (TQHideEvent*); + void moveNear (TQRect); + virtual void mouseReleaseEvent (TQMouseEvent*); + TQRect defaultArea () const; %If ( KDE_3_5_0 - ) void updateMask (); - virtual void paintEvent (QPaintEvent*); + virtual void paintEvent (TQPaintEvent*); %End diff --git a/sip/tdeui/kpixmapio.sip b/sip/tdeui/kpixmapio.sip index be5a5fa..98a2d3a 100644 --- a/sip/tdeui/kpixmapio.sip +++ b/sip/tdeui/kpixmapio.sip @@ -33,12 +33,12 @@ class KPixmapIO public: KPixmapIO (); - QPixmap convertToPixmap (const QImage&); - QImage convertToImage (const QPixmap&); - void putImage (QPixmap*, int, int, const QImage*); - void putImage (QPixmap*, const QPoint&, const QImage*); - QImage getImage (const QPixmap*, int, int, int, int); - QImage getImage (const QPixmap*, const QRect&); + TQPixmap convertToPixmap (const TQImage&); + TQImage convertToImage (const TQPixmap&); + void putImage (TQPixmap*, int, int, const TQImage*); + void putImage (TQPixmap*, const TQPoint&, const TQImage*); + TQImage getImage (const TQPixmap*, int, int, int, int); + TQImage getImage (const TQPixmap*, const TQRect&); enum ShmPolicies { diff --git a/sip/tdeui/kpixmapregionselectordialog.sip b/sip/tdeui/kpixmapregionselectordialog.sip index 8c68828..d1f7d07 100644 --- a/sip/tdeui/kpixmapregionselectordialog.sip +++ b/sip/tdeui/kpixmapregionselectordialog.sip @@ -34,12 +34,12 @@ class KPixmapRegionSelectorDialog : KDialogBase public: - KPixmapRegionSelectorDialog (QWidget* /TransferThis/ = 0, const char* = 0, bool = 0); + KPixmapRegionSelectorDialog (TQWidget* /TransferThis/ = 0, const char* = 0, bool = 0); KPixmapRegionSelectorWidget* pixmapRegionSelectorWidget () const; - static QRect getSelectedRegion (const QPixmap&, QWidget* /Transfer/ = 0); - static QRect getSelectedRegion (const QPixmap&, int, int, QWidget* /Transfer/ = 0); - static QImage getSelectedImage (const QPixmap&, QWidget* /Transfer/ = 0); - static QImage getSelectedImage (const QPixmap&, int, int, QWidget* /Transfer/ = 0); + static TQRect getSelectedRegion (const TQPixmap&, TQWidget* /Transfer/ = 0); + static TQRect getSelectedRegion (const TQPixmap&, int, int, TQWidget* /Transfer/ = 0); + static TQImage getSelectedImage (const TQPixmap&, TQWidget* /Transfer/ = 0); + static TQImage getSelectedImage (const TQPixmap&, int, int, TQWidget* /Transfer/ = 0); protected: diff --git a/sip/tdeui/kpixmapregionselectorwidget.sip b/sip/tdeui/kpixmapregionselectorwidget.sip index fb756aa..3148992 100644 --- a/sip/tdeui/kpixmapregionselectorwidget.sip +++ b/sip/tdeui/kpixmapregionselectorwidget.sip @@ -26,7 +26,7 @@ %If ( KDE_3_4_0 - ) -class KPixmapRegionSelectorWidget : QWidget +class KPixmapRegionSelectorWidget : TQWidget { %TypeHeaderCode #include <kpixmapregionselectorwidget.h> @@ -34,14 +34,14 @@ class KPixmapRegionSelectorWidget : QWidget public: - KPixmapRegionSelectorWidget (QWidget* /TransferThis/ = 0, const char* = 0); - void setPixmap (const QPixmap&); - QPixmap pixmap () const; - void setSelectedRegion (const QRect&); - QRect selectedRegion () const; - QRect unzoomedSelectedRegion () const; + KPixmapRegionSelectorWidget (TQWidget* /TransferThis/ = 0, const char* = 0); + void setPixmap (const TQPixmap&); + TQPixmap pixmap () const; + void setSelectedRegion (const TQRect&); + TQRect selectedRegion () const; + TQRect unzoomedSelectedRegion () const; void resetSelection (); - QImage selectedImage () const; + TQImage selectedImage () const; void setSelectionAspectRatio (int, int); void setFreeSelectionAspectRatio (); void setMaximumWidgetSize (int, int); diff --git a/sip/tdeui/kpopupmenu.sip b/sip/tdeui/kpopupmenu.sip index b3fcb50..e7a8a6f 100644 --- a/sip/tdeui/kpopupmenu.sip +++ b/sip/tdeui/kpopupmenu.sip @@ -24,7 +24,7 @@ // 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. -class KPopupTitle : QWidget +class KPopupTitle : TQWidget { %TypeHeaderCode #include <kpopupmenu.h> @@ -32,19 +32,19 @@ class KPopupTitle : QWidget public: - KPopupTitle (QWidget* /TransferThis/ = 0, const char* = 0); - KPopupTitle (KPixmapEffect::GradientType, const QColor&, const QColor&, QWidget* /TransferThis/ = 0, const char* = 0); - KPopupTitle (const KPixmap&, const QColor&, const QColor&, QWidget* /TransferThis/ = 0, const char* = 0); - void setTitle (const QString&, const QPixmap* = 0); - QString title (); - QPixmap icon (); - QSize sizeHint () const; + KPopupTitle (TQWidget* /TransferThis/ = 0, const char* = 0); + KPopupTitle (KPixmapEffect::GradientType, const TQColor&, const TQColor&, TQWidget* /TransferThis/ = 0, const char* = 0); + KPopupTitle (const KPixmap&, const TQColor&, const TQColor&, TQWidget* /TransferThis/ = 0, const char* = 0); + void setTitle (const TQString&, const TQPixmap* = 0); + TQString title (); + TQPixmap icon (); + TQSize sizeHint () const; public slots: %If ( KDE_3_1_0 - ) - void setText (const QString&); - void setIcon (const QPixmap&); + void setText (const TQString&); + void setIcon (const TQPixmap&); %End @@ -54,7 +54,7 @@ protected: void calcSize (); %End - void paintEvent (QPaintEvent*); + void paintEvent (TQPaintEvent*); protected: //igx virtual void virtual_hook (int, void*); @@ -62,7 +62,7 @@ protected: }; // class KPopupTitle -class KPopupMenu : QPopupMenu +class KPopupMenu : TQPopupMenu { %TypeHeaderCode #include <kpopupmenu.h> @@ -70,31 +70,31 @@ class KPopupMenu : QPopupMenu public: - KPopupMenu (QWidget* /TransferThis/ = 0, const char* = 0); - int insertTitle (const QString&, int = -1, int = -1); - int insertTitle (const QPixmap&, const QString&, int = -1, int = -1); - void changeTitle (int, const QString&); - void changeTitle (int, const QPixmap&, const QString&); - QString title (int = -1); - QPixmap titlePixmap (int); + KPopupMenu (TQWidget* /TransferThis/ = 0, const char* = 0); + int insertTitle (const TQString&, int = -1, int = -1); + int insertTitle (const TQPixmap&, const TQString&, int = -1, int = -1); + void changeTitle (int, const TQString&); + void changeTitle (int, const TQPixmap&, const TQString&); + TQString title (int = -1); + TQPixmap titlePixmap (int); %If ( KDE_3_1_0 - ) void setKeyboardShortcutsEnabled (bool); void setKeyboardShortcutsExecute (bool); %End - KPopupMenu (const QString&, QWidget* /TransferThis/ = 0, const char* = 0); - void setTitle (const QString&); + KPopupMenu (const TQString&, TQWidget* /TransferThis/ = 0, const char* = 0); + void setTitle (const TQString&); %If ( KDE_3_2_0 - ) - QPopupMenu* contextMenu (); + TQPopupMenu* contextMenu (); void hideContextMenu (); static KPopupMenu* contextMenuFocus (); static int contextMenuFocusItem (); %If ( KDE_3_4_0 - ) virtual void activateItemAt (int); - Qt::ButtonState state () const; + TQt::ButtonState state () const; %End %End @@ -103,26 +103,26 @@ public: signals: %If ( KDE_3_2_0 - ) - void aboutToShowContextMenu (KPopupMenu*, int, QPopupMenu*); + void aboutToShowContextMenu (KPopupMenu*, int, TQPopupMenu*); %End protected: %If ( KDE_3_1_0 - ) - virtual void closeEvent (QCloseEvent*); - virtual void keyPressEvent (QKeyEvent*); + virtual void closeEvent (TQCloseEvent*); + virtual void keyPressEvent (TQKeyEvent*); %If ( KDE_3_4_0 - ) - virtual void mouseReleaseEvent (QMouseEvent*); + virtual void mouseReleaseEvent (TQMouseEvent*); %End %If ( KDE_3_2_0 - ) - virtual void mousePressEvent (QMouseEvent*); + virtual void mousePressEvent (TQMouseEvent*); virtual bool focusNextPrevChild (bool); - virtual void contextMenuEvent (QContextMenuEvent*); - virtual void hideEvent (QHideEvent*); + virtual void contextMenuEvent (TQContextMenuEvent*); + virtual void hideEvent (TQHideEvent*); %End %End @@ -132,12 +132,12 @@ protected: protected slots: %If ( KDE_3_1_0 - ) - QString underlineText (const QString&, uint); + TQString underlineText (const TQString&, uint); void resetKeyboardVars (bool = 0); %If ( KDE_3_2_0 - ) void itemHighlighted (int); - void showCtxMenu (QPoint); + void showCtxMenu (TQPoint); void ctxMenuHiding (); void ctxMenuHideShowingMenu (); %End diff --git a/sip/tdeui/kprogress.sip b/sip/tdeui/kprogress.sip index 7195db5..1cf7d21 100644 --- a/sip/tdeui/kprogress.sip +++ b/sip/tdeui/kprogress.sip @@ -24,7 +24,7 @@ // 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. -class KProgress : QProgressBar +class KProgress : TQProgressBar { %TypeHeaderCode #include <kprogress.h> @@ -32,17 +32,17 @@ class KProgress : QProgressBar public: - KProgress (QWidget* /TransferThis/ = 0, const char* = 0, WFlags = 0); - KProgress (int, QWidget* /TransferThis/ = 0, const char* = 0, WFlags = 0); + KProgress (TQWidget* /TransferThis/ = 0, const char* = 0, WFlags = 0); + KProgress (int, TQWidget* /TransferThis/ = 0, const char* = 0, WFlags = 0); void setTextEnabled (bool); int value () const; bool textEnabled () const; - QString format () const; + TQString format () const; void setRange (int, int); int maxValue (); public slots: - void setFormat (const QString&); + void setFormat (const TQString&); void setTotalSteps (int); virtual void setProgress (int); void setValue (int); @@ -52,7 +52,7 @@ signals: void percentageChanged (int); protected: - virtual bool setIndicator (QString&, int, int); + virtual bool setIndicator (TQString&, int, int); protected: //igx virtual void virtual_hook (int, void*); @@ -68,10 +68,10 @@ class KProgressDialog : KDialogBase public: - KProgressDialog (QWidget* /TransferThis/ = 0, const char* = 0, const QString& = QString ::null , const QString& = QString ::null , bool = 0); + KProgressDialog (TQWidget* /TransferThis/ = 0, const char* = 0, const TQString& = TQString ::null , const TQString& = TQString ::null , bool = 0); KProgress* progressBar (); - void setLabel (const QString&); - QString labelText (); + void setLabel (const TQString&); + TQString labelText (); void setAllowCancel (bool); bool allowCancel (); void showCancelButton (bool); @@ -80,8 +80,8 @@ public: void setAutoReset (bool); bool autoReset (); bool wasCancelled (); - void setButtonText (const QString&); - QString buttonText (); + void setButtonText (const TQString&); + TQString buttonText (); void setMinimumDuration (int); int minimumDuration (); diff --git a/sip/tdeui/kpushbutton.sip b/sip/tdeui/kpushbutton.sip index 25dc131..a5b795d 100644 --- a/sip/tdeui/kpushbutton.sip +++ b/sip/tdeui/kpushbutton.sip @@ -24,7 +24,7 @@ // 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. -class KPushButton : QPushButton +class KPushButton : TQPushButton { %TypeHeaderCode #include <kpushbutton.h> @@ -32,10 +32,10 @@ class KPushButton : QPushButton public: - KPushButton (QWidget* /TransferThis/, const char* = 0); - KPushButton (const QString&, QWidget* /TransferThis/, const char* = 0); - KPushButton (const QIconSet&, const QString&, QWidget* /TransferThis/, const char* = 0); - KPushButton (const KGuiItem&, QWidget* /TransferThis/, const char* = 0); + KPushButton (TQWidget* /TransferThis/, const char* = 0); + KPushButton (const TQString&, TQWidget* /TransferThis/, const char* = 0); + KPushButton (const TQIconSet&, const TQString&, TQWidget* /TransferThis/, const char* = 0); + KPushButton (const KGuiItem&, TQWidget* /TransferThis/, const char* = 0); void setDragEnabled (bool); bool isDragEnabled () const; void setGuiItem (const KGuiItem&); @@ -49,15 +49,15 @@ public: %If ( KDE_3_2_0 - ) - void setIconSet (const QIconSet&); - void setText (const QString&); + void setIconSet (const TQIconSet&); + void setText (const TQString&); %End protected: - virtual QDragObject* dragObject (); - virtual void mousePressEvent (QMouseEvent*); - virtual void mouseMoveEvent (QMouseEvent*); + virtual TQDragObject* dragObject (); + virtual void mousePressEvent (TQMouseEvent*); + virtual void mouseMoveEvent (TQMouseEvent*); virtual void startDrag (); protected: diff --git a/sip/tdeui/krestrictedline.sip b/sip/tdeui/krestrictedline.sip index 4739fe2..bab8a14 100644 --- a/sip/tdeui/krestrictedline.sip +++ b/sip/tdeui/krestrictedline.sip @@ -32,15 +32,15 @@ class KRestrictedLine : KLineEdit public: - KRestrictedLine (QWidget* /TransferThis/ = 0, const char* = 0, const QString& = QString ::null ); - void setValidChars (const QString&); - QString validChars () const; + KRestrictedLine (TQWidget* /TransferThis/ = 0, const char* = 0, const TQString& = TQString ::null ); + void setValidChars (const TQString&); + TQString validChars () const; signals: void invalidChar (int); protected: - void keyPressEvent (QKeyEvent*); + void keyPressEvent (TQKeyEvent*); protected: //igx virtual void virtual_hook (int, void*); diff --git a/sip/tdeui/krootpixmap.sip b/sip/tdeui/krootpixmap.sip index a4ce0d3..59b9088 100644 --- a/sip/tdeui/krootpixmap.sip +++ b/sip/tdeui/krootpixmap.sip @@ -24,7 +24,7 @@ // 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. -class KRootPixmap : QObject +class KRootPixmap : TQObject { %TypeHeaderCode #include <krootpixmap.h> @@ -32,8 +32,8 @@ class KRootPixmap : QObject public: - KRootPixmap (QWidget*, const char* = 0); - KRootPixmap (QWidget*, QObject* /TransferThis/, const char* = 0); + KRootPixmap (TQWidget*, const char* = 0); + KRootPixmap (TQWidget*, TQObject* /TransferThis/, const char* = 0); bool isAvailable () const; bool isActive () const; int currentDesktop () const; @@ -41,7 +41,7 @@ public: bool checkAvailable (bool); %If ( KDE_3_2_0 - ) - const QColor& color () const; + const TQColor& color () const; double opacity () const; %End @@ -49,22 +49,22 @@ public: public slots: virtual void start (); virtual void stop (); - void setFadeEffect (double, const QColor&); + void setFadeEffect (double, const TQColor&); void repaint (bool); void repaint (); void setCustomPainting (bool); void enableExports (); %If ( KDE_3_2_0 - ) -//ig static QString pixmapName (int); +//ig static TQString pixmapName (int); %End signals: - void backgroundUpdated (const QPixmap&); + void backgroundUpdated (const TQPixmap&); protected: - virtual bool eventFilter (QObject*, QEvent*); + virtual bool eventFilter (TQObject*, TQEvent*); //ig virtual void updateBackground (KSharedPixmap*); }; // class KRootPixmap diff --git a/sip/tdeui/kruler.sip b/sip/tdeui/kruler.sip index 40458a2..7068889 100644 --- a/sip/tdeui/kruler.sip +++ b/sip/tdeui/kruler.sip @@ -24,7 +24,7 @@ // 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. -class KRuler : QFrame +class KRuler : TQFrame { %TypeHeaderCode #include <kruler.h> @@ -43,9 +43,9 @@ public: Metres }; - KRuler (QWidget* /TransferThis/ = 0, const char* = 0); - KRuler (Orientation, QWidget* /TransferThis/ = 0, const char* = 0, WFlags = 0); - KRuler (Orientation, int, QWidget* /TransferThis/ = 0, const char* = 0, WFlags = 0); + KRuler (TQWidget* /TransferThis/ = 0, const char* = 0); + KRuler (Orientation, TQWidget* /TransferThis/ = 0, const char* = 0, WFlags = 0); + KRuler (Orientation, int, TQWidget* /TransferThis/ = 0, const char* = 0, WFlags = 0); void setMinValue (int); int minValue () const; void setMaxValue (int); @@ -78,8 +78,8 @@ public: void setValuePerBigMark (int); void setShowEndLabel (bool); bool showEndLabel () const; - void setEndLabel (const QString&); - QString endLabel () const; + void setEndLabel (const TQString&); + TQString endLabel () const; void setRulerMetricStyle (KRuler::MetricStyle); void setPixelPerMark (double); double pixelPerMark () const; @@ -99,7 +99,7 @@ public slots: void slotEndOffset (int); protected: - virtual void drawContents (QPainter*); + virtual void drawContents (TQPainter*); protected: //igx virtual void virtual_hook (int, void*); diff --git a/sip/tdeui/kscrollview.sip b/sip/tdeui/kscrollview.sip index 8a10fa9..599e36b 100644 --- a/sip/tdeui/kscrollview.sip +++ b/sip/tdeui/kscrollview.sip @@ -26,7 +26,7 @@ %If ( KDE_3_5_0 - ) -class KScrollView : QScrollView +class KScrollView : TQScrollView { %TypeHeaderCode #include <kscrollview.h> @@ -34,13 +34,13 @@ class KScrollView : QScrollView public: - KScrollView (QWidget* /TransferThis/ = 0, const char* = 0, Qt::WFlags = 0); + KScrollView (TQWidget* /TransferThis/ = 0, const char* = 0, TQt::WFlags = 0); public slots: void scrollBy (int, int); protected: - virtual void wheelEvent (QWheelEvent*); + virtual void wheelEvent (TQWheelEvent*); void startScrolling (); void stopScrolling (); diff --git a/sip/tdeui/kselect.sip b/sip/tdeui/kselect.sip index 06650d9..9d3148a 100644 --- a/sip/tdeui/kselect.sip +++ b/sip/tdeui/kselect.sip @@ -24,7 +24,7 @@ // 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. -class KXYSelector : QWidget +class KXYSelector : TQWidget { %TypeHeaderCode #include <kselect.h> @@ -32,7 +32,7 @@ class KXYSelector : QWidget public: - KXYSelector (QWidget* /TransferThis/ = 0, const char* = 0); + KXYSelector (TQWidget* /TransferThis/ = 0, const char* = 0); void setValues (int, int); %If ( KDE_3_3_0 - ) @@ -43,20 +43,20 @@ public: void setRange (int, int, int, int); int xValue (); int yValue (); - QRect contentsRect () const; + TQRect contentsRect () const; signals: void valueChanged (int, int); protected: - virtual void drawContents (QPainter*); - virtual void drawCursor (QPainter*, int, int); - virtual void paintEvent (QPaintEvent*); - virtual void mousePressEvent (QMouseEvent*); - virtual void mouseMoveEvent (QMouseEvent*); + virtual void drawContents (TQPainter*); + virtual void drawCursor (TQPainter*, int, int); + virtual void paintEvent (TQPaintEvent*); + virtual void mousePressEvent (TQMouseEvent*); + virtual void mouseMoveEvent (TQMouseEvent*); %If ( KDE_3_2_0 - ) - virtual void wheelEvent (QWheelEvent*); + virtual void wheelEvent (TQWheelEvent*); void valuesFromPosition (int, int, int&, int&) const; %End @@ -67,7 +67,7 @@ protected: }; // class KXYSelector -class KSelector : QWidget, QRangeControl +class KSelector : TQWidget, TQRangeControl { %TypeHeaderCode #include <kselect.h> @@ -75,10 +75,10 @@ class KSelector : QWidget, QRangeControl public: - KSelector (QWidget* /TransferThis/ = 0, const char* = 0); - KSelector (Orientation, QWidget* /TransferThis/ = 0, const char* = 0); + KSelector (TQWidget* /TransferThis/ = 0, const char* = 0); + KSelector (Orientation, TQWidget* /TransferThis/ = 0, const char* = 0); Orientation orientation () const; - QRect contentsRect () const; + TQRect contentsRect () const; void setIndent (bool); bool indent () const; void setValue (int); @@ -92,15 +92,15 @@ signals: void valueChanged (int); protected: - virtual void drawContents (QPainter*); - virtual void drawArrow (QPainter*, bool, const QPoint&); + virtual void drawContents (TQPainter*); + virtual void drawArrow (TQPainter*, bool, const TQPoint&); virtual void valueChange (); - virtual void paintEvent (QPaintEvent*); - virtual void mousePressEvent (QMouseEvent*); - virtual void mouseMoveEvent (QMouseEvent*); + virtual void paintEvent (TQPaintEvent*); + virtual void mousePressEvent (TQMouseEvent*); + virtual void mouseMoveEvent (TQMouseEvent*); %If ( KDE_3_2_0 - ) - virtual void wheelEvent (QWheelEvent*); + virtual void wheelEvent (TQWheelEvent*); %End @@ -118,22 +118,22 @@ class KGradientSelector : KSelector public: - KGradientSelector (QWidget* /TransferThis/ = 0, const char* = 0); - KGradientSelector (Orientation, QWidget* /TransferThis/ = 0, const char* = 0); - void setColors (const QColor&, const QColor&); - void setText (const QString&, const QString&); - void setFirstColor (const QColor&); - void setSecondColor (const QColor&); - void setFirstText (const QString&); - void setSecondText (const QString&); - const QColor firstColor () const; - const QColor secondColor () const; - const QString firstText () const; - const QString secondText () const; + KGradientSelector (TQWidget* /TransferThis/ = 0, const char* = 0); + KGradientSelector (Orientation, TQWidget* /TransferThis/ = 0, const char* = 0); + void setColors (const TQColor&, const TQColor&); + void setText (const TQString&, const TQString&); + void setFirstColor (const TQColor&); + void setSecondColor (const TQColor&); + void setFirstText (const TQString&); + void setSecondText (const TQString&); + const TQColor firstColor () const; + const TQColor secondColor () const; + const TQString firstText () const; + const TQString secondText () const; protected: - virtual void drawContents (QPainter*); - virtual QSize minimumSize () const; + virtual void drawContents (TQPainter*); + virtual TQSize minimumSize () const; protected: //igx virtual void virtual_hook (int, void*); diff --git a/sip/tdeui/kseparator.sip b/sip/tdeui/kseparator.sip index 1c2425d..c0b0ee0 100644 --- a/sip/tdeui/kseparator.sip +++ b/sip/tdeui/kseparator.sip @@ -24,7 +24,7 @@ // 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. -class KSeparator : QFrame +class KSeparator : TQFrame { %TypeHeaderCode #include <kseparator.h> @@ -32,14 +32,14 @@ class KSeparator : QFrame public: - KSeparator (QWidget* /TransferThis/ = 0, const char* = 0, WFlags = 0); - KSeparator (int, QWidget* /TransferThis/ = 0, const char* = 0, WFlags = 0); + KSeparator (TQWidget* /TransferThis/ = 0, const char* = 0, WFlags = 0); + KSeparator (int, TQWidget* /TransferThis/ = 0, const char* = 0, WFlags = 0); int orientation () const; void setOrientation (int); - virtual QSize sizeHint () const; + virtual TQSize sizeHint () const; protected: - virtual void drawFrame (QPainter*); + virtual void drawFrame (TQPainter*); protected: //igx virtual void virtual_hook (int, void*); diff --git a/sip/tdeui/ksharedpixmap.sip b/sip/tdeui/ksharedpixmap.sip index 003873f..1ffec51 100644 --- a/sip/tdeui/ksharedpixmap.sip +++ b/sip/tdeui/ksharedpixmap.sip @@ -24,7 +24,7 @@ // 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. -class KSharedPixmap : QWidget, KPixmap +class KSharedPixmap : TQWidget, KPixmap { %TypeHeaderCode #include <qwidget.h> @@ -39,8 +39,8 @@ public: KSharedPixmap (); %If ( KDE_3_1_2 - ) - bool loadFromShared (const QString&, const QRect& = QRect ()); - bool isAvailable (const QString&) const; + bool loadFromShared (const TQString&, const TQRect& = TQRect ()); + bool isAvailable (const TQString&) const; %End @@ -53,8 +53,8 @@ protected: public: %If ( - KDE_3_1_2 ) - bool loadFromShared (QString, QRect = QRect ()); - bool isAvailable (QString); + bool loadFromShared (TQString, TQRect = TQRect ()); + bool isAvailable (TQString); %End diff --git a/sip/tdeui/kshortcutdialog.sip b/sip/tdeui/kshortcutdialog.sip index d671f91..a244150 100644 --- a/sip/tdeui/kshortcutdialog.sip +++ b/sip/tdeui/kshortcutdialog.sip @@ -34,7 +34,7 @@ class KShortcutDialog : KDialogBase public: - KShortcutDialog (const KShortcut&, bool, QWidget* /TransferThis/ = 0, const char* = 0); + KShortcutDialog (const KShortcut&, bool, TQWidget* /TransferThis/ = 0, const char* = 0); void setShortcut (const KShortcut&); const KShortcut& shortcut () const; diff --git a/sip/tdeui/ksplashscreen.sip b/sip/tdeui/ksplashscreen.sip index 351fc73..aa16c59 100644 --- a/sip/tdeui/ksplashscreen.sip +++ b/sip/tdeui/ksplashscreen.sip @@ -26,7 +26,7 @@ %If ( KDE_3_2_0 - ) -class KSplashScreen : QSplashScreen +class KSplashScreen : TQSplashScreen { %TypeHeaderCode #include <ksplashscreen.h> @@ -34,7 +34,7 @@ class KSplashScreen : QSplashScreen public: - KSplashScreen (const QPixmap&, WFlags = 0); + KSplashScreen (const TQPixmap&, WFlags = 0); }; // class KSplashScreen diff --git a/sip/tdeui/ksqueezedtextlabel.sip b/sip/tdeui/ksqueezedtextlabel.sip index c983d19..bbac4f2 100644 --- a/sip/tdeui/ksqueezedtextlabel.sip +++ b/sip/tdeui/ksqueezedtextlabel.sip @@ -24,7 +24,7 @@ // 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. -class KSqueezedTextLabel : QLabel +class KSqueezedTextLabel : TQLabel { %TypeHeaderCode #include <ksqueezedtextlabel.h> @@ -32,12 +32,12 @@ class KSqueezedTextLabel : QLabel public: - KSqueezedTextLabel (QWidget* /TransferThis/, const char* = 0); - KSqueezedTextLabel (const QString&, QWidget* /TransferThis/, const char* = 0); - virtual QSize minimumSizeHint () const; + KSqueezedTextLabel (TQWidget* /TransferThis/, const char* = 0); + KSqueezedTextLabel (const TQString&, TQWidget* /TransferThis/, const char* = 0); + virtual TQSize minimumSizeHint () const; %If ( KDE_3_3_0 - ) - virtual QSize sizeHint () const; + virtual TQSize sizeHint () const; %If ( KDE_3_4_0 - ) virtual void setAlignment (int); @@ -47,10 +47,10 @@ public: public slots: - void setText (const QString&); + void setText (const TQString&); protected: - void resizeEvent (QResizeEvent*); + void resizeEvent (TQResizeEvent*); void squeezeTextToLabel (); protected: diff --git a/sip/tdeui/kstatusbar.sip b/sip/tdeui/kstatusbar.sip index 9d12f75..b9fab50 100644 --- a/sip/tdeui/kstatusbar.sip +++ b/sip/tdeui/kstatusbar.sip @@ -24,7 +24,7 @@ // 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. -class KStatusBarLabel : QLabel +class KStatusBarLabel : TQLabel { %TypeHeaderCode #include <kstatusbar.h> @@ -32,11 +32,11 @@ class KStatusBarLabel : QLabel public: - KStatusBarLabel (const QString&, int, KStatusBar* /TransferThis/ = 0, const char* = 0); + KStatusBarLabel (const TQString&, int, KStatusBar* /TransferThis/ = 0, const char* = 0); protected: - void mousePressEvent (QMouseEvent*); - void mouseReleaseEvent (QMouseEvent*); + void mousePressEvent (TQMouseEvent*); + void mouseReleaseEvent (TQMouseEvent*); signals: void itemPressed (int); @@ -45,7 +45,7 @@ signals: }; // class KStatusBarLabel -class KStatusBar : QStatusBar +class KStatusBar : TQStatusBar { %TypeHeaderCode #include <kstatusbar.h> @@ -61,16 +61,16 @@ public: Hide }; - KStatusBar (QWidget* /TransferThis/ = 0, const char* = 0); - void insertItem (const QString&, int, int = 0, bool = 0); - void insertFixedItem (const QString&, int, bool = 0); + KStatusBar (TQWidget* /TransferThis/ = 0, const char* = 0); + void insertItem (const TQString&, int, int = 0, bool = 0); + void insertFixedItem (const TQString&, int, bool = 0); void removeItem (int); %If ( KDE_3_2_0 - ) bool hasItem (int) const; %End - void changeItem (const QString&, int); + void changeItem (const TQString&, int); void setItemAlignment (int, int); void setItemFixed (int, int = -1); diff --git a/sip/tdeui/kstdaction.sip b/sip/tdeui/kstdaction.sip index 8ba3428..a96be92 100644 --- a/sip/tdeui/kstdaction.sip +++ b/sip/tdeui/kstdaction.sip @@ -101,7 +101,7 @@ KAction* create (KStdAction::StdAction, const char*, SIP_RXOBJ_CON, const char* name (KStdAction::StdAction); %If ( KDE_3_1_0 - ) -QStringList stdNames (); +TQStringList stdNames (); %End KAction* openNew (SIP_RXOBJ_CON, SIP_SLOT_CON (), KActionCollection* /Transfer/, const char* = 0); @@ -164,7 +164,7 @@ KToggleToolBarAction* showToolbar (const char*, KActionCollection* /Transfer/, c KToggleAction* showStatusbar (SIP_RXOBJ_CON, SIP_SLOT_CON (), KActionCollection* /Transfer/, const char* = 0); %If ( KDE_3_2_0 - ) -KToggleFullScreenAction* fullScreen (SIP_RXOBJ_CON, SIP_SLOT_CON (), KActionCollection*, QWidget*, const char* = 0); +KToggleFullScreenAction* fullScreen (SIP_RXOBJ_CON, SIP_SLOT_CON (), KActionCollection*, TQWidget*, const char* = 0); %End KAction* saveOptions (SIP_RXOBJ_CON, SIP_SLOT_CON (), KActionCollection* /Transfer/, const char* = 0); diff --git a/sip/tdeui/kstdguiitem.sip b/sip/tdeui/kstdguiitem.sip index 7a26b12..eb9d550 100644 --- a/sip/tdeui/kstdguiitem.sip +++ b/sip/tdeui/kstdguiitem.sip @@ -80,7 +80,7 @@ public: %End static KGuiItem guiItem (KStdGuiItem::StdItem); - static QString stdItem (KStdGuiItem::StdItem); + static TQString stdItem (KStdGuiItem::StdItem); static KGuiItem ok (); static KGuiItem cancel (); static KGuiItem yes (); @@ -134,7 +134,7 @@ public: static KGuiItem configure (); %End - static QPair<KGuiItem,KGuiItem> backAndForward (); + static TQPair<KGuiItem,KGuiItem> backAndForward (); %If ( KDE_3_2_0 - ) static KGuiItem quit (); @@ -287,7 +287,7 @@ public: -%MappedType QPair<KGuiItem,KGuiItem> +%MappedType TQPair<KGuiItem,KGuiItem> //converts a Python tuple (KGuiItem,KGuiItem) { %TypeHeaderCode @@ -303,7 +303,7 @@ public: if ((pytuple = PyTuple_New(0)) == NULL) return NULL; - QPair<KGuiItem,KGuiItem> *cpp = (QPair<KGuiItem,KGuiItem> *)sipCpp; + TQPair<KGuiItem,KGuiItem> *cpp = (TQPair<KGuiItem,KGuiItem> *)sipCpp; PyObject *inst = NULL; // Get it. @@ -341,7 +341,7 @@ public: return 0; } - *sipCppPtr = new QPair<KGuiItem, KGuiItem> (*g1, *g2); + *sipCppPtr = new TQPair<KGuiItem, KGuiItem> (*g1, *g2); return 1; %End diff --git a/sip/tdeui/kstringvalidator.sip b/sip/tdeui/kstringvalidator.sip index b917566..9f03da7 100644 --- a/sip/tdeui/kstringvalidator.sip +++ b/sip/tdeui/kstringvalidator.sip @@ -24,7 +24,7 @@ // 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. -class KStringListValidator : QValidator +class KStringListValidator : TQValidator { %TypeHeaderCode #include <kstringvalidator.h> @@ -32,22 +32,22 @@ class KStringListValidator : QValidator public: - KStringListValidator (const QStringList& = QStringList (), bool = 1, bool = 0, QObject* /TransferThis/ = 0, const char* = 0); - virtual State validate (QString&, int&) const; - virtual void fixup (QString&) const; + KStringListValidator (const TQStringList& = TQStringList (), bool = 1, bool = 0, TQObject* /TransferThis/ = 0, const char* = 0); + virtual State validate (TQString&, int&) const; + virtual void fixup (TQString&) const; void setRejecting (bool); bool isRejecting () const; void setFixupEnabled (bool); bool isFixupEnabled () const; - void setStringList (const QStringList&); - QStringList stringList () const; + void setStringList (const TQStringList&); + TQStringList stringList () const; protected: }; // class KStringListValidator -class KMimeTypeValidator : QValidator +class KMimeTypeValidator : TQValidator { %TypeHeaderCode #include <kstringvalidator.h> @@ -55,9 +55,9 @@ class KMimeTypeValidator : QValidator public: - KMimeTypeValidator (QObject* /TransferThis/, const char* = 0); - virtual State validate (QString&, int&) const; - virtual void fixup (QString&) const; + KMimeTypeValidator (TQObject* /TransferThis/, const char* = 0); + virtual State validate (TQString&, int&) const; + virtual void fixup (TQString&) const; }; // class KMimeTypeValidator diff --git a/sip/tdeui/ksystemtray.sip b/sip/tdeui/ksystemtray.sip index 444f922..89b1081 100644 --- a/sip/tdeui/ksystemtray.sip +++ b/sip/tdeui/ksystemtray.sip @@ -24,7 +24,7 @@ // 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. -class KSystemTray : QLabel +class KSystemTray : TQLabel { %TypeHeaderCode #include <ksystemtray.h> @@ -32,18 +32,18 @@ class KSystemTray : QLabel public: - KSystemTray (QWidget* /TransferThis/ = 0, const char* = 0); + KSystemTray (TQWidget* /TransferThis/ = 0, const char* = 0); %If ( KDE_3_2_0 - ) KPopupMenu* contextMenu () const; KActionCollection* actionCollection (); %If ( KDE_3_4_0 - ) - virtual void setPixmap (const QPixmap&); - virtual void setCaption (const QString&); + virtual void setPixmap (const TQPixmap&); + virtual void setCaption (const TQString&); %End - static QPixmap loadIcon (const QString&, KInstance* = KGlobal ::instance ()); + static TQPixmap loadIcon (const TQString&, KInstance* = KGlobal ::instance ()); %End @@ -64,11 +64,11 @@ public slots: protected: - void mousePressEvent (QMouseEvent*); - void mouseReleaseEvent (QMouseEvent*); + void mousePressEvent (TQMouseEvent*); + void mouseReleaseEvent (TQMouseEvent*); virtual void contextMenuAboutToShow (KPopupMenu*); - void showEvent (QShowEvent*); - void enterEvent (QEvent*); + void showEvent (TQShowEvent*); + void enterEvent (TQEvent*); protected: //igx virtual void virtual_hook (int, void*); diff --git a/sip/tdeui/ktabbar.sip b/sip/tdeui/ktabbar.sip index 27ed2b7..f271afc 100644 --- a/sip/tdeui/ktabbar.sip +++ b/sip/tdeui/ktabbar.sip @@ -26,7 +26,7 @@ %If ( KDE_3_2_0 - ) -class KTabBar : QTabBar +class KTabBar : TQTabBar { %TypeHeaderCode #include <ktabbar.h> @@ -34,16 +34,16 @@ class KTabBar : QTabBar public: - KTabBar (QWidget* /TransferThis/ = 0, const char* = 0); + KTabBar (TQWidget* /TransferThis/ = 0, const char* = 0); virtual void setTabEnabled (int, bool); - const QColor& tabColor (int) const; - void setTabColor (int, const QColor&); + const TQColor& tabColor (int) const; + void setTabColor (int, const TQColor&); %If ( KDE_3_3_0 - ) - virtual int insertTab (QTab*, int = -1); + virtual int insertTab (TQTab*, int = -1); %End - virtual void removeTab (QTab*); + virtual void removeTab (TQTab*); void setTabReorderingEnabled (bool); bool isTabReorderingEnabled () const; void setHoverCloseButton (bool); @@ -58,12 +58,12 @@ public: signals: - void contextMenu (int, const QPoint&); + void contextMenu (int, const TQPoint&); void mouseDoubleClick (int); void mouseMiddleClick (int); void initiateDrag (int); -//ig void testCanDecode (const QDragMoveEvent*, bool&); - void receivedDropEvent (int, QDropEvent*); +//ig void testCanDecode (const TQDragMoveEvent*, bool&); + void receivedDropEvent (int, TQDropEvent*); void moveTab (int, int); void closeRequest (int); @@ -73,18 +73,18 @@ signals: protected: - virtual void mouseDoubleClickEvent (QMouseEvent*); - virtual void mousePressEvent (QMouseEvent*); - virtual void mouseMoveEvent (QMouseEvent*); - virtual void mouseReleaseEvent (QMouseEvent*); + virtual void mouseDoubleClickEvent (TQMouseEvent*); + virtual void mousePressEvent (TQMouseEvent*); + virtual void mouseMoveEvent (TQMouseEvent*); + virtual void mouseReleaseEvent (TQMouseEvent*); %If ( KDE_3_3_0 - ) - virtual void wheelEvent (QWheelEvent*); + virtual void wheelEvent (TQWheelEvent*); %End - virtual void dragMoveEvent (QDragMoveEvent*); - virtual void dropEvent (QDropEvent*); - virtual void paintLabel (QPainter*, const QRect&, QTab*, bool) const; + virtual void dragMoveEvent (TQDragMoveEvent*); + virtual void dropEvent (TQDropEvent*); + virtual void paintLabel (TQPainter*, const TQRect&, TQTab*, bool) const; protected slots: virtual void closeButtonClicked (); diff --git a/sip/tdeui/ktabctl.sip b/sip/tdeui/ktabctl.sip index 26bdfa9..1ab1c5f 100644 --- a/sip/tdeui/ktabctl.sip +++ b/sip/tdeui/ktabctl.sip @@ -24,7 +24,7 @@ // 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. -class KTabCtl : QWidget +class KTabCtl : TQWidget { %TypeHeaderCode #include <ktabctl.h> @@ -32,20 +32,20 @@ class KTabCtl : QWidget public: - KTabCtl (QWidget* /TransferThis/ = 0, const char* = 0); + KTabCtl (TQWidget* /TransferThis/ = 0, const char* = 0); void show (); - void setFont (const QFont&); - void setTabFont (const QFont&); - void addTab (QWidget*, const QString&); - bool isTabEnabled (const QString&); - void setTabEnabled (const QString&, bool); + void setFont (const TQFont&); + void setTabFont (const TQFont&); + void addTab (TQWidget*, const TQString&); + bool isTabEnabled (const TQString&); + void setTabEnabled (const TQString&, bool); void setBorder (bool); - void setShape (QTabBar::Shape); - virtual QSize sizeHint () const; + void setShape (TQTabBar::Shape); + virtual TQSize sizeHint () const; protected: - void paintEvent (QPaintEvent*); - void resizeEvent (QResizeEvent*); + void paintEvent (TQPaintEvent*); + void resizeEvent (TQResizeEvent*); signals: void tabSelected (int); @@ -55,7 +55,7 @@ protected slots: protected: void setSizes (); - QRect getChildRect () const; + TQRect getChildRect () const; protected: //igx virtual void virtual_hook (int, void*); diff --git a/sip/tdeui/ktabwidget.sip b/sip/tdeui/ktabwidget.sip index e828e7b..5feeccd 100644 --- a/sip/tdeui/ktabwidget.sip +++ b/sip/tdeui/ktabwidget.sip @@ -26,7 +26,7 @@ %If ( KDE_3_2_0 - ) -class KTabWidget : QTabWidget +class KTabWidget : TQTabWidget { %TypeHeaderCode #include <ktabwidget.h> @@ -34,9 +34,9 @@ class KTabWidget : QTabWidget public: - KTabWidget (QWidget* /TransferThis/ = 0, const char* = 0, WFlags = 0); - void setTabColor (QWidget*, const QColor&); - QColor tabColor (QWidget*) const; + KTabWidget (TQWidget* /TransferThis/ = 0, const char* = 0, WFlags = 0); + void setTabColor (TQWidget*, const TQColor&); + TQColor tabColor (TQWidget*) const; bool isTabReorderingEnabled () const; bool hoverCloseButton () const; bool hoverCloseButtonDelayed () const; @@ -48,14 +48,14 @@ public: bool automaticResizeTabs () const; void setTabBarHidden (bool); bool isTabBarHidden () const; - virtual void insertTab (QWidget*, const QString&, int = -1); - virtual void insertTab (QWidget*, const QIconSet&, const QString&, int = -1); - virtual void insertTab (QWidget*, QTab*, int = -1); - void changeTab (QWidget*, const QString&); - void changeTab (QWidget*, const QIconSet&, const QString&); - QString label (int) const; - QString tabLabel (QWidget*) const; - void setTabLabel (QWidget*, const QString&); + virtual void insertTab (TQWidget*, const TQString&, int = -1); + virtual void insertTab (TQWidget*, const TQIconSet&, const TQString&, int = -1); + virtual void insertTab (TQWidget*, TQTab*, int = -1); + void changeTab (TQWidget*, const TQString&); + void changeTab (TQWidget*, const TQIconSet&, const TQString&); + TQString label (int) const; + TQString tabLabel (TQWidget*) const; + void setTabLabel (TQWidget*, const TQString&); %End %End @@ -65,7 +65,7 @@ public slots: virtual void moveTab (int, int); %If ( KDE_3_4_0 - ) - virtual void removePage (QWidget*); + virtual void removePage (TQWidget*); %End void setTabReorderingEnabled (bool); @@ -83,32 +83,32 @@ public slots: signals: -//ig void testCanDecode (const QDragMoveEvent*, bool&); - void receivedDropEvent (QDropEvent*); - void receivedDropEvent (QWidget*, QDropEvent*); - void initiateDrag (QWidget*); -//ig void contextMenu (const QPoint&); - void contextMenu (QWidget*, const QPoint&); +//ig void testCanDecode (const TQDragMoveEvent*, bool&); + void receivedDropEvent (TQDropEvent*); + void receivedDropEvent (TQWidget*, TQDropEvent*); + void initiateDrag (TQWidget*); +//ig void contextMenu (const TQPoint&); + void contextMenu (TQWidget*, const TQPoint&); void movedTab (int, int); %If ( KDE_3_3_0 - ) void mouseDoubleClick (); %End - void mouseDoubleClick (QWidget*); + void mouseDoubleClick (TQWidget*); void mouseMiddleClick (); - void mouseMiddleClick (QWidget*); - void closeRequest (QWidget*); + void mouseMiddleClick (TQWidget*); + void closeRequest (TQWidget*); protected: %If ( KDE_3_3_0 - ) - virtual void mouseDoubleClickEvent (QMouseEvent*); + virtual void mouseDoubleClickEvent (TQMouseEvent*); %End - virtual void mousePressEvent (QMouseEvent*); - virtual void dragMoveEvent (QDragMoveEvent*); - virtual void dropEvent (QDropEvent*); + virtual void mousePressEvent (TQMouseEvent*); + virtual void dragMoveEvent (TQDragMoveEvent*); + virtual void dropEvent (TQDropEvent*); %If ( KDE_3_4_0 - ) uint tabBarWidthForMaxChars (uint); @@ -116,19 +116,19 @@ protected: %If ( KDE_3_3_0 - ) - virtual void wheelEvent (QWheelEvent*); + virtual void wheelEvent (TQWheelEvent*); %If ( KDE_3_4_0 - ) - virtual void resizeEvent (QResizeEvent*); + virtual void resizeEvent (TQResizeEvent*); %End %End protected slots: -//ig virtual void receivedDropEvent (int, QDropEvent*); +//ig virtual void receivedDropEvent (int, TQDropEvent*); //ig virtual void initiateDrag (int); -//ig virtual void contextMenu (int, const QPoint&); +//ig virtual void contextMenu (int, const TQPoint&); //ig virtual void mouseDoubleClick (int); //ig virtual void mouseMiddleClick (int); //ig virtual void closeRequest (int); diff --git a/sip/tdeui/ktextbrowser.sip b/sip/tdeui/ktextbrowser.sip index 91a1fc3..acc922e 100644 --- a/sip/tdeui/ktextbrowser.sip +++ b/sip/tdeui/ktextbrowser.sip @@ -24,7 +24,7 @@ // 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. -class KTextBrowser : QTextBrowser +class KTextBrowser : TQTextBrowser { %TypeHeaderCode #include <ktextbrowser.h> @@ -32,24 +32,24 @@ class KTextBrowser : QTextBrowser public: - KTextBrowser (QWidget* /TransferThis/ = 0, const char* = 0, bool = 0); + KTextBrowser (TQWidget* /TransferThis/ = 0, const char* = 0, bool = 0); void setNotifyClick (bool); bool isNotifyClick () const; protected: - void setSource (const QString&); - virtual void keyPressEvent (QKeyEvent*); - virtual void viewportMouseMoveEvent (QMouseEvent*); - virtual void contentsWheelEvent (QWheelEvent*); + void setSource (const TQString&); + virtual void keyPressEvent (TQKeyEvent*); + virtual void viewportMouseMoveEvent (TQMouseEvent*); + virtual void contentsWheelEvent (TQWheelEvent*); %If ( KDE_3_3_0 - ) - virtual QPopupMenu* createPopupMenu (const QPoint&); + virtual TQPopupMenu* createPopupMenu (const TQPoint&); %End signals: - void mailClick (const QString&, const QString&); - void urlClick (const QString&); + void mailClick (const TQString&, const TQString&); + void urlClick (const TQString&); protected: //igx virtual void virtual_hook (int, void*); diff --git a/sip/tdeui/ktextedit.sip b/sip/tdeui/ktextedit.sip index e85bcff..7f9b60c 100644 --- a/sip/tdeui/ktextedit.sip +++ b/sip/tdeui/ktextedit.sip @@ -26,7 +26,7 @@ %If ( KDE_3_1_0 - ) -class KTextEdit : QTextEdit +class KTextEdit : TQTextEdit { %TypeHeaderCode #include <ktextedit.h> @@ -34,12 +34,12 @@ class KTextEdit : QTextEdit public: - KTextEdit (const QString&, const QString& = QString ::null , QWidget* /TransferThis/ = 0, const char* = 0); - KTextEdit (QWidget* /TransferThis/ = 0, const char* = 0); + KTextEdit (const TQString&, const TQString& = TQString ::null , TQWidget* /TransferThis/ = 0, const char* = 0); + KTextEdit (TQWidget* /TransferThis/ = 0, const char* = 0); virtual void setReadOnly (bool); %If ( KDE_3_1_1 - ) - virtual void setPalette (const QPalette&); + virtual void setPalette (const TQPalette&); %If ( KDE_3_2_0 - ) void setCheckSpellingEnabled (bool); @@ -58,19 +58,19 @@ public slots: protected: - virtual void keyPressEvent (QKeyEvent*); + virtual void keyPressEvent (TQKeyEvent*); %If ( KDE_3_2_0 - ) - virtual void focusInEvent (QFocusEvent*); + virtual void focusInEvent (TQFocusEvent*); %End - virtual void contentsWheelEvent (QWheelEvent*); + virtual void contentsWheelEvent (TQWheelEvent*); virtual void deleteWordBack (); virtual void deleteWordForward (); %If ( KDE_3_2_0 - ) - virtual QPopupMenu* createPopupMenu (const QPoint&); - virtual QPopupMenu* createPopupMenu (); + virtual TQPopupMenu* createPopupMenu (const TQPoint&); + virtual TQPopupMenu* createPopupMenu (); %End diff --git a/sip/tdeui/kthemebase.sip b/sip/tdeui/kthemebase.sip index 6909d32..0a1db3f 100644 --- a/sip/tdeui/kthemebase.sip +++ b/sip/tdeui/kthemebase.sip @@ -47,8 +47,8 @@ public: KThemePixmap (bool = 1); KThemePixmap (const KThemePixmap&); - QPixmap* border (KThemePixmap::BorderType); - void setBorder (KThemePixmap::BorderType, const QPixmap&); + TQPixmap* border (KThemePixmap::BorderType); + void setBorder (KThemePixmap::BorderType, const TQPixmap&); void updateAccessed (); bool isOld (); @@ -57,7 +57,7 @@ protected: }; // class KThemePixmap -class KThemeCache : QObject +class KThemeCache : TQObject { %TypeHeaderCode #include <kthemebase.h> @@ -73,7 +73,7 @@ public: VerticalScale }; - KThemeCache (int, QObject*/TransferThis/ = 0, const char* = 0); + KThemeCache (int, TQObject*/TransferThis/ = 0, const char* = 0); bool insert (KThemePixmap*, KThemeCache::ScaleHint, int, bool = 0, bool = 0); KThemePixmap* pixmap (int, int, int, bool = 0, bool = 0); KThemePixmap* horizontalPixmap (int, int); @@ -95,7 +95,7 @@ class KThemeBase : KStyle public: - KThemeBase (const QString&); + KThemeBase (const TQString&); enum ScaleHint { @@ -204,8 +204,8 @@ public: ScaleHint scaleHint (KThemeBase::WidgetType) const; Gradient gradientHint (KThemeBase::WidgetType) const; - const QColorGroup* colorGroup (const QColorGroup&, KThemeBase::WidgetType) const; - QBrush pixmapBrush (const QColorGroup&, QColorGroup::ColorRole, int, int, KThemeBase::WidgetType); + const TQColorGroup* colorGroup (const TQColorGroup&, KThemeBase::WidgetType) const; + TQBrush pixmapBrush (const TQColorGroup&, TQColorGroup::ColorRole, int, int, KThemeBase::WidgetType); bool isPixmap (KThemeBase::WidgetType) const; bool isColor (KThemeBase::WidgetType) const; bool is3DFocus () const; @@ -232,16 +232,16 @@ public: bool inactiveTabLine () const; KThemePixmap* uncached (KThemeBase::WidgetType) const; virtual KThemePixmap* scalePixmap (int, int, KThemeBase::WidgetType); - static void applyConfigFile (const QString&); + static void applyConfigFile (const TQString&); protected: - QImage* image (KThemeBase::WidgetType) const; - QColor* gradientHigh (KThemeBase::WidgetType) const; - QColor* gradientLow (KThemeBase::WidgetType) const; - void readConfig (Qt::GUIStyle = Qt::WindowsStyle); -//ig void readWidgetConfig (int, KConfig*, QString*, QString*, bool*); - void copyWidgetConfig (int, int, QString*, QString*); - QColorGroup* makeColorGroup (QColor&, QColor&, Qt::GUIStyle = Qt::WindowsStyle); + TQImage* image (KThemeBase::WidgetType) const; + TQColor* gradientHigh (KThemeBase::WidgetType) const; + TQColor* gradientLow (KThemeBase::WidgetType) const; + void readConfig (TQt::GUIStyle = TQt::WindowsStyle); +//ig void readWidgetConfig (int, KConfig*, TQString*, TQString*, bool*); + void copyWidgetConfig (int, int, TQString*, TQString*); + TQColorGroup* makeColorGroup (TQColor&, TQColor&, TQt::GUIStyle = TQt::WindowsStyle); KThemePixmap* scale (int, int, KThemeBase::WidgetType); KThemePixmap* scaleBorder (int, int, KThemeBase::WidgetType); KThemePixmap* gradient (int, int, KThemeBase::WidgetType); @@ -249,10 +249,10 @@ protected: void generateBorderPix (int); void applyResourceGroup (KConfig*, int); void applyMiscResourceGroup (KConfig*); - void readResourceGroup (int, QString*, QString*, bool*); + void readResourceGroup (int, TQString*, TQString*, bool*); void readMiscResourceGroup (); - KThemePixmap* loadPixmap (QString&); - QImage* loadImage (QString&); + KThemePixmap* loadPixmap (TQString&); + TQImage* loadImage (TQString&); }; // class KThemeBase diff --git a/sip/tdeui/kthemestyle.sip b/sip/tdeui/kthemestyle.sip index 6521f00..d554b06 100644 --- a/sip/tdeui/kthemestyle.sip +++ b/sip/tdeui/kthemestyle.sip @@ -32,56 +32,56 @@ class KThemeStyle : KThemeBase public: - KThemeStyle (const QString& = QString::null); - virtual void polish (QWidget*); - virtual void unPolish (QWidget*); - virtual void polish (QApplication*); - virtual void unPolish (QApplication*); - virtual void polish (QPalette&); - virtual void drawBaseButton (QPainter*, int, int, int, int, const QColorGroup&, bool = 0, bool = 0, WidgetType = Bevel, const QBrush* = 0); - virtual void drawBaseMask (QPainter*, int, int, int, int, bool); - virtual void drawButton (QPainter*, int, int, int, int, const QColorGroup&, bool = 0, const QBrush* = 0); - virtual void drawBevelButton (QPainter*, int, int, int, int, const QColorGroup&, bool = 0, const QBrush* = 0); - virtual void drawKToolBarButton (QPainter*, int, int, int, int, const QColorGroup&, bool = 0, bool = 1, bool = 1, bool = 0, KToolButtonType = Icon, const QString& = QString::null, const QPixmap* = 0, QFont* = 0, QWidget* = 0); - void drawKBarHandle (QPainter*, int, int, int, int, const QColorGroup&, KToolBarPos, QBrush* = 0); - void drawKToolBar (QPainter*, int, int, int, int, const QColorGroup&, KToolBarPos, QBrush* = 0); - virtual QRect buttonRect (int, int, int, int); - virtual void drawArrow (QPainter*, Qt::ArrowType, bool, int, int, int, int, const QColorGroup&, bool = 1, const QBrush* = 0); - virtual QSize exclusiveIndicatorSize () const; - virtual void drawExclusiveIndicator (QPainter*, int, int, int, int, const QColorGroup&, bool, bool = 0, bool = 1); - virtual void drawExclusiveIndicatorMask (QPainter*, int, int, int, int, bool); - virtual void drawIndicatorMask (QPainter*, int, int, int, int, int); - virtual void drawButtonMask (QPainter*, int, int, int, int); - virtual void drawComboButtonMask (QPainter*, int, int, int, int); - virtual QSize indicatorSize () const; - virtual void drawIndicator (QPainter*, int, int, int, int, const QColorGroup&, int, bool = 0, bool = 1); - virtual void drawComboButton (QPainter*, int, int, int, int, const QColorGroup&, bool = 0, bool = 0, bool = 1, const QBrush* = 0); - virtual void drawPushButton (QPushButton*, QPainter*); + KThemeStyle (const TQString& = TQString::null); + virtual void polish (TQWidget*); + virtual void unPolish (TQWidget*); + virtual void polish (TQApplication*); + virtual void unPolish (TQApplication*); + virtual void polish (TQPalette&); + virtual void drawBaseButton (TQPainter*, int, int, int, int, const TQColorGroup&, bool = 0, bool = 0, WidgetType = Bevel, const TQBrush* = 0); + virtual void drawBaseMask (TQPainter*, int, int, int, int, bool); + virtual void drawButton (TQPainter*, int, int, int, int, const TQColorGroup&, bool = 0, const TQBrush* = 0); + virtual void drawBevelButton (TQPainter*, int, int, int, int, const TQColorGroup&, bool = 0, const TQBrush* = 0); + virtual void drawKToolBarButton (TQPainter*, int, int, int, int, const TQColorGroup&, bool = 0, bool = 1, bool = 1, bool = 0, KToolButtonType = Icon, const TQString& = TQString::null, const TQPixmap* = 0, TQFont* = 0, TQWidget* = 0); + void drawKBarHandle (TQPainter*, int, int, int, int, const TQColorGroup&, KToolBarPos, TQBrush* = 0); + void drawKToolBar (TQPainter*, int, int, int, int, const TQColorGroup&, KToolBarPos, TQBrush* = 0); + virtual TQRect buttonRect (int, int, int, int); + virtual void drawArrow (TQPainter*, TQt::ArrowType, bool, int, int, int, int, const TQColorGroup&, bool = 1, const TQBrush* = 0); + virtual TQSize exclusiveIndicatorSize () const; + virtual void drawExclusiveIndicator (TQPainter*, int, int, int, int, const TQColorGroup&, bool, bool = 0, bool = 1); + virtual void drawExclusiveIndicatorMask (TQPainter*, int, int, int, int, bool); + virtual void drawIndicatorMask (TQPainter*, int, int, int, int, int); + virtual void drawButtonMask (TQPainter*, int, int, int, int); + virtual void drawComboButtonMask (TQPainter*, int, int, int, int); + virtual TQSize indicatorSize () const; + virtual void drawIndicator (TQPainter*, int, int, int, int, const TQColorGroup&, int, bool = 0, bool = 1); + virtual void drawComboButton (TQPainter*, int, int, int, int, const TQColorGroup&, bool = 0, bool = 0, bool = 1, const TQBrush* = 0); + virtual void drawPushButton (TQPushButton*, TQPainter*); //ig virtual void getButtonShift (int&, int&); virtual int defaultFrameWidth () const; -//ig virtual void scrollBarMetrics (const QScrollBar*, int&, int&, int&, int&); - virtual void drawScrollBarControls (QPainter*, const QScrollBar*, int, uint, uint); - virtual ScrollControl scrollBarPointOver (const QScrollBar*, int, const QPoint&); +//ig virtual void scrollBarMetrics (const TQScrollBar*, int&, int&, int&, int&); + virtual void drawScrollBarControls (TQPainter*, const TQScrollBar*, int, uint, uint); + virtual ScrollControl scrollBarPointOver (const TQScrollBar*, int, const TQPoint&); virtual int sliderLength () const; - virtual void drawSlider (QPainter*, int, int, int, int, const QColorGroup&, Orientation, bool, bool); - void drawSliderGroove (QPainter*, int, int, int, int, const QColorGroup&, QCOORD, Orientation); - virtual void drawSliderMask (QPainter*, int, int, int, int, Orientation, bool, bool); - virtual void drawScrollBarGroove (QPainter*, const QScrollBar*, bool, QRect, QColorGroup); - virtual void drawShade (QPainter*, int, int, int, int, const QColorGroup&, bool, bool, int, int, ShadeStyle); - virtual void drawPushButtonLabel (QPushButton*, QPainter*); - void drawKMenuBar (QPainter*, int, int, int, int, const QColorGroup&, bool, QBrush* = 0); -//ig virtual void drawKMenuItem (QPainter*, int, int, int, int, const QColorGroup&, bool, QMenuItem*, QBrush* = 0); + virtual void drawSlider (TQPainter*, int, int, int, int, const TQColorGroup&, Orientation, bool, bool); + void drawSliderGroove (TQPainter*, int, int, int, int, const TQColorGroup&, TQCOORD, Orientation); + virtual void drawSliderMask (TQPainter*, int, int, int, int, Orientation, bool, bool); + virtual void drawScrollBarGroove (TQPainter*, const TQScrollBar*, bool, TQRect, TQColorGroup); + virtual void drawShade (TQPainter*, int, int, int, int, const TQColorGroup&, bool, bool, int, int, ShadeStyle); + virtual void drawPushButtonLabel (TQPushButton*, TQPainter*); + void drawKMenuBar (TQPainter*, int, int, int, int, const TQColorGroup&, bool, TQBrush* = 0); +//ig virtual void drawKMenuItem (TQPainter*, int, int, int, int, const TQColorGroup&, bool, TQMenuItem*, TQBrush* = 0); virtual int splitterWidth () const; - virtual void drawSplitter (QPainter*, int, int, int, int, const QColorGroup&, Orientation); - virtual void drawCheckMark (QPainter*, int, int, int, int, const QColorGroup&, bool, bool); -//ig virtual void drawPopupMenuItem (QPainter*, bool, int, int, QMenuItem*, const QPalette&, bool, bool, int, int, int, int); -//ig int popupMenuItemHeight (bool, QMenuItem*, const QFontMetrics&); - void drawFocusRect (QPainter*, const QRect&, const QColorGroup&, const QColor* = 0, bool = 0); - virtual void drawKProgressBlock (QPainter*, int, int, int, int, const QColorGroup&, QBrush*); - virtual void getKProgressBackground (const QColorGroup&, QBrush&); -//ig virtual void tabbarMetrics (const QTabBar*, int&, int&, int&); - virtual void drawTab (QPainter*, const QTabBar*, QTab*, bool); - virtual void drawTabMask (QPainter*, const QTabBar*, QTab*, bool); + virtual void drawSplitter (TQPainter*, int, int, int, int, const TQColorGroup&, Orientation); + virtual void drawCheckMark (TQPainter*, int, int, int, int, const TQColorGroup&, bool, bool); +//ig virtual void drawPopupMenuItem (TQPainter*, bool, int, int, TQMenuItem*, const TQPalette&, bool, bool, int, int, int, int); +//ig int popupMenuItemHeight (bool, TQMenuItem*, const TQFontMetrics&); + void drawFocusRect (TQPainter*, const TQRect&, const TQColorGroup&, const TQColor* = 0, bool = 0); + virtual void drawKProgressBlock (TQPainter*, int, int, int, int, const TQColorGroup&, TQBrush*); + virtual void getKProgressBackground (const TQColorGroup&, TQBrush&); +//ig virtual void tabbarMetrics (const TQTabBar*, int&, int&, int&); + virtual void drawTab (TQPainter*, const TQTabBar*, TQTab*, bool); + virtual void drawTabMask (TQPainter*, const TQTabBar*, TQTab*, bool); protected: diff --git a/sip/tdeui/ktimewidget.sip b/sip/tdeui/ktimewidget.sip index b582698..4386f59 100644 --- a/sip/tdeui/ktimewidget.sip +++ b/sip/tdeui/ktimewidget.sip @@ -26,7 +26,7 @@ %If ( KDE_3_2_0 - ) -class KTimeWidget : QWidget +class KTimeWidget : TQWidget { %TypeHeaderCode #include <ktimewidget.h> @@ -34,15 +34,15 @@ class KTimeWidget : QWidget public: - KTimeWidget (QWidget* /TransferThis/ = 0, const char* = 0); - KTimeWidget (const QTime&, QWidget* /TransferThis/ = 0, const char* = 0); - QTime time () const; + KTimeWidget (TQWidget* /TransferThis/ = 0, const char* = 0); + KTimeWidget (const TQTime&, TQWidget* /TransferThis/ = 0, const char* = 0); + TQTime time () const; public slots: - void setTime (const QTime&); + void setTime (const TQTime&); signals: - void valueChanged (const QTime&); + void valueChanged (const TQTime&); }; // class KTimeWidget diff --git a/sip/tdeui/ktimezonewidget.sip b/sip/tdeui/ktimezonewidget.sip index fb612ee..98e8023 100644 --- a/sip/tdeui/ktimezonewidget.sip +++ b/sip/tdeui/ktimezonewidget.sip @@ -34,10 +34,10 @@ class KTimezoneWidget : KListView public: - KTimezoneWidget (QWidget* /TransferThis/ = 0, const char* = 0, KTimezones* = 0); - QStringList selection () const; - void setSelected (const QString&, bool); - static QString displayName (const KTimezone*); + KTimezoneWidget (TQWidget* /TransferThis/ = 0, const char* = 0, KTimezones* = 0); + TQStringList selection () const; + void setSelected (const TQString&, bool); + static TQString displayName (const KTimezone*); }; // class KTimezoneWidget diff --git a/sip/tdeui/ktip.sip b/sip/tdeui/ktip.sip index 82be08b..6c93bbb 100644 --- a/sip/tdeui/ktip.sip +++ b/sip/tdeui/ktip.sip @@ -32,13 +32,13 @@ class KTipDatabase public: - KTipDatabase (const QString& = QString ::null ); + KTipDatabase (const TQString& = TQString ::null ); %If ( KDE_3_2_0 - ) - KTipDatabase (const QStringList&); + KTipDatabase (const TQStringList&); %End - QString tip () const; + TQString tip () const; void nextTip (); void prevTip (); @@ -55,26 +55,26 @@ class KTipDialog : KDialog public: %If ( KDE_3_1_0 - ) - KTipDialog (KTipDatabase*, QWidget* /TransferThis/ = 0, const char* = 0); + KTipDialog (KTipDatabase*, TQWidget* /TransferThis/ = 0, const char* = 0); %End - static void showTip (QWidget* /Transfer/, const QString& = QString ::null , bool = 0); + static void showTip (TQWidget* /Transfer/, const TQString& = TQString ::null , bool = 0); %If ( KDE_3_2_0 - ) - static void showMultiTip (QWidget* /Transfer/, const QStringList&, bool = 0); + static void showMultiTip (TQWidget* /Transfer/, const TQStringList&, bool = 0); %End - static void showTip (const QString& = QString ::null , bool = 0); + static void showTip (const TQString& = TQString ::null , bool = 0); static void setShowOnStart (bool); protected: - bool eventFilter (QObject*, QEvent*); + bool eventFilter (TQObject*, TQEvent*); //igx virtual void virtual_hook (int, void*); protected: %If ( - KDE_3_1_0 ) - KTipDialog (KTipDatabase*, QWidget* /TransferThis/ = 0, const char* = 0); + KTipDialog (KTipDatabase*, TQWidget* /TransferThis/ = 0, const char* = 0); %End diff --git a/sip/tdeui/ktmainwindow.sip b/sip/tdeui/ktmainwindow.sip index 90afbab..8c6374e 100644 --- a/sip/tdeui/ktmainwindow.sip +++ b/sip/tdeui/ktmainwindow.sip @@ -33,8 +33,8 @@ class KTMainWindow : KMainWindow public: KTMainWindow (const char* = 0, WFlags = WDestructiveClose); - void setView (QWidget*, bool = 0); - QWidget* view () const; + void setView (TQWidget*, bool = 0); + TQWidget* view () const; void enableStatusBar (KStatusBar::BarStatus = KStatusBar::Toggle); void enableToolBar (KToolBar::BarStatus = KToolBar::Toggle, int = 0); void setEnableToolBar (KToolBar::BarStatus = KToolBar::Toggle, const char* = "mainToolBar"); diff --git a/sip/tdeui/ktoolbar.sip b/sip/tdeui/ktoolbar.sip index 74bdc9e..e36fe0b 100644 --- a/sip/tdeui/ktoolbar.sip +++ b/sip/tdeui/ktoolbar.sip @@ -24,7 +24,7 @@ // 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. -class KToolBarSeparator : QFrame +class KToolBarSeparator : TQFrame { %TypeHeaderCode #include <ktoolbar.h> @@ -32,27 +32,27 @@ class KToolBarSeparator : QFrame public: - KToolBarSeparator (Orientation, bool, QToolBar* /TransferThis/, const char* = 0); - QSize sizeHint () const; + KToolBarSeparator (Orientation, bool, TQToolBar* /TransferThis/, const char* = 0); + TQSize sizeHint () const; Orientation orientation () const; - QSizePolicy sizePolicy () const; + TQSizePolicy sizePolicy () const; bool showLine () const; public slots: void setOrientation (Orientation); protected: - void styleChange (QStyle&); + void styleChange (TQStyle&); %If ( KDE_3_2_0 - ) - void drawContents (QPainter*); + void drawContents (TQPainter*); %End }; // class KToolBarSeparator -class KToolBar : QToolBar +class KToolBar : TQToolBar { %TypeHeaderCode #include <ktoolbar.h> @@ -89,52 +89,52 @@ public: Flat }; - KToolBar (QWidget* /TransferThis/, const char* = 0, bool = 0, bool = 1); -//ig KToolBar (QMainWindow*, QMainWindow::ToolBarDock, bool = 0, const char* = 0, bool = 0, bool = 1); - KToolBar (QMainWindow*, QWidget*, bool = 0, const char* = 0, bool = 0, bool = 1); - int insertButton (const QString&, int, bool = 1, const QString& = QString ::null , int = -1, KInstance* = KGlobal ::instance ()); - int insertButton (const QString&, int, const char*, SIP_RXOBJ_CON, SIP_SLOT_CON (int), bool = 1, const QString& = QString ::null , int = -1, KInstance* = KGlobal ::instance ()); - int insertButton (const QPixmap&, int, bool = 1, const QString& = QString ::null , int = -1); - int insertButton (const QPixmap&, int, const char*, SIP_RXOBJ_CON, SIP_SLOT_CON (int), bool = 1, const QString& = QString ::null , int = -1); - int insertButton (const QString&, int, QPopupMenu*, bool, const QString&, int = -1); - int insertButton (const QPixmap&, int, QPopupMenu*, bool, const QString&, int = -1); - int insertLined (const QString&, int, const char*, SIP_RXOBJ_CON, SIP_SLOT_CON (int), bool = 1, const QString& = QString ::null , int = 70, int = -1); - int insertCombo (const QStringList&, int, bool, const char*, SIP_RXOBJ_CON, SIP_SLOT_CON (int), bool = 1, const QString& = QString ::null , int = 70, int = -1, QComboBox::Policy = QComboBox ::AtBottom ); + KToolBar (TQWidget* /TransferThis/, const char* = 0, bool = 0, bool = 1); +//ig KToolBar (TQMainWindow*, TQMainWindow::ToolBarDock, bool = 0, const char* = 0, bool = 0, bool = 1); + KToolBar (TQMainWindow*, TQWidget*, bool = 0, const char* = 0, bool = 0, bool = 1); + int insertButton (const TQString&, int, bool = 1, const TQString& = TQString ::null , int = -1, KInstance* = KGlobal ::instance ()); + int insertButton (const TQString&, int, const char*, SIP_RXOBJ_CON, SIP_SLOT_CON (int), bool = 1, const TQString& = TQString ::null , int = -1, KInstance* = KGlobal ::instance ()); + int insertButton (const TQPixmap&, int, bool = 1, const TQString& = TQString ::null , int = -1); + int insertButton (const TQPixmap&, int, const char*, SIP_RXOBJ_CON, SIP_SLOT_CON (int), bool = 1, const TQString& = TQString ::null , int = -1); + int insertButton (const TQString&, int, TQPopupMenu*, bool, const TQString&, int = -1); + int insertButton (const TQPixmap&, int, TQPopupMenu*, bool, const TQString&, int = -1); + int insertLined (const TQString&, int, const char*, SIP_RXOBJ_CON, SIP_SLOT_CON (int), bool = 1, const TQString& = TQString ::null , int = 70, int = -1); + int insertCombo (const TQStringList&, int, bool, const char*, SIP_RXOBJ_CON, SIP_SLOT_CON (int), bool = 1, const TQString& = TQString ::null , int = 70, int = -1, TQComboBox::Policy = TQComboBox ::AtBottom ); %If ( KDE_3_2_0 - ) - int insertCombo (const QString&, int, bool, const char*, SIP_RXOBJ_CON, SIP_SLOT_CON (), bool = 1, const QString& = QString ::null , int = 70, int = -1, QComboBox::Policy = QComboBox ::AtBottom ); + int insertCombo (const TQString&, int, bool, const char*, SIP_RXOBJ_CON, SIP_SLOT_CON (), bool = 1, const TQString& = TQString ::null , int = 70, int = -1, TQComboBox::Policy = TQComboBox ::AtBottom ); %End int insertSeparator (int, int); int insertLineSeparator (int, int); - int insertWidget (int, int, QWidget*, int = -1); - int insertAnimatedWidget (int, SIP_RXOBJ_CON, SIP_SLOT_CON (int), const QString&, int = -1); + int insertWidget (int, int, TQWidget*, int = -1); + int insertAnimatedWidget (int, SIP_RXOBJ_CON, SIP_SLOT_CON (int), const TQString&, int = -1); KAnimWidget* animatedWidget (int); void addConnection (int, const char*, SIP_RXOBJ_CON, SIP_SLOT_CON (int)); void setItemEnabled (int, bool); - void setButtonIcon (int, const QString&); - void setButtonPixmap (int, const QPixmap&); - void setButtonIconSet (int, const QIconSet&); - void setDelayedPopup (int, QPopupMenu*, bool = 0); + void setButtonIcon (int, const TQString&); + void setButtonPixmap (int, const TQPixmap&); + void setButtonIconSet (int, const TQIconSet&); + void setDelayedPopup (int, TQPopupMenu*, bool = 0); void setAutoRepeat (int, bool = 1); void setToggle (int, bool = 1); void toggleButton (int); void setButton (int, bool); bool isButtonOn (int); - void setLinedText (int, const QString&); - QString getLinedText (int); - void insertComboItem (int, const QString&, int); - void insertComboList (int, const QStringList&, int); + void setLinedText (int, const TQString&); + TQString getLinedText (int); + void insertComboItem (int, const TQString&, int); + void insertComboList (int, const TQStringList&, int); void removeComboItem (int, int); void setCurrentComboItem (int, int); - void changeComboItem (int, const QString&, int = -1); + void changeComboItem (int, const TQString&, int = -1); void clearCombo (int); - QString getComboItem (int, int = -1); + TQString getComboItem (int, int = -1); KComboBox* getCombo (int); KLineEdit* getLined (int); KToolBarButton* getButton (int); void alignItemRight (int, bool = 1); - QWidget* getWidget (int); + TQWidget* getWidget (int); void setItemAutoSized (int, bool = 1); void clear (); void removeItem (int); @@ -161,7 +161,7 @@ public: int maxHeight (); void setMaxWidth (int); int maxWidth (); - void setTitle (const QString&); + void setTitle (const TQString&); void enableFloating (bool); void setIconText (KToolBar::IconText); void setIconText (KToolBar::IconText, bool); @@ -180,27 +180,27 @@ public: void setFlat (bool); int count (); void saveState (); - void saveSettings (KConfig*, const QString&); + void saveSettings (KConfig*, const TQString&); %If ( KDE_3_3_0 - ) - void applySettings (KConfig*, const QString&, bool); + void applySettings (KConfig*, const TQString&, bool); %End - void applySettings (KConfig*, const QString&); + void applySettings (KConfig*, const TQString&); void setXMLGUIClient (KXMLGUIClient*); - void setText (const QString&); - QString text () const; - void setStretchableWidget (QWidget*); - QSizePolicy sizePolicy () const; + void setText (const TQString&); + TQString text () const; + void setStretchableWidget (TQWidget*); + TQSizePolicy sizePolicy () const; bool highlight () const; - QSize sizeHint () const; - QSize minimumSizeHint () const; - QSize minimumSize () const; + TQSize sizeHint () const; + TQSize minimumSizeHint () const; + TQSize minimumSize () const; void hide (); void show (); void updateRects (bool = 0); - void loadState (const QDomElement&); - void saveState (QDomElement&); + void loadState (const TQDomElement&); + void saveState (TQDomElement&); void positionYourself (bool); signals: @@ -229,16 +229,16 @@ public: public slots: - virtual void setIconText (const QString&); + virtual void setIconText (const TQString&); protected: - void mousePressEvent (QMouseEvent*); - void childEvent (QChildEvent*); - void showEvent (QShowEvent*); - void resizeEvent (QResizeEvent*); - bool event (QEvent*); - void applyAppearanceSettings (KConfig*, const QString&, bool = 0); - QString settingsGroup () const; + void mousePressEvent (TQMouseEvent*); + void childEvent (TQChildEvent*); + void showEvent (TQShowEvent*); + void resizeEvent (TQResizeEvent*); + bool event (TQEvent*); + void applyAppearanceSettings (KConfig*, const TQString&, bool = 0); + TQString settingsGroup () const; protected: //igx virtual void virtual_hook (int, void*); @@ -246,7 +246,7 @@ protected: public: %If ( - KDE_3_2_0 ) - int insertCombo (const QString&, int, bool, const char*, QObject*, const char*, bool = 1, const QString& = QString ::null , int = 70, int = -1, QComboBox::Policy = QComboBox ::AtBottom ); + int insertCombo (const TQString&, int, bool, const char*, TQObject*, const char*, bool = 1, const TQString& = TQString ::null , int = 70, int = -1, TQComboBox::Policy = TQComboBox ::AtBottom ); %End diff --git a/sip/tdeui/ktoolbarbutton.sip b/sip/tdeui/ktoolbarbutton.sip index e451f70..8fdfbe4 100644 --- a/sip/tdeui/ktoolbarbutton.sip +++ b/sip/tdeui/ktoolbarbutton.sip @@ -24,7 +24,7 @@ // 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. -class KToolBarButton : QToolButton +class KToolBarButton : TQToolButton { %TypeHeaderCode #include <ktoolbarbutton.h> @@ -32,34 +32,34 @@ class KToolBarButton : QToolButton public: - KToolBarButton (const QString&, int, QWidget* /TransferThis/, const char* = 0, const QString& = QString ::null , KInstance* = KGlobal ::instance ()); - KToolBarButton (const QPixmap&, int, QWidget* /TransferThis/, const char* = 0, const QString& = QString ::null ); - KToolBarButton (QWidget* /TransferThis/ = 0, const char* = 0); - virtual void setPixmap (const QPixmap&); - void setDefaultPixmap (const QPixmap&); - void setDisabledPixmap (const QPixmap&); - virtual void setText (const QString&); - virtual void setIcon (const QString&); + KToolBarButton (const TQString&, int, TQWidget* /TransferThis/, const char* = 0, const TQString& = TQString ::null , KInstance* = KGlobal ::instance ()); + KToolBarButton (const TQPixmap&, int, TQWidget* /TransferThis/, const char* = 0, const TQString& = TQString ::null ); + KToolBarButton (TQWidget* /TransferThis/ = 0, const char* = 0); + virtual void setPixmap (const TQPixmap&); + void setDefaultPixmap (const TQPixmap&); + void setDisabledPixmap (const TQPixmap&); + virtual void setText (const TQString&); + virtual void setIcon (const TQString&); %If ( KDE_3_0_1 - ) - virtual void setIcon (const QPixmap&); + virtual void setIcon (const TQPixmap&); %End - virtual void setIconSet (const QIconSet&); - void setIcon (const QString&, bool); - void setDefaultIcon (const QString&); - void setDisabledIcon (const QString&); + virtual void setIconSet (const TQIconSet&); + void setIcon (const TQString&, bool); + void setDefaultIcon (const TQString&); + void setDisabledIcon (const TQString&); void on (bool = 1); void toggle (); void setToggle (bool = 1); - QPopupMenu* popup (); + TQPopupMenu* popup (); %If ( KDE_3_2_0 - ) int id () const; %End - void setPopup (QPopupMenu*, bool); - void setDelayedPopup (QPopupMenu*, bool = 0); + void setPopup (TQPopupMenu*, bool); + void setDelayedPopup (TQPopupMenu*, bool = 0); void setRadio (bool = 1); void setNoStyle (bool = 1); @@ -67,7 +67,7 @@ signals: void clicked (int); %If ( KDE_3_4_2 - ) - void buttonClicked (int, Qt::ButtonState); + void buttonClicked (int, TQt::ButtonState); %End void doubleClicked (int); @@ -78,29 +78,29 @@ signals: public slots: void modeChange (); - virtual void setTextLabel (const QString&, bool); + virtual void setTextLabel (const TQString&, bool); protected: %If ( KDE_3_5_0 - ) - bool event (QEvent*); + bool event (TQEvent*); %End - void paletteChange (const QPalette&); - void leaveEvent (QEvent*); - void enterEvent (QEvent*); - void drawButton (QPainter*); - bool eventFilter (QObject*, QEvent*); + void paletteChange (const TQPalette&); + void leaveEvent (TQEvent*); + void enterEvent (TQEvent*); + void drawButton (TQPainter*); + bool eventFilter (TQObject*, TQEvent*); %If ( KDE_3_4_2 - ) - void mousePressEvent (QMouseEvent*); - void mouseReleaseEvent (QMouseEvent*); + void mousePressEvent (TQMouseEvent*); + void mouseReleaseEvent (TQMouseEvent*); %End void showMenu (); - QSize sizeHint () const; - QSize minimumSizeHint () const; - QSize minimumSize () const; + TQSize sizeHint () const; + TQSize minimumSizeHint () const; + TQSize minimumSize () const; %If ( KDE_3_0_1 - ) bool isRaised () const; diff --git a/sip/tdeui/ktoolbarlabelaction.sip b/sip/tdeui/ktoolbarlabelaction.sip index e196cbf..fe7c9dc 100644 --- a/sip/tdeui/ktoolbarlabelaction.sip +++ b/sip/tdeui/ktoolbarlabelaction.sip @@ -34,13 +34,13 @@ class KToolBarLabelAction : KWidgetAction public: - KToolBarLabelAction (const QString&, const KShortcut&, const QObject*, const char*, KActionCollection* /TransferThis/, const char*); - KToolBarLabelAction (QWidget*, const QString&, const KShortcut&, const QObject*, const char*, KActionCollection* /TransferThis/, const char*); - KToolBarLabelAction (QLabel*, const KShortcut&, const QObject*, const char*, KActionCollection* /TransferThis/, const char*); - virtual void setText (const QString&); - virtual void setBuddy (QWidget*); - QWidget* buddy () const; - QLabel* label () const; + KToolBarLabelAction (const TQString&, const KShortcut&, const TQObject*, const char*, KActionCollection* /TransferThis/, const char*); + KToolBarLabelAction (TQWidget*, const TQString&, const KShortcut&, const TQObject*, const char*, KActionCollection* /TransferThis/, const char*); + KToolBarLabelAction (TQLabel*, const KShortcut&, const TQObject*, const char*, KActionCollection* /TransferThis/, const char*); + virtual void setText (const TQString&); + virtual void setBuddy (TQWidget*); + TQWidget* buddy () const; + TQLabel* label () const; protected: virtual void virtual_hook (int, void*); diff --git a/sip/tdeui/ktoolbarradiogroup.sip b/sip/tdeui/ktoolbarradiogroup.sip index 37515b9..52f20d6 100644 --- a/sip/tdeui/ktoolbarradiogroup.sip +++ b/sip/tdeui/ktoolbarradiogroup.sip @@ -24,7 +24,7 @@ // 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. -class KToolBarRadioGroup : QObject +class KToolBarRadioGroup : TQObject { %TypeHeaderCode #include <ktoolbarradiogroup.h> diff --git a/sip/tdeui/kurllabel.sip b/sip/tdeui/kurllabel.sip index f1bb990..46ef71d 100644 --- a/sip/tdeui/kurllabel.sip +++ b/sip/tdeui/kurllabel.sip @@ -24,7 +24,7 @@ // 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. -class KURLLabel : QLabel +class KURLLabel : TQLabel { %TypeHeaderCode #include <kurllabel.h> @@ -32,22 +32,22 @@ class KURLLabel : QLabel public: - KURLLabel (QWidget* /TransferThis/ = 0, const char* = 0); - KURLLabel (const QString&, const QString& = QString ::null , QWidget* /TransferThis/ = 0, const char* = 0); - const QString& url () const; - const QString& tipText () const; + KURLLabel (TQWidget* /TransferThis/ = 0, const char* = 0); + KURLLabel (const TQString&, const TQString& = TQString ::null , TQWidget* /TransferThis/ = 0, const char* = 0); + const TQString& url () const; + const TQString& tipText () const; bool useTips () const; bool useCursor () const; bool isGlowEnabled () const; bool isFloatEnabled () const; - const QPixmap* altPixmap () const; + const TQPixmap* altPixmap () const; %If ( KDE_3_5_1 - ) virtual void setMargin (int); virtual void setFocusPolicy (FocusPolicy); %If ( KDE_3_5_2 - ) - virtual void setSizePolicy (QSizePolicy); + virtual void setSizePolicy (TQSizePolicy); %End %End @@ -55,47 +55,47 @@ public: public slots: void setUnderline (bool = 1); - void setURL (const QString&); - virtual void setFont (const QFont&); + void setURL (const TQString&); + virtual void setFont (const TQFont&); void setUseTips (bool = 1); - void setTipText (const QString&); - void setHighlightedColor (const QColor&); - void setHighlightedColor (const QString&); - void setSelectedColor (const QColor&); - void setSelectedColor (const QString&); + void setTipText (const TQString&); + void setHighlightedColor (const TQColor&); + void setHighlightedColor (const TQString&); + void setSelectedColor (const TQColor&); + void setSelectedColor (const TQString&); %If ( KDE_3_5_1 - ) - virtual void setCursor (const QCursor&); + virtual void setCursor (const TQCursor&); virtual void unsetCursor (); %End - void setUseCursor (bool, QCursor* = 0); + void setUseCursor (bool, TQCursor* = 0); void setGlow (bool = 1); void setFloat (bool = 1); - void setAltPixmap (const QPixmap&); + void setAltPixmap (const TQPixmap&); signals: - void enteredURL (const QString&); + void enteredURL (const TQString&); void enteredURL (); - void leftURL (const QString&); + void leftURL (const TQString&); void leftURL (); - void leftClickedURL (const QString&); + void leftClickedURL (const TQString&); void leftClickedURL (); - void rightClickedURL (const QString&); + void rightClickedURL (const TQString&); void rightClickedURL (); - void middleClickedURL (const QString&); + void middleClickedURL (const TQString&); void middleClickedURL (); protected: - virtual void mouseReleaseEvent (QMouseEvent*); - virtual void enterEvent (QEvent*); - virtual void leaveEvent (QEvent*); + virtual void mouseReleaseEvent (TQMouseEvent*); + virtual void enterEvent (TQEvent*); + virtual void leaveEvent (TQEvent*); %If ( KDE_3_2_0 - ) - virtual bool event (QEvent*); + virtual bool event (TQEvent*); %If ( KDE_3_5_1 - ) - QRect activeRect () const; + TQRect activeRect () const; %End %End diff --git a/sip/tdeui/kwizard.sip b/sip/tdeui/kwizard.sip index b9f7b30..c339c39 100644 --- a/sip/tdeui/kwizard.sip +++ b/sip/tdeui/kwizard.sip @@ -24,7 +24,7 @@ // 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. -class KWizard : QWizard +class KWizard : TQWizard { %TypeHeaderCode #include <kwizard.h> @@ -32,7 +32,7 @@ class KWizard : QWizard public: - KWizard (QWidget* /TransferThis/ = 0, const char* = 0, bool = 0, WFlags = 0); + KWizard (TQWidget* /TransferThis/ = 0, const char* = 0, bool = 0, WFlags = 0); }; // class KWizard diff --git a/sip/tdeui/kwordwrap.sip b/sip/tdeui/kwordwrap.sip index 4909f98..ddaa82b 100644 --- a/sip/tdeui/kwordwrap.sip +++ b/sip/tdeui/kwordwrap.sip @@ -43,17 +43,17 @@ public: %End - static KWordWrap* formatText (QFontMetrics&, const QRect&, int, const QString&, int = -1); - QRect boundingRect () const; - QString wrappedString () const; - QString truncatedString (bool = 1) const; - void drawText (QPainter*, int, int, int = Qt ::AlignAuto ) const; + static KWordWrap* formatText (TQFontMetrics&, const TQRect&, int, const TQString&, int = -1); + TQRect boundingRect () const; + TQString wrappedString () const; + TQString truncatedString (bool = 1) const; + void drawText (TQPainter*, int, int, int = TQt ::AlignAuto ) const; %If ( KDE_3_2_0 - ) - static void drawFadeoutText (QPainter*, int, int, int, const QString&); + static void drawFadeoutText (TQPainter*, int, int, int, const TQString&); %If ( KDE_3_3_0 - ) - static void drawTruncateText (QPainter*, int, int, int, const QString&); + static void drawTruncateText (TQPainter*, int, int, int, const TQString&); %End %End @@ -62,7 +62,7 @@ public: %If ( KDE_3_2_0 - ) private: - KWordWrap (const QRect&); + KWordWrap (const TQRect&); %End diff --git a/sip/tdeui/kxmlguibuilder.sip b/sip/tdeui/kxmlguibuilder.sip index 4972c49..a5b48e5 100644 --- a/sip/tdeui/kxmlguibuilder.sip +++ b/sip/tdeui/kxmlguibuilder.sip @@ -32,18 +32,18 @@ class KXMLGUIBuilder public: - KXMLGUIBuilder (QWidget*); + KXMLGUIBuilder (TQWidget*); KXMLGUIClient* builderClient () const; void setBuilderClient (KXMLGUIClient*); KInstance* builderInstance () const; void setBuilderInstance (KInstance*); - QWidget* widget (); - virtual QStringList containerTags () const; -//ig virtual QWidget* createContainer (QWidget* /Transfer/, int, const QDomElement&, int&); - virtual void removeContainer (QWidget*, QWidget* /Transfer/, QDomElement&, int); - virtual QStringList customTags () const; - virtual int createCustomElement (QWidget* /Transfer/, int, const QDomElement&); - virtual void removeCustomElement (QWidget* /Transfer/, int); + TQWidget* widget (); + virtual TQStringList containerTags () const; +//ig virtual TQWidget* createContainer (TQWidget* /Transfer/, int, const TQDomElement&, int&); + virtual void removeContainer (TQWidget*, TQWidget* /Transfer/, TQDomElement&, int); + virtual TQStringList customTags () const; + virtual int createCustomElement (TQWidget* /Transfer/, int, const TQDomElement&); + virtual void removeCustomElement (TQWidget* /Transfer/, int); virtual void finalizeGUI (KXMLGUIClient*); protected: diff --git a/sip/tdeui/kxmlguiclient.sip b/sip/tdeui/kxmlguiclient.sip index 6479093..800801a 100644 --- a/sip/tdeui/kxmlguiclient.sip +++ b/sip/tdeui/kxmlguiclient.sip @@ -35,28 +35,28 @@ public: KXMLGUIClient (); KXMLGUIClient (KXMLGUIClient* /TransferThis/); KAction* action (const char*) const; - virtual KAction* action (const QDomElement&) const; + virtual KAction* action (const TQDomElement&) const; virtual KActionCollection* actionCollection () const; virtual KInstance* instance () const; - virtual QDomDocument domDocument () const; - virtual QString xmlFile () const; - virtual QString localXMLFile () const; - void setXMLGUIBuildDocument (const QDomDocument&); - QDomDocument xmlguiBuildDocument () const; + virtual TQDomDocument domDocument () const; + virtual TQString xmlFile () const; + virtual TQString localXMLFile () const; + void setXMLGUIBuildDocument (const TQDomDocument&); + TQDomDocument xmlguiBuildDocument () const; void setFactory (KXMLGUIFactory*); KXMLGUIFactory* factory () const; KXMLGUIClient* parentClient () const; void insertChildClient (KXMLGUIClient*); void removeChildClient (KXMLGUIClient*); - const QPtrList<KXMLGUIClient>* childClients (); + const TQPtrList<KXMLGUIClient>* childClients (); void setClientBuilder (KXMLGUIBuilder*); KXMLGUIBuilder* clientBuilder () const; void reloadXML (); - void plugActionList (const QString&, const QPtrList<KAction>&); - void unplugActionList (const QString&); - static QString findMostRecentXMLFile (const QStringList&, QString&); - void addStateActionEnabled (const QString&, const QString&); - void addStateActionDisabled (const QString&, const QString&); + void plugActionList (const TQString&, const TQPtrList<KAction>&); + void unplugActionList (const TQString&); + static TQString findMostRecentXMLFile (const TQStringList&, TQString&); + void addStateActionEnabled (const TQString&, const TQString&); + void addStateActionDisabled (const TQString&, const TQString&); enum ReverseStateChange { @@ -69,30 +69,30 @@ public: { public: - QStringList actionsToEnable; - QStringList actionsToDisable; + TQStringList actionsToEnable; + TQStringList actionsToDisable; }; // class StateChange public: - KXMLGUIClient::StateChange getActionsToChangeForState (const QString&); + KXMLGUIClient::StateChange getActionsToChangeForState (const TQString&); %If ( KDE_3_1_0 - ) - void beginXMLPlug (QWidget*); + void beginXMLPlug (TQWidget*); void endXMLPlug (); - void prepareXMLUnplug (QWidget*); + void prepareXMLUnplug (TQWidget*); %End protected: virtual void setInstance (KInstance*); - virtual void setXMLFile (const QString&, bool = 0, bool = 1); - virtual void setLocalXMLFile (const QString&); - virtual void setXML (const QString&, bool = 0); - virtual void setDOMDocument (const QDomDocument&, bool = 0); + virtual void setXMLFile (const TQString&, bool = 0, bool = 1); + virtual void setLocalXMLFile (const TQString&); + virtual void setXML (const TQString&, bool = 0); + virtual void setDOMDocument (const TQDomDocument&, bool = 0); virtual void conserveMemory (); - virtual void stateChanged (const QString&, KXMLGUIClient::ReverseStateChange = StateNoReverse ); + virtual void stateChanged (const TQString&, KXMLGUIClient::ReverseStateChange = StateNoReverse ); protected: //igx virtual void virtual_hook (int, void*); diff --git a/sip/tdeui/kxmlguifactory.sip b/sip/tdeui/kxmlguifactory.sip index 681ced4..0f39344 100644 --- a/sip/tdeui/kxmlguifactory.sip +++ b/sip/tdeui/kxmlguifactory.sip @@ -24,7 +24,7 @@ // 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. -class KXMLGUIFactory : QObject +class KXMLGUIFactory : TQObject { %TypeHeaderCode #include <kxmlguifactory.h> @@ -32,28 +32,28 @@ class KXMLGUIFactory : QObject public: - KXMLGUIFactory (KXMLGUIBuilder*, QObject* /TransferThis/ = 0, const char* = 0); - static QString readConfigFile (const QString&, bool, const KInstance* = 0); - static QString readConfigFile (const QString&, const KInstance* = 0); - static bool saveConfigFile (const QDomDocument&, const QString&, const KInstance* = 0); - static QString documentToXML (const QDomDocument&); - static QString elementToXML (const QDomElement&); - static void removeDOMComments (QDomNode&); + KXMLGUIFactory (KXMLGUIBuilder*, TQObject* /TransferThis/ = 0, const char* = 0); + static TQString readConfigFile (const TQString&, bool, const KInstance* = 0); + static TQString readConfigFile (const TQString&, const KInstance* = 0); + static bool saveConfigFile (const TQDomDocument&, const TQString&, const KInstance* = 0); + static TQString documentToXML (const TQDomDocument&); + static TQString elementToXML (const TQDomElement&); + static void removeDOMComments (TQDomNode&); %If ( KDE_3_3_0 - ) - static QDomElement actionPropertiesElement (QDomDocument&); - static QDomElement findActionByName (QDomElement&, const QString&, bool); + static TQDomElement actionPropertiesElement (TQDomDocument&); + static TQDomElement findActionByName (TQDomElement&, const TQString&, bool); %End void addClient (KXMLGUIClient*); void removeClient (KXMLGUIClient*); - void plugActionList (KXMLGUIClient*, const QString&, const QPtrList<KAction>&); - void unplugActionList (KXMLGUIClient*, const QString&); - QPtrList<KXMLGUIClient> clients () const; - QWidget* container (const QString&, KXMLGUIClient*, bool = 0); - QPtrList<QWidget> containers (const QString&); + void plugActionList (KXMLGUIClient*, const TQString&, const TQPtrList<KAction>&); + void unplugActionList (KXMLGUIClient*, const TQString&); + TQPtrList<KXMLGUIClient> clients () const; + TQWidget* container (const TQString&, KXMLGUIClient*, bool = 0); + TQPtrList<TQWidget> containers (const TQString&); void reset (); - void resetContainer (const QString&, bool = 0); + void resetContainer (const TQString&, bool = 0); public slots: @@ -72,10 +72,10 @@ protected: }; // class KXMLGUIFactory //force -QPtrList<KAction> testKActionList (QPtrList<KAction>); +TQPtrList<KAction> testKActionList (TQPtrList<KAction>); %MethodCode -//takes list | (QPtrList<KAction>) -//returns (QPtrList<KAction>) +//takes list | (TQPtrList<KAction>) +//returns (TQPtrList<KAction>) sipRes = a0; %End @@ -83,7 +83,7 @@ QPtrList<KAction> testKActionList (QPtrList<KAction>); //end -%MappedType QPtrList<KAction> +%MappedType TQPtrList<KAction> //converts a Python list of KAction { %TypeHeaderCode @@ -104,7 +104,7 @@ QPtrList<KAction> testKActionList (QPtrList<KAction>); // Get it. - QPtrList<KAction> *cpplist = (QPtrList<KAction> *)sipCpp; + TQPtrList<KAction> *cpplist = (TQPtrList<KAction> *)sipCpp; KAction *cpp; PyObject *inst; @@ -126,7 +126,7 @@ QPtrList<KAction> testKActionList (QPtrList<KAction>); if (sipIsErr == NULL) return PyList_Check(sipPy); - QPtrList<KAction> *cpplist = new QPtrList<KAction>; + TQPtrList<KAction> *cpplist = new TQPtrList<KAction>; PyObject *elem; KAction *cpp; @@ -154,7 +154,7 @@ QPtrList<KAction> testKActionList (QPtrList<KAction>); }; -%MappedType QPtrList<KXMLGUIClient> +%MappedType TQPtrList<KXMLGUIClient> //converts a Python list of KXMLGUIClient { %TypeHeaderCode @@ -175,7 +175,7 @@ QPtrList<KAction> testKActionList (QPtrList<KAction>); // Get it. - QPtrList<KXMLGUIClient> *cpplist = (QPtrList<KXMLGUIClient> *)sipCpp; + TQPtrList<KXMLGUIClient> *cpplist = (TQPtrList<KXMLGUIClient> *)sipCpp; KXMLGUIClient *cpp; PyObject *inst; @@ -197,7 +197,7 @@ QPtrList<KAction> testKActionList (QPtrList<KAction>); if (sipIsErr == NULL) return PyList_Check(sipPy); - QPtrList<KXMLGUIClient> *cpplist = new QPtrList<KXMLGUIClient>; + TQPtrList<KXMLGUIClient> *cpplist = new TQPtrList<KXMLGUIClient>; PyObject *elem; KXMLGUIClient *cpp; @@ -225,8 +225,8 @@ QPtrList<KAction> testKActionList (QPtrList<KAction>); }; -%MappedType QPtrList<QWidget> -//converts a Python list of QWidget +%MappedType TQPtrList<TQWidget> +//converts a Python list of TQWidget { %TypeHeaderCode #include <qptrlist.h> @@ -245,8 +245,8 @@ QPtrList<KAction> testKActionList (QPtrList<KAction>); // Get it. - QPtrList<QWidget> *cpplist = (QPtrList<QWidget> *)sipCpp; - QWidget *cpp; + TQPtrList<TQWidget> *cpplist = (TQPtrList<TQWidget> *)sipCpp; + TQWidget *cpp; PyObject *inst; // the loop depends on the type of iterator the tmeplate makes available @@ -267,16 +267,16 @@ QPtrList<KAction> testKActionList (QPtrList<KAction>); if (sipIsErr == NULL) return PyList_Check(sipPy); - QPtrList<QWidget> *cpplist = new QPtrList<QWidget>; + TQPtrList<TQWidget> *cpplist = new TQPtrList<TQWidget>; PyObject *elem; - QWidget *cpp; + TQWidget *cpp; int iserr = 0; for (int i = 0; i < PyList_Size (sipPy); i++) { elem = PyList_GET_ITEM (sipPy, i); - cpp = (QWidget *)sipForceConvertToType(elem, sipType_QWidget, sipTransferObj, SIP_NO_CONVERTORS, NULL, &iserr); + cpp = (TQWidget *)sipForceConvertToType(elem, sipType_QWidget, sipTransferObj, SIP_NO_CONVERTORS, NULL, &iserr); if (iserr) { diff --git a/sip/tdeui/qxembed.sip b/sip/tdeui/qxembed.sip index d091384..3b198a8 100644 --- a/sip/tdeui/qxembed.sip +++ b/sip/tdeui/qxembed.sip @@ -24,7 +24,7 @@ // 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. -class QXEmbed : QWidget +class TQXEmbed : TQWidget { %TypeHeaderCode #include <qxembed.h> @@ -32,7 +32,7 @@ class QXEmbed : QWidget public: - QXEmbed (QWidget* /TransferThis/ = 0, const char* = 0, WFlags = 0); + TQXEmbed (TQWidget* /TransferThis/ = 0, const char* = 0, WFlags = 0); static void initialize (); %If ( KDE_3_1_1 - ) @@ -43,17 +43,17 @@ public: XPLAIN }; - void setProtocol (QXEmbed::Protocol); - QXEmbed::Protocol protocol (); + void setProtocol (TQXEmbed::Protocol); + TQXEmbed::Protocol protocol (); %End void embed (WId); WId embeddedWinId () const; - static void embedClientIntoWindow (QWidget*, WId); - static bool processClientCmdline (QWidget*, SIP_PYLIST) [bool (QWidget*, int&, char**)]; + static void embedClientIntoWindow (TQWidget*, WId); + static bool processClientCmdline (TQWidget*, SIP_PYLIST) [bool (TQWidget*, int&, char**)]; %MethodCode //returns (bool) -//takes client | (QWidget) | argv | (a Python list of strings which may be modified) +//takes client | (TQWidget) | argv | (a Python list of strings which may be modified) //returns //takes list (a Python list of strings) | index (int) @@ -65,11 +65,11 @@ public: char **strings; - if ((strings = (char **)PyQtListToArray(a1)) == NULL) + if ((strings = (char **)PyTQtListToArray(a1)) == NULL) return NULL; Py_BEGIN_ALLOW_THREADS - sipRes = QXEmbed::processClientCmdline (a0, n, strings); + sipRes = TQXEmbed::processClientCmdline (a0, n, strings); Py_END_ALLOW_THREADS sipFree((ANY *)strings); @@ -82,15 +82,15 @@ public: void setAutoDelete (bool); bool autoDelete () const; - QSize sizeHint () const; - QSize minimumSizeHint () const; - QSizePolicy sizePolicy () const; - bool eventFilter (QObject*, QEvent*); + TQSize sizeHint () const; + TQSize minimumSizeHint () const; + TQSizePolicy sizePolicy () const; + bool eventFilter (TQObject*, TQEvent*); bool customWhatsThis () const; void enterWhatsThisMode (); %If ( KDE_3_2_0 - ) - virtual void reparent (QWidget* /Transfer/, WFlags, const QPoint&, bool = 0); + virtual void reparent (TQWidget* /Transfer/, WFlags, const TQPoint&, bool = 0); %End @@ -98,16 +98,16 @@ signals: void embeddedWindowDestroyed (); protected: - bool event (QEvent*); - void keyPressEvent (QKeyEvent*); - void keyReleaseEvent (QKeyEvent*); - void focusInEvent (QFocusEvent*); - void focusOutEvent (QFocusEvent*); - void resizeEvent (QResizeEvent*); - void showEvent (QShowEvent*); + bool event (TQEvent*); + void keyPressEvent (TQKeyEvent*); + void keyReleaseEvent (TQKeyEvent*); + void focusInEvent (TQFocusEvent*); + void focusOutEvent (TQFocusEvent*); + void resizeEvent (TQResizeEvent*); + void showEvent (TQShowEvent*); //ig bool x11Event (XEvent*); virtual void windowChanged (WId); bool focusNextPrevChild (bool); -}; // class QXEmbed +}; // class TQXEmbed diff --git a/sip/tdeui/twindowinfo.sip b/sip/tdeui/twindowinfo.sip index 7bdceea..1e95200 100644 --- a/sip/tdeui/twindowinfo.sip +++ b/sip/tdeui/twindowinfo.sip @@ -26,7 +26,7 @@ %If ( KDE_3_1_0 - ) -class KWindowInfo : QObject +class KWindowInfo : TQObject { %TypeHeaderCode #include <twindowinfo.h> @@ -34,22 +34,22 @@ class KWindowInfo : QObject public: - KWindowInfo (QWidget* /TransferThis/, const char* = 0); + KWindowInfo (TQWidget* /TransferThis/, const char* = 0); bool autoDelete () const; void setAutoDelete (bool); - static void showMessage (QWidget*, const QString&, int = -1); - static void showMessage (QWidget*, const QString&, const QPixmap&, int = -1); + static void showMessage (TQWidget*, const TQString&, int = -1); + static void showMessage (TQWidget*, const TQString&, const TQPixmap&, int = -1); public slots: - void message (const QString&); - void message (const QString&, const QPixmap&); - void message (const QString&, int); - void message (const QString&, const QPixmap&, int); - void permanent (const QString&); - void permanent (const QString&, const QPixmap&); + void message (const TQString&); + void message (const TQString&, const TQPixmap&); + void message (const TQString&, int); + void message (const TQString&, const TQPixmap&, int); + void permanent (const TQString&); + void permanent (const TQString&, const TQPixmap&); protected: - virtual void display (const QString&, const QPixmap&); + virtual void display (const TQString&, const TQPixmap&); protected slots: virtual void save (); diff --git a/sip/tdeui/twindowlistmenu.sip b/sip/tdeui/twindowlistmenu.sip index e0e3248..5ca22ef 100644 --- a/sip/tdeui/twindowlistmenu.sip +++ b/sip/tdeui/twindowlistmenu.sip @@ -32,7 +32,7 @@ class KWindowListMenu : KPopupMenu public: - KWindowListMenu (QWidget* /TransferThis/ = 0, const char* = 0); + KWindowListMenu (TQWidget* /TransferThis/ = 0, const char* = 0); void init (); public slots: |