summaryrefslogtreecommitdiffstats
path: root/tdeui/kpassdlg.cpp
diff options
context:
space:
mode:
authorMichele Calgaro <[email protected]>2023-11-13 20:33:00 +0900
committerMichele Calgaro <[email protected]>2023-11-15 23:44:25 +0900
commitc8ece3630d4d21acaf1749fc2cf660a0463070c3 (patch)
treebae3d3c70886ceeffd914cac031dfeab532a607a /tdeui/kpassdlg.cpp
parent419c185be746df8bba59fe5de991b4a2b3977897 (diff)
downloadtdelibs-c8ece3630d4d21acaf1749fc2cf660a0463070c3.tar.gz
tdelibs-c8ece3630d4d21acaf1749fc2cf660a0463070c3.zip
Replace Qt with TQt
Signed-off-by: Michele Calgaro <[email protected]>
Diffstat (limited to 'tdeui/kpassdlg.cpp')
-rw-r--r--tdeui/kpassdlg.cpp16
1 files changed, 8 insertions, 8 deletions
diff --git a/tdeui/kpassdlg.cpp b/tdeui/kpassdlg.cpp
index 1d3805881..4aebc70b6 100644
--- a/tdeui/kpassdlg.cpp
+++ b/tdeui/kpassdlg.cpp
@@ -230,12 +230,12 @@ void KPasswordDialog::init()
lbl->setPixmap(pix);
lbl->setAlignment(AlignHCenter|AlignVCenter);
lbl->setFixedSize(lbl->sizeHint());
- m_pGrid->addWidget(lbl, 0, 0, (Qt::AlignmentFlags)AlignCenter);
+ m_pGrid->addWidget(lbl, 0, 0, TQt::AlignCenter);
}
m_pHelpLbl = new TQLabel(m_pMain);
m_pHelpLbl->setAlignment(AlignLeft|AlignVCenter|WordBreak);
- m_pGrid->addWidget(m_pHelpLbl, 0, 2, (Qt::AlignmentFlags)AlignLeft);
+ m_pGrid->addWidget(m_pHelpLbl, 0, 2, TQt::AlignLeft);
m_pGrid->addRowSpacing(1, 10);
m_pGrid->setRowStretch(1, 12);
@@ -248,7 +248,7 @@ void KPasswordDialog::init()
lbl->setAlignment(AlignLeft|AlignVCenter);
lbl->setText(i18n("&Password:"));
lbl->setFixedSize(lbl->sizeHint());
- m_pGrid->addWidget(lbl, 7, 0, (Qt::AlignmentFlags)AlignLeft);
+ m_pGrid->addWidget(lbl, 7, 0, TQt::AlignLeft);
TQHBoxLayout *h_lay = new TQHBoxLayout();
m_pGrid->addLayout(h_lay, 7, 2);
@@ -278,8 +278,8 @@ void KPasswordDialog::init()
m_keepWarnLbl->hide();
}
connect(cb, TQT_SIGNAL(toggled(bool)), TQT_SLOT(slotKeep(bool)));
- m_pGrid->addWidget(cb, 9, 2, (Qt::AlignmentFlags)(AlignLeft|AlignVCenter));
-// m_pGrid->addWidget(m_keepWarnLbl, 13, 2, (Qt::AlignmentFlags)(AlignLeft|AlignVCenter));
+ m_pGrid->addWidget(cb, 9, 2, TQt::AlignLeft|TQt::AlignVCenter);
+// m_pGrid->addWidget(m_keepWarnLbl, 13, 2, TQt::AlignLeft|TQt::AlignVCenter);
m_pGrid->addMultiCellWidget(m_keepWarnLbl, 13, 13, 0, 3);
} else if (m_Type == NewPassword) {
m_pGrid->addRowSpacing(8, 10);
@@ -287,7 +287,7 @@ void KPasswordDialog::init()
lbl->setAlignment(AlignLeft|AlignVCenter);
lbl->setText(i18n("&Verify:"));
lbl->setFixedSize(lbl->sizeHint());
- m_pGrid->addWidget(lbl, 9, 0, (Qt::AlignmentFlags)AlignLeft);
+ m_pGrid->addWidget(lbl, 9, 0, TQt::AlignLeft);
h_lay = new TQHBoxLayout();
m_pGrid->addLayout(h_lay, 9, 2);
@@ -381,12 +381,12 @@ void KPasswordDialog::addLine(TQString key, TQString value)
TQLabel *lbl = new TQLabel(key, m_pMain);
lbl->setAlignment(AlignLeft|AlignTop);
lbl->setFixedSize(lbl->sizeHint());
- m_pGrid->addWidget(lbl, m_Row+2, 0, (Qt::AlignmentFlags)AlignLeft);
+ m_pGrid->addWidget(lbl, m_Row+2, 0, TQt::AlignLeft);
lbl = new TQLabel(value, m_pMain);
lbl->setAlignment(AlignTop|WordBreak);
lbl->setFixedSize(275, lbl->heightForWidth(275));
- m_pGrid->addWidget(lbl, m_Row+2, 2, (Qt::AlignmentFlags)AlignLeft);
+ m_pGrid->addWidget(lbl, m_Row+2, 2, TQt::AlignLeft);
++m_Row;
}