diff options
Diffstat (limited to 'sip/tdeui/kfontdialog.sip')
-rw-r--r-- | sip/tdeui/kfontdialog.sip | 22 |
1 files changed, 11 insertions, 11 deletions
diff --git a/sip/tdeui/kfontdialog.sip b/sip/tdeui/kfontdialog.sip index 109cac5..3fc4cb2 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 : TQWidget +class TDEFontChooser : TQWidget { %TypeHeaderCode #include <tqbutton.h> @@ -53,12 +53,12 @@ public: FontDiffSize }; - 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)]; + TDEFontChooser (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 | (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); + sipCpp = (sipTDEFontChooser *) new TDEFontChooser (a0, a1, a2, *a3, a4, a5, a6, &a7); Py_END_ALLOW_THREADS %End @@ -112,10 +112,10 @@ public: %End -}; // class KFontChooser +}; // class TDEFontChooser -class KFontDialog : KDialogBase +class TDEFontDialog : KDialogBase { %TypeHeaderCode #include <kfontdialog.h> @@ -123,11 +123,11 @@ class KFontDialog : KDialogBase public: - 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)]; + TDEFontDialog (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 | (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); + sipCpp = (sipTDEFontDialog *)new TDEFontDialog (a0, a1, a2, a3, *a4, a5, a6, &a7); Py_END_ALLOW_THREADS %End @@ -141,7 +141,7 @@ public: //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); + res = TDEFontDialog::getFont (*a0, a1, a2, a3, &a4); Py_END_ALLOW_THREADS sipRes = Py_BuildValue ("ii", res, (int)a4); @@ -153,7 +153,7 @@ public: //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); + res = TDEFontDialog::getFontDiff (*a0, a1, a2, a3, a4, &a5); Py_END_ALLOW_THREADS sipRes = Py_BuildValue ("ii", res, (int)a5); @@ -165,7 +165,7 @@ public: //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); + res = TDEFontDialog::getFontAndText (*a0, *a1, a2, a3, a4, &a5); Py_END_ALLOW_THREADS sipRes = Py_BuildValue ("ii", res, (int)a5); @@ -180,5 +180,5 @@ protected: protected: //igx virtual void virtual_hook (int, void*); -}; // class KFontDialog +}; // class TDEFontDialog |