diff options
Diffstat (limited to 'interfaces/khexedit')
| -rw-r--r-- | interfaces/khexedit/CMakeLists.txt | 6 | ||||
| -rw-r--r-- | interfaces/khexedit/byteseditinterface.h | 4 | ||||
| -rw-r--r-- | interfaces/khexedit/clipboardinterface.h | 4 | ||||
| -rw-r--r-- | interfaces/khexedit/kbytesedit.desktop | 1 | ||||
| -rw-r--r-- | interfaces/khexedit/zoominterface.h | 2 |
5 files changed, 10 insertions, 7 deletions
diff --git a/interfaces/khexedit/CMakeLists.txt b/interfaces/khexedit/CMakeLists.txt index b98c8ab5f..a94dfd66b 100644 --- a/interfaces/khexedit/CMakeLists.txt +++ b/interfaces/khexedit/CMakeLists.txt @@ -19,4 +19,8 @@ install( FILES ##### other data ################################ -install( FILES kbytesedit.desktop DESTINATION ${SERVICETYPES_INSTALL_DIR} ) +tde_create_translated_desktop( + SOURCE kbytesedit.desktop + DESTINATION ${SERVICETYPES_INSTALL_DIR} + PO_DIR interfaces-desktops +) diff --git a/interfaces/khexedit/byteseditinterface.h b/interfaces/khexedit/byteseditinterface.h index 3bc5749d2..bfeaa43e5 100644 --- a/interfaces/khexedit/byteseditinterface.h +++ b/interfaces/khexedit/byteseditinterface.h @@ -206,7 +206,7 @@ inline BytesEditInterface *bytesEditInterface( T *t ) * � if( Clipboard ) * � { * � � // Yes, use BytesEditWidget, not Clipboard, because that's the TQObject, indeed hacky... - * � � connect( BytesEditWidget, TQT_SIGNAL(copyAvailable(bool)), this, TQT_SLOT(offerCopy(bool)) ); + * � � connect( BytesEditWidget, TQ_SIGNAL(copyAvailable(bool)), this, TQ_SLOT(offerCopy(bool)) ); * � } * } * \endcode @@ -221,7 +221,7 @@ inline BytesEditInterface *bytesEditInterface( T *t ) inline TQWidget *createBytesEditWidget( TQWidget *Parent = 0, const char *Name = 0 ) { return KParts::ComponentFactory::createInstanceFromQuery<TQWidget> - ( TQString::fromLatin1("KHexEdit/KBytesEdit"), TQString::null, TQT_TQOBJECT(Parent), Name ); + ( TQString::fromLatin1("KHexEdit/KBytesEdit"), TQString::null, Parent, Name ); } } diff --git a/interfaces/khexedit/clipboardinterface.h b/interfaces/khexedit/clipboardinterface.h index c63c5a88e..ec77b1a48 100644 --- a/interfaces/khexedit/clipboardinterface.h +++ b/interfaces/khexedit/clipboardinterface.h @@ -35,7 +35,7 @@ namespace KHE * if( Clipboard ) * { * � // Yes, use BytesEditWidget, not Clipboard, because that's the TQObject, indeed hacky... - * � connect( BytesEditWidget, TQT_SIGNAL(copyAvailable(bool)), this, TQT_SLOT(offerCopy(bool)) ); + * � connect( BytesEditWidget, TQ_SIGNAL(copyAvailable(bool)), this, TQ_SLOT(offerCopy(bool)) ); * } * \endcode * @@ -78,7 +78,7 @@ ClipboardInterface *clipboardInterface( T *t ) if( !t ) return 0; - return ::tqqt_cast<KHE::ClipboardInterface*>( t ); + return ::tqt_cast<KHE::ClipboardInterface*>( t ); } } diff --git a/interfaces/khexedit/kbytesedit.desktop b/interfaces/khexedit/kbytesedit.desktop index c91680dc8..faaa8df99 100644 --- a/interfaces/khexedit/kbytesedit.desktop +++ b/interfaces/khexedit/kbytesedit.desktop @@ -1,4 +1,3 @@ [Desktop Entry] Type=ServiceType X-TDE-ServiceType=KHexEdit/KBytesEdit - diff --git a/interfaces/khexedit/zoominterface.h b/interfaces/khexedit/zoominterface.h index 9c6f0f677..21145cb9a 100644 --- a/interfaces/khexedit/zoominterface.h +++ b/interfaces/khexedit/zoominterface.h @@ -71,7 +71,7 @@ ZoomInterface *zoomInterface( T *t ) if( !t ) return 0; - return ::tqqt_cast<KHE::ZoomInterface*>( t ); + return ::tqt_cast<KHE::ZoomInterface*>( t ); } } |
