diff options
Diffstat (limited to 'kivio/kiviopart/kiviosdk/kivio_wrap.cpp')
-rw-r--r-- | kivio/kiviopart/kiviosdk/kivio_wrap.cpp | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/kivio/kiviopart/kiviosdk/kivio_wrap.cpp b/kivio/kiviopart/kiviosdk/kivio_wrap.cpp index ede8a889..1dae0b53 100644 --- a/kivio/kiviopart/kiviosdk/kivio_wrap.cpp +++ b/kivio/kiviopart/kiviosdk/kivio_wrap.cpp @@ -1051,7 +1051,7 @@ static PyObject *_wrap_KivioStencil_setVTextAlign(PyObject *self, PyObject *args return _resultobj; } -static void KivioStencil_setText(KivioStencil *self,char * s) { self->setText( QString(s)); } +static void KivioStencil_setText(KivioStencil *self,char * s) { self->setText( TQString(s)); } static PyObject *_wrap_KivioStencil_setText(PyObject *self, PyObject *args) { PyObject *_resultobj,*_argo0=0; KivioStencil *_arg0; @@ -1080,7 +1080,7 @@ static PyObject *_wrap_KivioStencil_text(PyObject *self, PyObject *args) { return _resultobj; } -static char * KivioStencil_textColor(KivioStencil *self) { return (char*) self->textColor().name().latin1(); } +static char * KivioStencil_textColor(KivioStencil *self) { return (char*) TQString(self->textColor().name()).latin1(); } static PyObject *_wrap_KivioStencil_textColor(PyObject *self, PyObject *args) { PyObject *_resultobj,*_argo0=0; char *_result; @@ -1094,7 +1094,7 @@ static PyObject *_wrap_KivioStencil_textColor(PyObject *self, PyObject *args) { return _resultobj; } -static void KivioStencil_setTextColor(KivioStencil *self,char * color) { self->setTextColor(QColor(color)); } +static void KivioStencil_setTextColor(KivioStencil *self,char * color) { self->setTextColor(TQColor(color)); } static PyObject *_wrap_KivioStencil_setTextColor(PyObject *self, PyObject *args) { PyObject *_resultobj,*_argo0=0; KivioStencil *_arg0; @@ -1109,7 +1109,7 @@ static PyObject *_wrap_KivioStencil_setTextColor(PyObject *self, PyObject *args) return _resultobj; } -static char * KivioStencil_fgColor(KivioStencil *self) { return (char*) self->fgColor().name().latin1(); } +static char * KivioStencil_fgColor(KivioStencil *self) { return (char*) TQString(self->fgColor().name()).latin1(); } static PyObject *_wrap_KivioStencil_fgColor(PyObject *self, PyObject *args) { PyObject *_resultobj,*_argo0=0; char *_result; @@ -1123,7 +1123,7 @@ static PyObject *_wrap_KivioStencil_fgColor(PyObject *self, PyObject *args) { return _resultobj; } -static void KivioStencil_setFGColor(KivioStencil *self,char * color) { self->setFGColor(QColor(color)); } +static void KivioStencil_setFGColor(KivioStencil *self,char * color) { self->setFGColor(TQColor(color)); } static PyObject *_wrap_KivioStencil_setFGColor(PyObject *self, PyObject *args) { PyObject *_resultobj,*_argo0=0; KivioStencil *_arg0; @@ -1138,7 +1138,7 @@ static PyObject *_wrap_KivioStencil_setFGColor(PyObject *self, PyObject *args) { return _resultobj; } -static char * KivioStencil_bgColor(KivioStencil *self) { return (char*) self->bgColor().name().latin1(); } +static char * KivioStencil_bgColor(KivioStencil *self) { return (char*) TQString(self->bgColor().name()).latin1(); } static PyObject *_wrap_KivioStencil_bgColor(PyObject *self, PyObject *args) { PyObject *_resultobj,*_argo0=0; char *_result; @@ -1152,7 +1152,7 @@ static PyObject *_wrap_KivioStencil_bgColor(PyObject *self, PyObject *args) { return _resultobj; } -static void KivioStencil_setBGColor(KivioStencil *self,char * color) { self->setBGColor(QColor(color)); } +static void KivioStencil_setBGColor(KivioStencil *self,char * color) { self->setBGColor(TQColor(color)); } static PyObject *_wrap_KivioStencil_setBGColor(PyObject *self, PyObject *args) { PyObject *_resultobj,*_argo0=0; KivioStencil *_arg0; |