From 7367a616169a4ec8b35b5a993852c336aaeec25b Mon Sep 17 00:00:00 2001 From: Michele Calgaro Date: Thu, 9 Nov 2023 10:36:57 +0900 Subject: Replace Qt with TQt Signed-off-by: Michele Calgaro (cherry picked from commit b53c83209a6b927b27600899a780db1efc985ecb) --- krfb/krfb/configuration.cpp | 4 ++-- krfb/krfb/personalinvitedialog.cpp | 2 +- krfb/krfb/trayicon.cpp | 2 +- 3 files changed, 4 insertions(+), 4 deletions(-) (limited to 'krfb') diff --git a/krfb/krfb/configuration.cpp b/krfb/krfb/configuration.cpp index 069b5696..c4acbfe4 100644 --- a/krfb/krfb/configuration.cpp +++ b/krfb/krfb/configuration.cpp @@ -218,8 +218,8 @@ void Configuration::saveToDialogs() { Invitation &inv = *(it++); if (!inv.getViewItem()) inv.setViewItem(new TDEListViewItem(invMngDlg.listView, - inv.creationTime().toString(Qt::LocalDate), - inv.expirationTime().toString(Qt::LocalDate))); + inv.creationTime().toString(TQt::LocalDate), + inv.expirationTime().toString(TQt::LocalDate))); } invMngDlg.adjustSize(); } diff --git a/krfb/krfb/personalinvitedialog.cpp b/krfb/krfb/personalinvitedialog.cpp index 2949ba03..230eb97a 100644 --- a/krfb/krfb/personalinvitedialog.cpp +++ b/krfb/krfb/personalinvitedialog.cpp @@ -50,5 +50,5 @@ void PersonalInviteDialog::setPassword( const TQString &passwd ) void PersonalInviteDialog::setExpiration( const TQDateTime &expire ) { - m_inviteWidget->expirationLabel->setText( expire.toString( Qt::LocalDate ) ); + m_inviteWidget->expirationLabel->setText( expire.toString( TQt::LocalDate ) ); } diff --git a/krfb/krfb/trayicon.cpp b/krfb/krfb/trayicon.cpp index aa848f90..7464fd03 100644 --- a/krfb/krfb/trayicon.cpp +++ b/krfb/krfb/trayicon.cpp @@ -127,7 +127,7 @@ void TrayIcon::mousePressEvent(TQMouseEvent *e) if (!rect().contains(e->pos())) return; - if (e->button() == Qt::LeftButton) { + if (e->button() == TQt::LeftButton) { contextMenuAboutToShow(contextMenu()); contextMenu()->popup(e->globalPos()); } -- cgit v1.2.1