From 33c7d159890b81da8f44ee330a349e3abd553bec Mon Sep 17 00:00:00 2001 From: Michele Calgaro Date: Mon, 25 Sep 2023 12:23:23 +0900 Subject: Replace QObject, QWidget, QImage, QPair, QRgb, QColor, QChar, QString, QIODevice with TQ* version Signed-off-by: Michele Calgaro --- nsplugins/README | 4 ++-- nsplugins/viewer/glibevents.h | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) (limited to 'nsplugins') diff --git a/nsplugins/README b/nsplugins/README index d465ddc24..769b3ee08 100644 --- a/nsplugins/README +++ b/nsplugins/README @@ -79,11 +79,11 @@ it can be resized, focused and unfocused with standard X11 functions as long as we know its' window ID. PluginPart gets a NSPluginInstance (from NSPluginLoader::newInstance), -which it sees as a regular QWidget. e.g. it can resize the QWidget and +which it sees as a regular TQWidget. e.g. it can resize the TQWidget and nspluginviewer's window will resize. This magic happens thanks to KJavaEmbed which NSPluginInstance inherits. -KJavaEmbed inherits QWidget and hooks up to QWidget's events, mapping +KJavaEmbed inherits TQWidget and hooks up to TQWidget's events, mapping those events to the appropriate X11 window operations. Resizing, focusing in and out is about all PluginPart could ever do with the nspluginviewer. diff --git a/nsplugins/viewer/glibevents.h b/nsplugins/viewer/glibevents.h index dadc7523f..379fc4722 100644 --- a/nsplugins/viewer/glibevents.h +++ b/nsplugins/viewer/glibevents.h @@ -26,7 +26,7 @@ #include class GlibEvents - : public QWidget + : public TQWidget { TQ_OBJECT public: -- cgit v1.2.1