summaryrefslogtreecommitdiffstats
path: root/korganizer/koagenda.cpp
diff options
context:
space:
mode:
authorMichele Calgaro <michele.calgaro@yahoo.it>2023-11-09 10:37:12 +0900
committerMichele Calgaro <michele.calgaro@yahoo.it>2023-11-09 10:56:59 +0900
commit98876ba8c52c0fc2f38c258476bc9637f055d576 (patch)
treec603affd2b47d424507127e5bff9231bb06fc020 /korganizer/koagenda.cpp
parentf46438dda23948d5a4732428a1df913b3246fed8 (diff)
downloadtdepim-98876ba8c52c0fc2f38c258476bc9637f055d576.tar.gz
tdepim-98876ba8c52c0fc2f38c258476bc9637f055d576.zip
Replace Qt with TQt
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
Diffstat (limited to 'korganizer/koagenda.cpp')
-rw-r--r--korganizer/koagenda.cpp8
1 files changed, 4 insertions, 4 deletions
diff --git a/korganizer/koagenda.cpp b/korganizer/koagenda.cpp
index e7d4ea3b2..87239801b 100644
--- a/korganizer/koagenda.cpp
+++ b/korganizer/koagenda.cpp
@@ -574,7 +574,7 @@ bool KOAgenda::eventFilter_wheel ( TQObject *object, TQWheelEvent *e )
// e->type()<<" delta: "<< e->delta()<< endl;
emit zoomView( -e->delta() ,
contentsToGrid( viewportToContents( viewportPos ) ),
- Qt::Horizontal );
+ TQt::Horizontal );
accepted=true;
}
@@ -586,7 +586,7 @@ bool KOAgenda::eventFilter_wheel ( TQObject *object, TQWheelEvent *e )
}
emit zoomView( -e->delta() ,
contentsToGrid( viewportToContents( viewportPos ) ),
- Qt::Vertical );
+ TQt::Vertical );
emit mousePosSignal(gridToContents(contentsToGrid(viewportToContents( viewportPos ))));
accepted=true;
}
@@ -607,7 +607,7 @@ bool KOAgenda::eventFilter_mouse(TQObject *object, TQMouseEvent *me)
case TQEvent::MouseButtonPress:
// kdDebug(5850) << "koagenda: filtered button press" << endl;
if (object != viewport()) {
- if (me->button() == Qt::RightButton) {
+ if (me->button() == TQt::RightButton) {
mClickedItem = dynamic_cast<KOAgendaItem *>(object);
if (mClickedItem) {
selectItem(mClickedItem);
@@ -639,7 +639,7 @@ bool KOAgenda::eventFilter_mouse(TQObject *object, TQMouseEvent *me)
}
}
} else {
- if ( me->button() == Qt::RightButton ) {
+ if ( me->button() == TQt::RightButton ) {
// if mouse pointer is not in selection, select the cell below the cursor
TQPoint gpos = contentsToGrid( viewportToContents( viewportPos ) );
if ( !ptInSelection( gpos ) ) {