diff options
author | tpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da> | 2011-06-25 05:28:35 +0000 |
---|---|---|
committer | tpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da> | 2011-06-25 05:28:35 +0000 |
commit | f008adb5a77e094eaf6abf3fc0f36958e66896a5 (patch) | |
tree | 8e9244c4d4957c36be81e15b566b4aa5ea26c982 /kivio/kiviopart/kiviosdk/kivio_wrap.cpp | |
parent | 1210f27b660efb7b37ff43ec68763e85a403471f (diff) | |
download | koffice-f008adb5a77e094eaf6abf3fc0f36958e66896a5.tar.gz koffice-f008adb5a77e094eaf6abf3fc0f36958e66896a5.zip |
TQt4 port koffice
This should enable compilation under both Qt3 and Qt4; fixes for any missed components will be forthcoming
git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/applications/koffice@1238284 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
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; |