summaryrefslogtreecommitdiffstats
path: root/konqueror/keditbookmarks
diff options
context:
space:
mode:
authorMichele Calgaro <[email protected]>2023-11-13 21:03:36 +0900
committerMichele Calgaro <[email protected]>2023-11-13 21:03:36 +0900
commitb965cbac5b21345e9dfc768a7e4f660ffa4aa72f (patch)
tree7fcff5d301752cbdcdfff64d8791aff1369b803f /konqueror/keditbookmarks
parent7d6d35b42e00d6b6658951871b29489bdec80714 (diff)
downloadtdebase-b965cbac5b21345e9dfc768a7e4f660ffa4aa72f.tar.gz
tdebase-b965cbac5b21345e9dfc768a7e4f660ffa4aa72f.zip
Replace Qt with TQt
Signed-off-by: Michele Calgaro <[email protected]>
Diffstat (limited to 'konqueror/keditbookmarks')
-rw-r--r--konqueror/keditbookmarks/listview.cpp6
-rw-r--r--konqueror/keditbookmarks/toplevel.cpp2
2 files changed, 4 insertions, 4 deletions
diff --git a/konqueror/keditbookmarks/listview.cpp b/konqueror/keditbookmarks/listview.cpp
index c533fa8c2..1fd5cf222 100644
--- a/konqueror/keditbookmarks/listview.cpp
+++ b/konqueror/keditbookmarks/listview.cpp
@@ -646,7 +646,7 @@ class KeyPressEater : public TQObject {
bool KeyPressEater::eventFilter(TQObject *, TQEvent *pe) {
if (pe->type() == TQEvent::KeyPress) {
TQKeyEvent *k = (TQKeyEvent *) pe;
- if ((k->key() == Qt::Key_Backtab || k->key() == Qt::Key_Tab)
+ if ((k->key() == TQt::Key_Backtab || k->key() == TQt::Key_Tab)
&& !(k->state() & ControlButton || k->state() & AltButton)
) {
if (m_allowedToTab) {
@@ -655,7 +655,7 @@ bool KeyPressEater::eventFilter(TQObject *, TQEvent *pe) {
}
return true;
} else {
- m_allowedToTab = (k->key() == Qt::Key_Escape || k->key() == Qt::Key_Enter);
+ m_allowedToTab = (k->key() == TQt::Key_Escape || k->key() == TQt::Key_Enter);
}
}
return false;
@@ -911,7 +911,7 @@ void KEBListViewItem::setOpen(bool open) {
void KEBListViewItem::greyStyle(TQColorGroup &cg) {
int h, s, v;
cg.background().hsv(&h, &s, &v);
- TQColor color = (v > 180 && v < 220) ? (Qt::darkGray) : (Qt::gray);
+ TQColor color = (v > 180 && v < 220) ? (TQt::darkGray) : (TQt::gray);
cg.setColor(TQColorGroup::Text, color);
}
diff --git a/konqueror/keditbookmarks/toplevel.cpp b/konqueror/keditbookmarks/toplevel.cpp
index decd07e05..cc8161f4e 100644
--- a/konqueror/keditbookmarks/toplevel.cpp
+++ b/konqueror/keditbookmarks/toplevel.cpp
@@ -229,7 +229,7 @@ KEBApp::KEBApp(
m_bkinfo = new BookmarkInfoWidget(vsplitter);
- vsplitter->setOrientation(Qt::Vertical);
+ vsplitter->setOrientation(TQt::Vertical);
vsplitter->setSizes(TQValueList<int>() << h << 380
<< m_bkinfo->sizeHint().height() );