summaryrefslogtreecommitdiffstats
path: root/sip/tdeui/ktoolbar.sip
diff options
context:
space:
mode:
Diffstat (limited to 'sip/tdeui/ktoolbar.sip')
-rw-r--r--sip/tdeui/ktoolbar.sip108
1 files changed, 54 insertions, 54 deletions
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