summaryrefslogtreecommitdiffstats
path: root/interfaces/kregexpeditor
diff options
context:
space:
mode:
Diffstat (limited to 'interfaces/kregexpeditor')
-rw-r--r--interfaces/kregexpeditor/CMakeLists.txt6
-rw-r--r--interfaces/kregexpeditor/kregexpeditor.desktop1
-rw-r--r--interfaces/kregexpeditor/kregexpeditorinterface.h6
3 files changed, 8 insertions, 5 deletions
diff --git a/interfaces/kregexpeditor/CMakeLists.txt b/interfaces/kregexpeditor/CMakeLists.txt
index bac8b8fe1..4010eb538 100644
--- a/interfaces/kregexpeditor/CMakeLists.txt
+++ b/interfaces/kregexpeditor/CMakeLists.txt
@@ -17,4 +17,8 @@ install( FILES
##### other data ################################
-install( FILES kregexpeditor.desktop DESTINATION ${SERVICETYPES_INSTALL_DIR} )
+tde_create_translated_desktop(
+ SOURCE kregexpeditor.desktop
+ DESTINATION ${SERVICETYPES_INSTALL_DIR}
+ PO_DIR interfaces-desktops
+)
diff --git a/interfaces/kregexpeditor/kregexpeditor.desktop b/interfaces/kregexpeditor/kregexpeditor.desktop
index ec0d50bb9..62e9649d3 100644
--- a/interfaces/kregexpeditor/kregexpeditor.desktop
+++ b/interfaces/kregexpeditor/kregexpeditor.desktop
@@ -1,4 +1,3 @@
[Desktop Entry]
Type=ServiceType
X-TDE-ServiceType=KRegExpEditor/KRegExpEditor
-
diff --git a/interfaces/kregexpeditor/kregexpeditorinterface.h b/interfaces/kregexpeditor/kregexpeditorinterface.h
index 4124849d6..fbdc22de6 100644
--- a/interfaces/kregexpeditor/kregexpeditorinterface.h
+++ b/interfaces/kregexpeditor/kregexpeditorinterface.h
@@ -25,7 +25,7 @@
* TQDialog *editorDialog = KParts::ComponentFactory::createInstanceFromQuery<TQDialog>( "KRegExpEditor/KRegExpEditor" );
* if ( editorDialog ) {
* // tdeutils was installed, so the dialog was found fetch the editor interface
- * KRegExpEditorInterface *editor = ::tqqt_cast<KRegExpEditorInterface *>( editorDialog );
+ * KRegExpEditorInterface *editor = ::tqt_cast<KRegExpEditorInterface *>( editorDialog );
* Q_ASSERT( editor ); // This should not fail!
*
* // now use the editor.
@@ -41,7 +41,7 @@
*
* Note: signals and slots must be connected to the editorDialog object, not to the editor object:
* \code
- * connect( editorDialog, TQT_SIGNAL( canUndo( bool ) ), undoBut, TQT_SLOT( setEnabled( bool ) ) );
+ * connect( editorDialog, TQ_SIGNAL( canUndo( bool ) ), undoBut, TQ_SLOT( setEnabled( bool ) ) );
* \endcode
*
* If you want to create an instance of the editor widget, i.e. not the
@@ -53,7 +53,7 @@
* "KRegExpEditor/KRegExpEditor", TQString::null, parent );
* if ( editorWidget ) {
* // tdeutils was installed, so the widget was found fetch the editor interface
- * KRegExpEditorInterface *editor = ::tqqt_cast<KRegExpEditorInterface *>( editorWidget );
+ * KRegExpEditorInterface *editor = ::tqt_cast<KRegExpEditorInterface *>( editorWidget );
* Q_ASSERT( editor ); // This should not fail!
*
* // now use the editor.