summaryrefslogtreecommitdiffstats
path: root/extensions
diff options
context:
space:
mode:
authorTimothy Pearson <kb9vqf@pearsoncomputing.net>2012-01-26 23:32:43 -0600
committerTimothy Pearson <kb9vqf@pearsoncomputing.net>2012-01-26 23:32:43 -0600
commitea318d1431c89e647598c510c4245c6571aa5f46 (patch)
tree996d29b80c30d453dda86d1a23162d441628f169 /extensions
parentaaf89d4b48f69c9293feb187db26362e550b5561 (diff)
downloadtqt3-ea318d1431c89e647598c510c4245c6571aa5f46.tar.gz
tqt3-ea318d1431c89e647598c510c4245c6571aa5f46.zip
Update to latest tqt3 automated conversion
Diffstat (limited to 'extensions')
-rw-r--r--extensions/nsplugin/examples/grapher/grapher.cpp18
-rw-r--r--extensions/nsplugin/examples/trivial/trivial.cpp6
-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
5 files changed, 30 insertions, 30 deletions
diff --git a/extensions/nsplugin/examples/grapher/grapher.cpp b/extensions/nsplugin/examples/grapher/grapher.cpp
index 305c60e4d..afd444534 100644
--- a/extensions/nsplugin/examples/grapher/grapher.cpp
+++ b/extensions/nsplugin/examples/grapher/grapher.cpp
@@ -1,15 +1,15 @@
// Include TQt Netscape Plugin classes.
-#include "qnp.h"
+#include "ntqnp.h"
// Include other TQt classes.
-#include <qpainter.h>
-#include <qtextstream.h>
-#include <qbuffer.h>
-#include <qpixmap.h>
-#include <qmenubar.h>
-#include <qpushbutton.h>
-#include <qptrlist.h>
-#include <qmessagebox.h>
+#include <ntqpainter.h>
+#include <ntqtextstream.h>
+#include <ntqbuffer.h>
+#include <ntqpixmap.h>
+#include <ntqmenubar.h>
+#include <ntqpushbutton.h>
+#include <ntqptrlist.h>
+#include <ntqmessagebox.h>
// Include some C library functions.
#include <math.h>
diff --git a/extensions/nsplugin/examples/trivial/trivial.cpp b/extensions/nsplugin/examples/trivial/trivial.cpp
index ec3660fa6..3223ed741 100644
--- a/extensions/nsplugin/examples/trivial/trivial.cpp
+++ b/extensions/nsplugin/examples/trivial/trivial.cpp
@@ -1,7 +1,7 @@
// TQt stuff
-#include "qnp.h"
-#include <qpainter.h>
-#include <qmessagebox.h>
+#include "ntqnp.h"
+#include <ntqpainter.h>
+#include <ntqmessagebox.h>
class Trivial : public TQNPWidget {
Q_OBJECT
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