summaryrefslogtreecommitdiffstats
path: root/extensions/nsplugin/src
diff options
context:
space:
mode:
Diffstat (limited to 'extensions/nsplugin/src')
-rw-r--r--extensions/nsplugin/src/ntqnp.h (renamed from extensions/nsplugin/src/qnp.h)2
-rw-r--r--extensions/nsplugin/src/qnp.cpp30
-rw-r--r--extensions/nsplugin/src/qnp.pro4
3 files changed, 18 insertions, 18 deletions
diff --git a/extensions/nsplugin/src/qnp.h b/extensions/nsplugin/src/ntqnp.h
index 9cfc7d6a0..0b34a21e0 100644
--- a/extensions/nsplugin/src/qnp.h
+++ b/extensions/nsplugin/src/ntqnp.h
@@ -42,7 +42,7 @@
#define TQNP_H
#ifndef QT_H
-#include "qwidget.h"
+#include "ntqwidget.h"
#endif // QT_H
diff --git a/extensions/nsplugin/src/qnp.cpp b/extensions/nsplugin/src/qnp.cpp
index 75e55e848..e26bb9582 100644
--- a/extensions/nsplugin/src/qnp.cpp
+++ b/extensions/nsplugin/src/qnp.cpp
@@ -68,16 +68,16 @@
// - Provide the "reason" parameter to streamDestroyed
// TQt stuff
-#include <qapplication.h>
-#include <qeventloop.h>
-#include <qwidget.h>
-#include <qobjectlist.h>
-#include <qcursor.h>
-#include <qprinter.h>
-#include <qfile.h>
-#include <qpainter.h>
+#include <ntqapplication.h>
+#include <ntqeventloop.h>
+#include <ntqwidget.h>
+#include <ntqobjectlist.h>
+#include <ntqcursor.h>
+#include <ntqprinter.h>
+#include <ntqfile.h>
+#include <ntqpainter.h>
-#include "qnp.h"
+#include "ntqnp.h"
#include <stdlib.h> // Must be here for Borland C++
#include <stdio.h>
@@ -751,7 +751,7 @@ BOOL WINAPI DllMain (HANDLE hInst,
/*!
- \class TQNPWidget qnp.h
+ \class TQNPWidget ntqnp.h
\brief The TQNPWidget class provides a TQWidget that is a web browser plugin window.
\extension Netscape Plugin
@@ -871,7 +871,7 @@ TQNPInstance* TQNPWidget::instance()
/*!
- \class TQNPInstance qnp.h
+ \class TQNPInstance ntqnp.h
\brief The TQNPInstance class provides a TQObject that is a web browser plugin.
\extension Netscape Plugin
@@ -1272,7 +1272,7 @@ void* TQNPInstance::getJavaPeer() const
/*!
- \class TQNPStream qnp.h
+ \class TQNPStream ntqnp.h
\brief The TQNPStream class provides a stream of data provided to a TQNPInstance by the browser.
\extension Netscape Plugin
@@ -1422,7 +1422,7 @@ int TQNPStream::write( int len, void* buffer )
/*!
- \class TQNPlugin qnp.h
+ \class TQNPlugin ntqnp.h
\brief The TQNPlugin class provides the main factory for plugin objects.
\extension Netscape Plugin
@@ -1577,8 +1577,8 @@ void* TQNPlugin::getJavaEnv() const
#ifdef Q_WS_X11
-#include <qapplication.h>
-#include <qwidgetintdict.h>
+#include <ntqapplication.h>
+#include <ntqwidgetintdict.h>
// resolve the conflict between X11's FocusIn and TQEvent::FocusIn
const int XFocusOut = FocusOut;
diff --git a/extensions/nsplugin/src/qnp.pro b/extensions/nsplugin/src/qnp.pro
index 1aedef531..60cc240e8 100644
--- a/extensions/nsplugin/src/qnp.pro
+++ b/extensions/nsplugin/src/qnp.pro
@@ -7,8 +7,8 @@ DESTDIR = ../../../lib
VERSION = 0.4
SOURCES = qnp.cpp
-unix:HEADERS += qnp.h
-win32:HEADERS = ../../../include/qnp.h
+unix:HEADERS += ntqnp.h
+win32:HEADERS = ../../../include/ntqnp.h
win32:LIBS += -lqtmain
MOC_DIR = .
DESTINCDIR = ../../../include