diff options
Diffstat (limited to 'kdejava/koala/org/kde/koala/KRegExpEditorInterface.java')
-rw-r--r-- | kdejava/koala/org/kde/koala/KRegExpEditorInterface.java | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/kdejava/koala/org/kde/koala/KRegExpEditorInterface.java b/kdejava/koala/org/kde/koala/KRegExpEditorInterface.java index e28a582e..981fd713 100644 --- a/kdejava/koala/org/kde/koala/KRegExpEditorInterface.java +++ b/kdejava/koala/org/kde/koala/KRegExpEditorInterface.java @@ -17,7 +17,7 @@ import org.kde.qt.QtSupport; The following is a template for what you need to do to create an instance of the regular expression dialog: <pre> - QDialog editorDialog = KParts.ComponentFactory.createInstanceFromQuery<QDialog>( "KRegExpEditor/KRegExpEditor" ); + TQDialog editorDialog = KParts.ComponentFactory.createInstanceFromQuery<TQDialog>( "KRegExpEditor/KRegExpEditor" ); if ( editorDialog ) { // tdeutils was installed, so the dialog was found fetch the editor interface KRegExpEditorInterface editor = (KRegExpEditorInterface)( editorDialog.qt_cast( "KRegExpEditorInterface" ) ); @@ -38,8 +38,8 @@ import org.kde.qt.QtSupport; If you want to create an instance of the editor widget, i.e. not the dialog, then you must do it in the following way: <pre> - QWidget editorWidget = - KParts.ComponentFactory.createInstanceFromQuery<QWidget>( + TQWidget editorWidget = + KParts.ComponentFactory.createInstanceFromQuery<TQWidget>( "KRegExpEditor/KRegExpEditor", null, parent ); if ( editorWidget ) { // tdeutils was installed, so the widget was found fetch the editor interface @@ -65,14 +65,14 @@ public class KRegExpEditorInterface implements QtSupport { protected KRegExpEditorInterface(Class dummy){} /** - returns the regular expression of the editor in Qt3 QRegExp + returns the regular expression of the editor in Qt3 TQRegExp syntax. Note, there is also a 'regexp' Qt property available. - @short returns the regular expression of the editor in Qt3 QRegExp syntax. + @short returns the regular expression of the editor in Qt3 TQRegExp syntax. */ public native String regExp(); /** Set the regular expression for the editor. The syntax must be Qt3 - QRegExp syntax. + TQRegExp syntax. @short Set the regular expression for the editor. */ public native void setRegExp(String regexp); @@ -96,5 +96,5 @@ public class KRegExpEditorInterface implements QtSupport { Conclusion: You should not use this method in this version of KDE! @short This method allows for future changes that will not break binary compatibility. */ - // void doSomething(QString arg1,void* arg2); >>>> NOT CONVERTED + // void doSomething(TQString arg1,void* arg2); >>>> NOT CONVERTED } |