diff options
author | Michele Calgaro <[email protected]> | 2023-09-25 12:23:23 +0900 |
---|---|---|
committer | Michele Calgaro <[email protected]> | 2023-09-25 17:53:57 +0900 |
commit | 0bfe293635aacc850731080cbda642a0b94baf94 (patch) | |
tree | bc77925f966255c5f66a069e63266828a168b296 /twin/README | |
parent | b5a1d6eca507ade6d0a22fabdb7f318cbd58f1a4 (diff) | |
download | tdebase-0bfe293635aacc850731080cbda642a0b94baf94.tar.gz tdebase-0bfe293635aacc850731080cbda642a0b94baf94.zip |
Replace QObject, QWidget, QImage, QPair, QRgb, QColor, QChar, QString, QIODevice with TQ* version
Signed-off-by: Michele Calgaro <[email protected]>
(cherry picked from commit 33c7d159890b81da8f44ee330a349e3abd553bec)
Diffstat (limited to 'twin/README')
-rw-r--r-- | twin/README | 6 |
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: |