diff options
author | Timothy Pearson <kb9vqf@pearsoncomputing.net> | 2011-12-03 22:23:44 -0600 |
---|---|---|
committer | Timothy Pearson <kb9vqf@pearsoncomputing.net> | 2011-12-03 22:23:44 -0600 |
commit | 203ba231d0276943aae36111f9ec1e949f3c6a4c (patch) | |
tree | f039f7a5b5fc2da88a96876971bac580d87f6788 /sip/tdeui/kfontdialog.sip | |
parent | fd35f4a8382b7d223bc0325b9ca3f88515778aa0 (diff) | |
download | pytde-203ba231d0276943aae36111f9ec1e949f3c6a4c.tar.gz pytde-203ba231d0276943aae36111f9ec1e949f3c6a4c.zip |
Initial TQt conversion
Diffstat (limited to 'sip/tdeui/kfontdialog.sip')
-rw-r--r-- | sip/tdeui/kfontdialog.sip | 66 |
1 files changed, 33 insertions, 33 deletions
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: |