diff options
author | tpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da> | 2010-07-31 19:52:55 +0000 |
---|---|---|
committer | tpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da> | 2010-07-31 19:52:55 +0000 |
commit | 5f5ee2367157176ed223b86343eb0a9e4022e020 (patch) | |
tree | 6a9c87f14ee38e90eff3c77c784f14e4f38fd5a1 /superkaramba/src/karamba_python.cpp | |
parent | 4facf42feec57b22dcf46badc115ad6c5b5cc512 (diff) | |
download | tdeutils-5f5ee2367157176ed223b86343eb0a9e4022e020.tar.gz tdeutils-5f5ee2367157176ed223b86343eb0a9e4022e020.zip |
Trinity Qt initial conversion
git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kdeutils@1157653 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
Diffstat (limited to 'superkaramba/src/karamba_python.cpp')
-rw-r--r-- | superkaramba/src/karamba_python.cpp | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/superkaramba/src/karamba_python.cpp b/superkaramba/src/karamba_python.cpp index ab0034a..746c890 100644 --- a/superkaramba/src/karamba_python.cpp +++ b/superkaramba/src/karamba_python.cpp @@ -514,7 +514,7 @@ bool KarambaPython::widgetClosed(karamba* k) return callObject("widgetClosed", pArgs); } -bool KarambaPython::menuOptionChanged(karamba* k, QString key, bool value) +bool KarambaPython::menuOptionChanged(karamba* k, TQString key, bool value) { PyObject* pArgs = Py_BuildValue((char*)"(lsi)", k, key.ascii(), (int)value); return callObject("menuOptionChanged", pArgs); @@ -532,7 +532,7 @@ bool KarambaPython::meterClicked(karamba* k, Meter* meter, int button) return callObject("meterClicked", pArgs); } -bool KarambaPython::meterClicked(karamba* k, QString anchor, int button) +bool KarambaPython::meterClicked(karamba* k, TQString anchor, int button) { PyObject* pArgs = Py_BuildValue((char*)"(lsi)", k, anchor.ascii(), button); return callObject("meterClicked", pArgs); @@ -545,7 +545,7 @@ bool KarambaPython::widgetClicked(karamba* k, int x, int y, int button) } bool KarambaPython::keyPressed(karamba* k, const Meter* meter, - const QString& text) + const TQString& text) { PyObject* pArgs = Py_BuildValue((char*)"(lls)", k, meter, text.ucs2()); return callObject("keyPressed", pArgs); @@ -599,7 +599,7 @@ bool KarambaPython::commandFinished(karamba* k, int pid) return callObject("commandFinished", pArgs); } -bool KarambaPython::itemDropped(karamba* k, QString text, int x, int y) +bool KarambaPython::itemDropped(karamba* k, TQString text, int x, int y) { PyObject* pArgs = Py_BuildValue((char*)"(lOii)", k, QString2PyString(text), x, y); return callObject("itemDropped", pArgs); |