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

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

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

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

@ -38,7 +38,7 @@ public:
const SoundFormat &sf, const char *data, size_t size, size_t &consumed_size,
const SoundMetaData &md);
// QT/KDE ...
// TQt/TDE ...
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.
But there are some problems:
@ -78,13 +78,13 @@
forget to connect signals/slots of that interfaces.
- 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?
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
can be provided by a common base class "InterfaceBase". It stores all
connected interfaces in a list of InterfaceBase pointers, e.g. TQPtrList.

Loading…
Cancel
Save