Replace Qt with TQt

Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
pull/18/head
Michele Calgaro 9 months ago
parent b36c429d1c
commit f5ac4d867b
Signed by: MicheleC
GPG Key ID: 2A75B7CA8ADED5CF

@ -4,7 +4,7 @@
convert\-presets convert\-presets
\- convert-presets \- convert-presets
.SH SYNOPSIS .SH SYNOPSIS
convert\-presets [Qt\-options] [TDE\-options] [options] [preset files] convert\-presets [TQt\-options] [TDE\-options] [options] [preset files]
.SH DESCRIPTION .SH DESCRIPTION
convert-presets convert-presets
.SH OPTIONS .SH OPTIONS
@ -21,8 +21,8 @@ files preset file to convert
.B \-\-help .B \-\-help
Show help about options Show help about options
.TP .TP
.B \-\-help\-qt .B \-\-help\-tqt
Show Qt specific options Show TQt specific options
.TP .TP
.B \-\-help\-tde .B \-\-help\-tde
Show TDE specific options Show TDE specific options
@ -71,7 +71,7 @@ sets the application GUI style
.B \-\-geometry <geometry> .B \-\-geometry <geometry>
sets the client geometry of the main widget - see man X for the argument format sets the client geometry of the main widget - see man X for the argument format
.SS .SS
.SS Qt options: .SS TQt options:
.TP .TP
.B \-\-display <displayname> .B \-\-display <displayname>
Use the X-server display 'displayname' Use the X-server display 'displayname'
@ -90,7 +90,7 @@ using the QApplication::ManyColor color
specification specification
.TP .TP
.B \-\-nograb .B \-\-nograb
tells Qt to never grab the mouse or the keyboard tells TQt to never grab the mouse or the keyboard
.TP .TP
.B \-\-dograb .B \-\-dograb
running under a debugger can cause an implicit running under a debugger can cause an implicit

@ -4,7 +4,7 @@
tderadio tderadio
\- TDERadio \- TDERadio
.SH SYNOPSIS .SH SYNOPSIS
tderadio [Qt\-options] [TDE\-options] tderadio [TQt\-options] [TDE\-options]
.SH DESCRIPTION .SH DESCRIPTION
TDERadio TDERadio
.SH OPTIONS .SH OPTIONS
@ -13,8 +13,8 @@ TDERadio
.B \-\-help .B \-\-help
Show help about options Show help about options
.TP .TP
.B \-\-help\-qt .B \-\-help\-tqt
Show Qt specific options Show TQt specific options
.TP .TP
.B \-\-help\-tde .B \-\-help\-tde
Show TDE specific options Show TDE specific options
@ -62,7 +62,7 @@ sets the application GUI style
.TP .TP
.B \-\-geometry <geometry> .B \-\-geometry <geometry>
sets the client geometry of the main widget - see man X for the argument format sets the client geometry of the main widget - see man X for the argument format
.SS Qt options: .SS TQt options:
.TP .TP
.B \-\-display <displayname> .B \-\-display <displayname>
Use the X-server display 'displayname' Use the X-server display 'displayname'
@ -81,7 +81,7 @@ using the QApplication::ManyColor color
specification specification
.TP .TP
.B \-\-nograb .B \-\-nograb
tells Qt to never grab the mouse or the keyboard tells TQt to never grab the mouse or the keyboard
.TP .TP
.B \-\-dograb .B \-\-dograb
running under a debugger can cause an implicit running under a debugger can cause an implicit

@ -103,7 +103,7 @@ protected:
void dragEnterEvent(TQDragEnterEvent* event); void dragEnterEvent(TQDragEnterEvent* event);
void dropEvent(TQDropEvent* event); void dropEvent(TQDropEvent* event);
// KDE/QT // TDE/TQt
public slots: public slots:

@ -94,7 +94,7 @@ void RecordingDataMonitor::setChannels(int n)
} }
// QT/KDE ... // TQt/TDE ...
void RecordingDataMonitor::drawContents(TQPainter *painter) void RecordingDataMonitor::drawContents(TQPainter *painter)
{ {

@ -38,7 +38,7 @@ public:
const SoundFormat &sf, const char *data, size_t size, size_t &consumed_size, const SoundFormat &sf, const char *data, size_t size, size_t &consumed_size,
const SoundMetaData &md); const SoundMetaData &md);
// QT/KDE ... // TQt/TDE ...
protected: protected:

@ -54,9 +54,9 @@
///////////////////////////////////////////////////////////////////////////// /////////////////////////////////////////////////////////////////////////////
Why are we not using QT signal/slots? Why are we not using TQt signal/slots?
First the idea of using qt for connecting interfaces is very nice, as the First the idea of using tqt for connecting interfaces is very nice, as the
signal/slot model is well known and hopefully properly implemented. signal/slot model is well known and hopefully properly implemented.
But there are some problems: But there are some problems:
@ -78,13 +78,13 @@
forget to connect signals/slots of that interfaces. forget to connect signals/slots of that interfaces.
- Aggregation of multiple interface implementations (each one is an TQObject) - Aggregation of multiple interface implementations (each one is an TQObject)
is not possible because qt does not allow multiple inheritance of TQObjects is not possible because tqt does not allow multiple inheritance of TQObjects
///////////////////////////////////////////////////////////////////////////// /////////////////////////////////////////////////////////////////////////////
What about our own solution? What about our own solution?
Well, it eliminates at least the qt-problems explained above. But first we Well, it eliminates at least the tqt-problems explained above. But first we
need a common mechanism to manage interface connections. This functionality need a common mechanism to manage interface connections. This functionality
can be provided by a common base class "InterfaceBase". It stores all can be provided by a common base class "InterfaceBase". It stores all
connected interfaces in a list of InterfaceBase pointers, e.g. TQPtrList. connected interfaces in a list of InterfaceBase pointers, e.g. TQPtrList.

Loading…
Cancel
Save