Replace Qt with TQt

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

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

@ -2416,7 +2416,7 @@ void Basket::contentsMouseMoveEvent(TQMouseEvent *event)
m_selectionStarted = false;
NoteSelection *selection = selectedNotes();
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();
// delete selection;
@ -4205,10 +4205,10 @@ void Basket::doCopy(CopyMode copyMode)
NoteSelection *selection = selectedNotes();
int countCopied = countSelecteds();
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();
// 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
// note->slotDelete();

@ -66,7 +66,7 @@ static TQAlphaWidget* q_blend = 0;
*/
TQAlphaWidget::TQAlphaWidget( TQWidget* w, WFlags f )
: 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
setEnabled( FALSE );
@ -297,7 +297,7 @@ static TQRollEffect* q_roll = 0;
*/
TQRollEffect::TQRollEffect( TQWidget* w, WFlags f, DirFlags orient )
: 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
setEnabled( FALSE );

Loading…
Cancel
Save