summaryrefslogtreecommitdiffstats
path: root/twin/README
diff options
context:
space:
mode:
authorMichele Calgaro <[email protected]>2023-09-25 12:23:23 +0900
committerMichele Calgaro <[email protected]>2023-09-25 12:28:34 +0900
commit33c7d159890b81da8f44ee330a349e3abd553bec (patch)
tree4ca5c12ef5848d45ef05de99e51763b0a2de22e3 /twin/README
parenteef7c094ea9c14a5e0f523adf341abfe499996c5 (diff)
downloadtdebase-33c7d159890b81da8f44ee330a349e3abd553bec.tar.gz
tdebase-33c7d159890b81da8f44ee330a349e3abd553bec.zip
Replace QObject, QWidget, QImage, QPair, QRgb, QColor, QChar, QString, QIODevice with TQ* version
Signed-off-by: Michele Calgaro <[email protected]>
Diffstat (limited to 'twin/README')
-rw-r--r--twin/README6
1 files changed, 3 insertions, 3 deletions
diff --git a/twin/README b/twin/README
index 8d61c7163..d2fb31c75 100644
--- a/twin/README
+++ b/twin/README
@@ -163,16 +163,16 @@ WM_TRANSIENT_FOR property is manually set using the XSetTransientForHint()
call (see tdelibs/tdeioslave/http/kcookiejar/kcookiewin.cpp). The arguments
to XSetTransientForHint() call are the X display (i.e. qt_xdisplay()),
the window id on which the WM_TRANSIENT_FOR property is to be set
-(i.e. use QWidget::winId()), and the window id of the mainwindow.
+(i.e. use TQWidget::winId()), and the window id of the mainwindow.
Simple short HOWTO:
To put it simply: Let's say you have a daemon application that has
-DCOP call "showDialog( QString text )", and when this is called, it shows
+DCOP call "showDialog( TQString text )", and when this is called, it shows
a dialog with the given text. This won't work properly with focus stealing
prevention. The DCOP call should be changed to
-"showDialog( QString text, long id )". The caller should pass something like
+"showDialog( TQString text, long id )". The caller should pass something like
myMainWindow->winId() as the second argument. In the daemon, before
the dialog is shown, a call to XSetTransientHint() should be added: