diff options
32 files changed, 94 insertions, 94 deletions
diff --git a/examples/dcasttest.cc b/examples/dcasttest.cc index 5066cd7..2b0c4c7 100644 --- a/examples/dcasttest.cc +++ b/examples/dcasttest.cc @@ -16,8 +16,8 @@ along with this program; if not, write to the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. - Permission is also granted to link this program with the Qt - library, treating Qt like a library that normally accompanies the + Permission is also granted to link this program with the TQt + library, treating TQt like a library that normally accompanies the operating system kernel, whether or not that is in fact the case. */ diff --git a/examples/flow.cc b/examples/flow.cc index eaddf32..ca82452 100644 --- a/examples/flow.cc +++ b/examples/flow.cc @@ -17,8 +17,8 @@ along with this program; if not, write to the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. - Permission is also granted to link this program with the Qt - library, treating Qt like a library that normally accompanies the + Permission is also granted to link this program with the TQt + library, treating TQt like a library that normally accompanies the operating system kernel, whether or not that is in fact the case. */ @@ -45,7 +45,7 @@ int main() connect(sin, play, "invalue_left"); connect(sin, play, "invalue_right"); - // start all objects (maybe we should group objects like with QWidget + // start all objects (maybe we should group objects like with TQWidget // parents and such?) freq.start(); sin.start(); diff --git a/examples/hello_impl.cc b/examples/hello_impl.cc index 5f7bb68..3bcd210 100644 --- a/examples/hello_impl.cc +++ b/examples/hello_impl.cc @@ -18,8 +18,8 @@ along with this program; if not, write to the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. - Permission is also granted to link this program with the Qt - library, treating Qt like a library that normally accompanies the + Permission is also granted to link this program with the TQt + library, treating TQt like a library that normally accompanies the operating system kernel, whether or not that is in fact the case. */ diff --git a/examples/hello_impl.h b/examples/hello_impl.h index 13c61a7..10e080a 100644 --- a/examples/hello_impl.h +++ b/examples/hello_impl.h @@ -18,8 +18,8 @@ along with this program; if not, write to the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. - Permission is also granted to link this program with the Qt - library, treating Qt like a library that normally accompanies the + Permission is also granted to link this program with the TQt + library, treating TQt like a library that normally accompanies the operating system kernel, whether or not that is in fact the case. */ diff --git a/examples/helloclient.cc b/examples/helloclient.cc index f5f3410..b63fc9e 100644 --- a/examples/helloclient.cc +++ b/examples/helloclient.cc @@ -17,8 +17,8 @@ along with this program; if not, write to the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. - Permission is also granted to link this program with the Qt - library, treating Qt like a library that normally accompanies the + Permission is also granted to link this program with the TQt + library, treating TQt like a library that normally accompanies the operating system kernel, whether or not that is in fact the case. */ diff --git a/examples/hellodynamic.cc b/examples/hellodynamic.cc index b55cbf4..e6a65e6 100644 --- a/examples/hellodynamic.cc +++ b/examples/hellodynamic.cc @@ -17,8 +17,8 @@ along with this program; if not, write to the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. - Permission is also granted to link this program with the Qt - library, treating Qt like a library that normally accompanies the + Permission is also granted to link this program with the TQt + library, treating TQt like a library that normally accompanies the operating system kernel, whether or not that is in fact the case. */ diff --git a/examples/hellomain.cc b/examples/hellomain.cc index 024f97a..addf0d8 100644 --- a/examples/hellomain.cc +++ b/examples/hellomain.cc @@ -17,8 +17,8 @@ along with this program; if not, write to the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. - Permission is also granted to link this program with the Qt - library, treating Qt like a library that normally accompanies the + Permission is also granted to link this program with the TQt + library, treating TQt like a library that normally accompanies the operating system kernel, whether or not that is in fact the case. */ diff --git a/examples/helloserver.cc b/examples/helloserver.cc index 01ffa41..bbc966c 100644 --- a/examples/helloserver.cc +++ b/examples/helloserver.cc @@ -17,8 +17,8 @@ along with this program; if not, write to the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. - Permission is also granted to link this program with the Qt - library, treating Qt like a library that normally accompanies the + Permission is also granted to link this program with the TQt + library, treating TQt like a library that normally accompanies the operating system kernel, whether or not that is in fact the case. */ diff --git a/examples/irdemo.cc b/examples/irdemo.cc index aedd832..8607119 100644 --- a/examples/irdemo.cc +++ b/examples/irdemo.cc @@ -17,8 +17,8 @@ along with this program; if not, write to the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. - Permission is also granted to link this program with the Qt - library, treating Qt like a library that normally accompanies the + Permission is also granted to link this program with the TQt + library, treating TQt like a library that normally accompanies the operating system kernel, whether or not that is in fact the case. */ diff --git a/examples/referenceinfo.cc b/examples/referenceinfo.cc index b980378..9f2b725 100644 --- a/examples/referenceinfo.cc +++ b/examples/referenceinfo.cc @@ -17,8 +17,8 @@ along with this program; if not, write to the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. - Permission is also granted to link this program with the Qt - library, treating Qt like a library that normally accompanies the + Permission is also granted to link this program with the TQt + library, treating TQt like a library that normally accompanies the operating system kernel, whether or not that is in fact the case. */ diff --git a/examples/streamsound.cc b/examples/streamsound.cc index 170d6de..a5e4327 100644 --- a/examples/streamsound.cc +++ b/examples/streamsound.cc @@ -17,8 +17,8 @@ along with this program; if not, write to the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. - Permission is also granted to link this program with the Qt - library, treating Qt like a library that normally accompanies the + Permission is also granted to link this program with the TQt + library, treating TQt like a library that normally accompanies the operating system kernel, whether or not that is in fact the case. */ diff --git a/examples/testasubsys.cc b/examples/testasubsys.cc index b70bf9d..c3ea6aa 100644 --- a/examples/testasubsys.cc +++ b/examples/testasubsys.cc @@ -17,8 +17,8 @@ along with this program; if not, write to the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. - Permission is also granted to link this program with the Qt - library, treating Qt like a library that normally accompanies the + Permission is also granted to link this program with the TQt + library, treating TQt like a library that normally accompanies the operating system kernel, whether or not that is in fact the case. */ diff --git a/examples/testdhandle.cc b/examples/testdhandle.cc index 564687d..e012762 100644 --- a/examples/testdhandle.cc +++ b/examples/testdhandle.cc @@ -17,8 +17,8 @@ along with this program; if not, write to the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. - Permission is also granted to link this program with the Qt - library, treating Qt like a library that normally accompanies the + Permission is also granted to link this program with the TQt + library, treating TQt like a library that normally accompanies the operating system kernel, whether or not that is in fact the case. */ diff --git a/examples/x11commtest.cc b/examples/x11commtest.cc index c1b27dd..7f1bf2e 100644 --- a/examples/x11commtest.cc +++ b/examples/x11commtest.cc @@ -18,8 +18,8 @@ along with this program; if not, write to the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. - Permission is also granted to link this program with the Qt - library, treating Qt like a library that normally accompanies the + Permission is also granted to link this program with the TQt + library, treating TQt like a library that normally accompanies the operating system kernel, whether or not that is in fact the case. */ diff --git a/mcopidl/mcopidl.cc b/mcopidl/mcopidl.cc index a349bdf..59eaebd 100644 --- a/mcopidl/mcopidl.cc +++ b/mcopidl/mcopidl.cc @@ -17,8 +17,8 @@ along with this program; if not, write to the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. - Permission is also granted to link this program with the Qt - library, treating Qt like a library that normally accompanies the + Permission is also granted to link this program with the TQt + library, treating TQt like a library that normally accompanies the operating system kernel, whether or not that is in fact the case. */ diff --git a/qtmcop/qiomanager.cc b/qtmcop/qiomanager.cc index a6990cf..2b4608f 100644 --- a/qtmcop/qiomanager.cc +++ b/qtmcop/qiomanager.cc @@ -22,8 +22,8 @@ #include "qiomanager.h" #include "qiomanager_p.h" -#include <qsocketnotifier.h> -#include <qapplication.h> +#include <tqsocketnotifier.h> +#include <tqapplication.h> #include "debug.h" #include "dispatcher.h" #include "thread.h" @@ -66,11 +66,11 @@ static bool qioBlocking; * QIOWatch: */ QIOWatch::QIOWatch(int fd, int type, IONotify *notify, - QSocketNotifier::Type qtype, bool reentrant) + TQSocketNotifier::Type qtype, bool reentrant) : _fd(fd), _type(type), _client(notify), _reentrant(reentrant) { - qsocketnotify = new QSocketNotifier(fd,qtype,this); - connect(qsocketnotify,SIGNAL(activated(int)),this,SLOT(notify(int))); + qsocketnotify = new TQSocketNotifier(fd,qtype,this); + connect(qsocketnotify,TQT_SIGNAL(activated(int)),this,TQT_SLOT(notify(int))); } void QIOWatch::notify(int socket) @@ -80,17 +80,17 @@ void QIOWatch::notify(int socket) } /* - * QTimeWatch: + * TQTimeWatch: */ -QTimeWatch::QTimeWatch(int milliseconds, TimeNotify *notify) +TQTimeWatch::TQTimeWatch(int milliseconds, TimeNotify *notify) { - timer = new QTimer(this); - connect( timer, SIGNAL(timeout()), this, SLOT(notify()) ); + timer = new TQTimer(this); + connect( timer, TQT_SIGNAL(timeout()), this, TQT_SLOT(notify()) ); timer->start(milliseconds); _client = notify; } -void QTimeWatch::notify() +void TQTimeWatch::notify() { qioManager->dispatch(this); } @@ -179,19 +179,19 @@ void QIOManager::watchFD(int fd, int types, IONotify *notify) if(types & IOType::read) { fdList.push_back( - new QIOWatch(fd, IOType::read, notify, QSocketNotifier::Read, r) + new QIOWatch(fd, IOType::read, notify, TQSocketNotifier::Read, r) ); } if(types & IOType::write) { fdList.push_back( - new QIOWatch(fd, IOType::write, notify, QSocketNotifier::Write, r) + new QIOWatch(fd, IOType::write, notify, TQSocketNotifier::Write, r) ); } if(types & IOType::except) { fdList.push_back( - new QIOWatch(fd, IOType::except, notify, QSocketNotifier::Exception, + new QIOWatch(fd, IOType::except, notify, TQSocketNotifier::Exception, r) ); } @@ -228,17 +228,17 @@ void QIOManager::addTimer(int milliseconds, TimeNotify *notify) notify = new HandleNotifications(); milliseconds = 0; } - timeList.push_back(new QTimeWatch(milliseconds,notify)); + timeList.push_back(new TQTimeWatch(milliseconds,notify)); } void QIOManager::removeTimer(TimeNotify *notify) { - list<QTimeWatch *>::iterator i; + list<TQTimeWatch *>::iterator i; i = timeList.begin(); while(i != timeList.end()) { - QTimeWatch *w = *i; + TQTimeWatch *w = *i; if(w->client() == notify) { @@ -271,7 +271,7 @@ void QIOManager::dispatch(QIOWatch *ioWatch) qioLevel--; } -void QIOManager::dispatch(QTimeWatch *timeWatch) +void QIOManager::dispatch(TQTimeWatch *timeWatch) { qioLevel++; if(qioLevel == 1) diff --git a/qtmcop/qiomanager.h b/qtmcop/qiomanager.h index 3eafe51..3ab488c 100644 --- a/qtmcop/qiomanager.h +++ b/qtmcop/qiomanager.h @@ -30,20 +30,20 @@ #define QIOMANAGER_H #include "iomanager.h" -#include <qobject.h> -#include <qtimer.h> -#include <qsocketnotifier.h> +#include <tqobject.h> +#include <tqtimer.h> +#include <tqsocketnotifier.h> #include <list> #include "arts_export.h" namespace Arts { class QIOWatch; -class QTimeWatch; +class TQTimeWatch; /** - * QIOManager performs MCOP I/O inside the Qt event loop. This way, you will - * be able to receive requests and notifications inside Qt application. The + * QIOManager performs MCOP I/O inside the TQt event loop. This way, you will + * be able to receive requests and notifications inside TQt application. The * usual way to set it up is: * * <pre> @@ -59,13 +59,13 @@ class QTimeWatch; class ARTS_EXPORT QIOManager : public IOManager { protected: friend class QIOWatch; - friend class QTimeWatch; + friend class TQTimeWatch; std::list<QIOWatch *> fdList; - std::list<QTimeWatch *> timeList; + std::list<TQTimeWatch *> timeList; void dispatch(QIOWatch *ioWatch); - void dispatch(QTimeWatch *timeWatch); + void dispatch(TQTimeWatch *timeWatch); public: QIOManager(); diff --git a/qtmcop/qiomanager_p.h b/qtmcop/qiomanager_p.h index 8877b19..4024d5e 100644 --- a/qtmcop/qiomanager_p.h +++ b/qtmcop/qiomanager_p.h @@ -21,7 +21,7 @@ */ /* - * BC - Status (2002-03-08): QIOWatch, QTimeWatch. + * BC - Status (2002-03-08): QIOWatch, TQTimeWatch. * * These classes provide implementation details and not meant to be used * in any way. @@ -31,24 +31,24 @@ #define QIOMANAGER_P_H #include "iomanager.h" -#include <qobject.h> -#include <qtimer.h> -#include <qsocketnotifier.h> +#include <tqobject.h> +#include <tqtimer.h> +#include <tqsocketnotifier.h> #include <list> namespace Arts { -class QIOWatch : public QObject { +class QIOWatch : public TQObject { Q_OBJECT protected: - QSocketNotifier *qsocketnotify; + TQSocketNotifier *qsocketnotify; int _fd; int _type; IONotify *_client; bool _reentrant; public: - QIOWatch(int fd, int type, IONotify *notify, QSocketNotifier::Type qtype, + QIOWatch(int fd, int type, IONotify *notify, TQSocketNotifier::Type qtype, bool reentrant); inline IONotify *client() { return _client; } @@ -59,13 +59,13 @@ public slots: void notify(int socket); }; -class QTimeWatch : public QObject { +class TQTimeWatch : public TQObject { Q_OBJECT protected: - QTimer *timer; + TQTimer *timer; TimeNotify *_client; public: - QTimeWatch(int milliseconds, TimeNotify *notify); + TQTimeWatch(int milliseconds, TimeNotify *notify); inline TimeNotify *client() { return _client; } public slots: diff --git a/soundserver/artscat.cc b/soundserver/artscat.cc index c6818c8..4f53ae3 100644 --- a/soundserver/artscat.cc +++ b/soundserver/artscat.cc @@ -17,8 +17,8 @@ along with this program; if not, write to the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. - Permission is also granted to link this program with the Qt - library, treating Qt like a library that normally accompanies the + Permission is also granted to link this program with the TQt + library, treating TQt like a library that normally accompanies the operating system kernel, whether or not that is in fact the case. */ diff --git a/soundserver/artsd.cc b/soundserver/artsd.cc index 6b6a22e..fd91e8c 100644 --- a/soundserver/artsd.cc +++ b/soundserver/artsd.cc @@ -18,8 +18,8 @@ along with this program; if not, write to the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. - Permission is also granted to link this program with the Qt - library, treating Qt like a library that normally accompanies the + Permission is also granted to link this program with the TQt + library, treating TQt like a library that normally accompanies the operating system kernel, whether or not that is in fact the case. */ diff --git a/soundserver/artsplay.cc b/soundserver/artsplay.cc index b8dec3d..d038989 100644 --- a/soundserver/artsplay.cc +++ b/soundserver/artsplay.cc @@ -17,8 +17,8 @@ along with this program; if not, write to the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. - Permission is also granted to link this program with the Qt - library, treating Qt like a library that normally accompanies the + Permission is also granted to link this program with the TQt + library, treating TQt like a library that normally accompanies the operating system kernel, whether or not that is in fact the case. */ diff --git a/soundserver/artsrec.cc b/soundserver/artsrec.cc index c53b0ff..616994c 100644 --- a/soundserver/artsrec.cc +++ b/soundserver/artsrec.cc @@ -19,8 +19,8 @@ along with this program; if not, write to the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. - Permission is also granted to link this program with the Qt - library, treating Qt like a library that normally accompanies the + Permission is also granted to link this program with the TQt + library, treating TQt like a library that normally accompanies the operating system kernel, whether or not that is in fact the case. */ diff --git a/soundserver/simplesoundserver_impl.cc b/soundserver/simplesoundserver_impl.cc index 0f11c99..1dd895f 100644 --- a/soundserver/simplesoundserver_impl.cc +++ b/soundserver/simplesoundserver_impl.cc @@ -21,8 +21,8 @@ along with this program; if not, write to the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. - Permission is also granted to link this program with the Qt - library, treating Qt like a library that normally accompanies the + Permission is also granted to link this program with the TQt + library, treating TQt like a library that normally accompanies the operating system kernel, whether or not that is in fact the case. */ diff --git a/soundserver/simplesoundserver_impl.h b/soundserver/simplesoundserver_impl.h index 33971fe..0a5249d 100644 --- a/soundserver/simplesoundserver_impl.h +++ b/soundserver/simplesoundserver_impl.h @@ -21,8 +21,8 @@ along with this program; if not, write to the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. - Permission is also granted to link this program with the Qt - library, treating Qt like a library that normally accompanies the + Permission is also granted to link this program with the TQt + library, treating TQt like a library that normally accompanies the operating system kernel, whether or not that is in fact the case. */ diff --git a/soundserver/soundserver_impl.cc b/soundserver/soundserver_impl.cc index 7c84792..e006e6a 100644 --- a/soundserver/soundserver_impl.cc +++ b/soundserver/soundserver_impl.cc @@ -17,8 +17,8 @@ along with this program; if not, write to the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. - Permission is also granted to link this program with the Qt - library, treating Qt like a library that normally accompanies the + Permission is also granted to link this program with the TQt + library, treating TQt like a library that normally accompanies the operating system kernel, whether or not that is in fact the case. */ diff --git a/soundserver/soundserver_impl.h b/soundserver/soundserver_impl.h index 670b146..13df438 100644 --- a/soundserver/soundserver_impl.h +++ b/soundserver/soundserver_impl.h @@ -17,8 +17,8 @@ along with this program; if not, write to the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. - Permission is also granted to link this program with the Qt - library, treating Qt like a library that normally accompanies the + Permission is also granted to link this program with the TQt + library, treating TQt like a library that normally accompanies the operating system kernel, whether or not that is in fact the case. */ diff --git a/soundserver/soundserverv2_impl.cc b/soundserver/soundserverv2_impl.cc index 932c4fd..45b76d2 100644 --- a/soundserver/soundserverv2_impl.cc +++ b/soundserver/soundserverv2_impl.cc @@ -19,8 +19,8 @@ along with this program; if not, write to the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. - Permission is also granted to link this program with the Qt - library, treating Qt like a library that normally accompanies the + Permission is also granted to link this program with the TQt + library, treating TQt like a library that normally accompanies the operating system kernel, whether or not that is in fact the case. */ diff --git a/soundserver/soundserverv2_impl.h b/soundserver/soundserverv2_impl.h index 9ea74a9..c1d2705 100644 --- a/soundserver/soundserverv2_impl.h +++ b/soundserver/soundserverv2_impl.h @@ -17,8 +17,8 @@ along with this program; if not, write to the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. - Permission is also granted to link this program with the Qt - library, treating Qt like a library that normally accompanies the + Permission is also granted to link this program with the TQt + library, treating TQt like a library that normally accompanies the operating system kernel, whether or not that is in fact the case. */ diff --git a/tests/testchangenotify.cc b/tests/testchangenotify.cc index 0447e7c..5b1ee0a 100644 --- a/tests/testchangenotify.cc +++ b/tests/testchangenotify.cc @@ -16,8 +16,8 @@ along with this program; if not, write to the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. - Permission is also granted to link this program with the Qt - library, treating Qt like a library that normally accompanies the + Permission is also granted to link this program with the TQt + library, treating TQt like a library that normally accompanies the operating system kernel, whether or not that is in fact the case. */ diff --git a/tests/testremote.cc b/tests/testremote.cc index 85bdfb2..afa49ae 100644 --- a/tests/testremote.cc +++ b/tests/testremote.cc @@ -16,8 +16,8 @@ along with this program; if not, write to the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. - Permission is also granted to link this program with the Qt - library, treating Qt like a library that normally accompanies the + Permission is also granted to link this program with the TQt + library, treating TQt like a library that normally accompanies the operating system kernel, whether or not that is in fact the case. */ diff --git a/tests/testwrapper.cc b/tests/testwrapper.cc index 9be8c35..b967c42 100644 --- a/tests/testwrapper.cc +++ b/tests/testwrapper.cc @@ -16,8 +16,8 @@ along with this program; if not, write to the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. - Permission is also granted to link this program with the Qt - library, treating Qt like a library that normally accompanies the + Permission is also granted to link this program with the TQt + library, treating TQt like a library that normally accompanies the operating system kernel, whether or not that is in fact the case. */ diff --git a/x11/x11globalcomm_impl.cc b/x11/x11globalcomm_impl.cc index 71ac0c1..4c54b9e 100644 --- a/x11/x11globalcomm_impl.cc +++ b/x11/x11globalcomm_impl.cc @@ -21,7 +21,7 @@ /* * This is based on Mark Donohoe's nice KRootProp class (found in * kdelibs/kdecore/krootprop.cpp). I couldn't use KRootProp directly, since - * I wanted aRts (and even it's X11 support) to work without KDE and/or Qt + * I wanted aRts (and even it's X11 support) to work without KDE and/or TQt * installed at all. */ |