diff options
author | Slávek Banko <slavek.banko@axis.cz> | 2021-03-07 20:24:08 +0100 |
---|---|---|
committer | Slávek Banko <slavek.banko@axis.cz> | 2021-03-12 00:35:39 +0100 |
commit | 369d8455ac39aa9f5328b855bd5f456e3f384a63 (patch) | |
tree | ea0e74835bcc4c1ca9245316ffebf9a439828dd3 /kommander/editor/metadatabase.cpp | |
parent | eea71ca9ecdfbd4682054a86cc9bbf954af94693 (diff) | |
download | tdewebdev-369d8455ac39aa9f5328b855bd5f456e3f384a63.tar.gz tdewebdev-369d8455ac39aa9f5328b855bd5f456e3f384a63.zip |
Added controlled conversions to char* instead of automatic ascii conversions.
The definition of -UTQT_NO_ASCII_CAST is no longer needed.
Signed-off-by: Slávek Banko <slavek.banko@axis.cz>
(cherry picked from commit 70defe5e6d9498c5c6011eee50c4dc506abebd61)
Diffstat (limited to 'kommander/editor/metadatabase.cpp')
-rw-r--r-- | kommander/editor/metadatabase.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/kommander/editor/metadatabase.cpp b/kommander/editor/metadatabase.cpp index 8b35aa77..c1fb461c 100644 --- a/kommander/editor/metadatabase.cpp +++ b/kommander/editor/metadatabase.cpp @@ -477,7 +477,7 @@ void MetaDataBase::doConnections( TQObject *o ) slotList.find( conn.slot ) == -1 ) continue; - TQObject::connect( sender, s, receiver, s2 ); + TQObject::connect( sender, s.utf8(), receiver, s2.utf8() ); } } @@ -1019,7 +1019,7 @@ bool MetaDataBase::CustomWidget::hasSignal( const TQCString &signal ) const bool MetaDataBase::CustomWidget::hasSlot( const TQCString &slot ) const { TQStrList slotList = TQWidget::staticMetaObject()->slotNames( true ); - if ( slotList.find( normalizeSlot( slot ) ) != -1 ) + if ( slotList.find( normalizeSlot(slot).utf8() ) != -1 ) return true; for ( TQValueList<MetaDataBase::Slot>::ConstIterator it = lstSlots.begin(); it != lstSlots.end(); ++it ) { |