diff options
author | Timothy Pearson <kb9vqf@pearsoncomputing.net> | 2011-11-29 01:11:08 -0600 |
---|---|---|
committer | Timothy Pearson <kb9vqf@pearsoncomputing.net> | 2011-11-29 01:11:08 -0600 |
commit | 8a055d66f43592c257cece2eb8cc021808062917 (patch) | |
tree | d0922f201bd5d24b62a33160d1d9baf9e89f9a70 /README.SunOS | |
parent | b388516ca2691303a076a0764fd40bf7116fe43d (diff) | |
download | pytqt-8a055d66f43592c257cece2eb8cc021808062917.tar.gz pytqt-8a055d66f43592c257cece2eb8cc021808062917.zip |
Initial TQt conversion
Diffstat (limited to 'README.SunOS')
-rw-r--r-- | README.SunOS | 22 |
1 files changed, 11 insertions, 11 deletions
diff --git a/README.SunOS b/README.SunOS index 5b176c8..139c964 100644 --- a/README.SunOS +++ b/README.SunOS @@ -13,29 +13,29 @@ types in overloaded method signatures and issues a compiler error. In this case bool is declared in qt/include/qglobal.h as 'typedef int bool;'. To workaround this '#if 0' out the the declaration - and body of 'proxySlot(bool)' in PyQt/qt/sipqtProxyqt.h and - PyQt/qt/qtcmodule.cpp. This resolves the compiler error but breaks + and body of 'proxySlot(bool)' in PyTQt/qt/sipqtProxyqt.h and + PyTQt/qt/qtcmodule.cpp. This resolves the compiler error but breaks any 'sig(bool)' type signals. To workaround this, save the - PyQt/qt/sipqtProxyqt.moc generated after fixing the compiler error and + PyTQt/qt/sipqtProxyqt.moc generated after fixing the compiler error and add the following bits of code: ... - static const QUParameter param_slot_42[] = { - { 0, &static_QUType_bool, 0, QUParameter::In } + static const TQUParameter param_slot_42[] = { + { 0, &static_QUType_bool, 0, TQUParameter::In } }; - static const QUMethod slot_42 = {"proxySlot", 1, param_slot_42 }; - static const QMetaData slot_tbl[] = { + static const TQUMethod slot_42 = {"proxySlot", 1, param_slot_42 }; + static const TQMetaData slot_tbl[] = { ... - { "proxySlot(bool)", &slot_42, QMetaData::Public } + { "proxySlot(bool)", &slot_42, TQMetaData::Public } }; - metaObj = QMetaObject::new_metaobject( + metaObj = TQMetaObject::new_metaobject( "sipProxyqt", parentObject, slot_tbl, 43, ... case 42: proxySlot(static_QUType_bool.get(_o+1)); break; - You will need to comment out the line in PyQt/qt/Makefile that re-generates - PyQt/qt/sipqtProxyqt.moc with moc to avoid the above changes from being + You will need to comment out the line in PyTQt/qt/Makefile that re-generates + PyTQt/qt/sipqtProxyqt.moc with moc to avoid the above changes from being overwritten. In order to test that everything has been done correctly, create a |