Replace Qt with TQt

Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
(cherry picked from commit 7b4eb8439c)
r14.1.x
Michele Calgaro 8 months ago
parent 5b1ac559bd
commit 8a69776a27
Signed by: MicheleC
GPG Key ID: 2A75B7CA8ADED5CF

@ -32,8 +32,8 @@ Open basket archive or template
\fB\-\-help\fR \fB\-\-help\fR
Show help about options Show help about options
.TP .TP
\fB\-\-help\-qt\fR \fB\-\-help\-tqt\fR
Show Qt specific options Show TQt specific options
.TP .TP
\fB\-\-help\-tde\fR \fB\-\-help\-tde\fR
Show TDE specific options Show TDE specific options
@ -52,7 +52,7 @@ Show license information
.TP .TP
\fB\-\-\fR \fB\-\-\fR
End of options End of options
.SS "Qt options:" .SS "TQt options:"
.TP .TP
\fB\-\-display\fR <displayname> \fB\-\-display\fR <displayname>
Use the X\-server display 'displayname' Use the X\-server display 'displayname'
@ -71,7 +71,7 @@ using the QApplication::ManyColor color
specification specification
.TP .TP
\fB\-\-nograb\fR \fB\-\-nograb\fR
tells Qt to never grab the mouse or the keyboard tells TQt to never grab the mouse or the keyboard
.TP .TP
\fB\-\-dograb\fR \fB\-\-dograb\fR
running under a debugger can cause an implicit running under a debugger can cause an implicit

@ -2416,7 +2416,7 @@ void Basket::contentsMouseMoveEvent(TQMouseEvent *event)
m_selectionStarted = false; m_selectionStarted = false;
NoteSelection *selection = selectedNotes(); NoteSelection *selection = selectedNotes();
if (selection && selection->firstStacked()) { if (selection && selection->firstStacked()) {
TQDragObject *d = NoteDrag::dragObject(selection, /*cutting=*/false, /*source=*/this); // d will be deleted by QT TQDragObject *d = NoteDrag::dragObject(selection, /*cutting=*/false, /*source=*/this); // d will be deleted by TQt
/*bool shouldRemove = */d->drag(); /*bool shouldRemove = */d->drag();
// delete selection; // delete selection;
@ -4205,10 +4205,10 @@ void Basket::doCopy(CopyMode copyMode)
NoteSelection *selection = selectedNotes(); NoteSelection *selection = selectedNotes();
int countCopied = countSelecteds(); int countCopied = countSelecteds();
if (selection && selection->firstStacked()) { if (selection && selection->firstStacked()) {
TQDragObject *d = NoteDrag::dragObject(selection, copyMode == CutToClipboard, /*source=*/0); // d will be deleted by QT TQDragObject *d = NoteDrag::dragObject(selection, copyMode == CutToClipboard, /*source=*/0); // d will be deleted by TQt
// /*bool shouldRemove = */d->drag(); // /*bool shouldRemove = */d->drag();
// delete selection; // delete selection;
cb->setData(d, mode); // NoteMultipleDrag will be deleted by QT cb->setData(d, mode); // NoteMultipleDrag will be deleted by TQt
// if (copyMode == CutToClipboard && !note->useFile()) // If useFile(), NoteDrag::dragObject() will delete it TODO // if (copyMode == CutToClipboard && !note->useFile()) // If useFile(), NoteDrag::dragObject() will delete it TODO
// note->slotDelete(); // note->slotDelete();

@ -66,7 +66,7 @@ static TQAlphaWidget* q_blend = 0;
*/ */
TQAlphaWidget::TQAlphaWidget( TQWidget* w, WFlags f ) TQAlphaWidget::TQAlphaWidget( TQWidget* w, WFlags f )
: TQWidget( TQApplication::desktop()->screen(TQApplication::desktop()->screenNumber(w)), : TQWidget( TQApplication::desktop()->screen(TQApplication::desktop()->screenNumber(w)),
"qt internal alpha effect widget", f ) "tqt internal alpha effect widget", f )
{ {
#if 1 //ndef TQ_WS_WIN #if 1 //ndef TQ_WS_WIN
setEnabled( FALSE ); setEnabled( FALSE );
@ -297,7 +297,7 @@ static TQRollEffect* q_roll = 0;
*/ */
TQRollEffect::TQRollEffect( TQWidget* w, WFlags f, DirFlags orient ) TQRollEffect::TQRollEffect( TQWidget* w, WFlags f, DirFlags orient )
: TQWidget( TQApplication::desktop()->screen(TQApplication::desktop()->screenNumber(w)), : TQWidget( TQApplication::desktop()->screen(TQApplication::desktop()->screenNumber(w)),
"qt internal roll effect widget", f ), orientation(orient) "tqt internal roll effect widget", f ), orientation(orient)
{ {
#if 1 //ndef TQ_WS_WIN #if 1 //ndef TQ_WS_WIN
setEnabled( FALSE ); setEnabled( FALSE );

Loading…
Cancel
Save