diff options
| author | Michele Calgaro <michele.calgaro@yahoo.it> | 2023-11-07 19:27:43 +0900 |
|---|---|---|
| committer | Michele Calgaro <michele.calgaro@yahoo.it> | 2023-11-08 09:53:00 +0900 |
| commit | b00a91b065f6efa0c1b88e7317fe49f6926cf0a6 (patch) | |
| tree | 63895f4fe78a75ca574006fdaba7a8b48d32649b /quanta/utility | |
| parent | 75cc1255aac342b128515b44fde9a332f1b2a197 (diff) | |
| download | tdewebdev-b00a91b0.tar.gz tdewebdev-b00a91b0.zip | |
Replace Qt with TQt
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
(cherry picked from commit 818c8f1cd1fd849f857201eb8911434c514d6c3e)
Diffstat (limited to 'quanta/utility')
| -rw-r--r-- | quanta/utility/qpevents.cpp | 2 | ||||
| -rw-r--r-- | quanta/utility/toolbartabwidget.cpp | 4 |
2 files changed, 3 insertions, 3 deletions
diff --git a/quanta/utility/qpevents.cpp b/quanta/utility/qpevents.cpp index 8a8dfa26..87ec17d9 100644 --- a/quanta/utility/qpevents.cpp +++ b/quanta/utility/qpevents.cpp @@ -294,7 +294,7 @@ bool QPEvents::handleEvent(const EventAction& ev) TQTextStream stream(&file); stream.setEncoding(TQTextStream::UnicodeUTF8); //Note: the log text should not be translated. - TQString s = TQDateTime::currentDateTime().toString(Qt::ISODate) + ": "; + TQString s = TQDateTime::currentDateTime().toString(TQt::ISODate) + ": "; s.append( "Event : " + m_eventName + " : "); s.append( "Action: " + ev.action + " : "); if (ev.arguments[1] == "full") diff --git a/quanta/utility/toolbartabwidget.cpp b/quanta/utility/toolbartabwidget.cpp index 26765eee..b2f61d18 100644 --- a/quanta/utility/toolbartabwidget.cpp +++ b/quanta/utility/toolbartabwidget.cpp @@ -157,7 +157,7 @@ void ToolbarTabWidget::slotEditToolbar() void ToolbarTabWidget::mousePressEvent ( TQMouseEvent * e ) { - if (e->button() == Qt::RightButton) + if (e->button() == TQt::RightButton) { TQPoint p = e->globalPos(); TQTab *tab = 0L; @@ -296,7 +296,7 @@ void QuantaToolBar::slotIconTextChanged(int id) void QuantaToolBar::mousePressEvent(TQMouseEvent *e) { - if (e->button() == Qt::RightButton) + if (e->button() == TQt::RightButton) { m_popupMenu->clear(); TQPoint p = e->globalPos(); |
