summaryrefslogtreecommitdiffstats
path: root/knotes
diff options
context:
space:
mode:
Diffstat (limited to 'knotes')
-rw-r--r--knotes/knote.cpp8
-rw-r--r--knotes/knotealarmdlg.cpp2
-rw-r--r--knotes/knotesapp.cpp6
3 files changed, 8 insertions, 8 deletions
diff --git a/knotes/knote.cpp b/knotes/knote.cpp
index b73ce29ef..f5afc227b 100644
--- a/knotes/knote.cpp
+++ b/knotes/knote.cpp
@@ -1349,9 +1349,9 @@ bool KNote::eventFilter( TQObject *o, TQEvent *ev )
slotRename();
}
if ( ev->type() == TQEvent::MouseButtonPress &&
- (e->button() == Qt::LeftButton || e->button() == Qt::MidButton))
+ (e->button() == TQt::LeftButton || e->button() == TQt::MidButton))
{
- e->button() == Qt::LeftButton ? KWin::raiseWindow( winId() )
+ e->button() == TQt::LeftButton ? KWin::raiseWindow( winId() )
: KWin::lowerWindow( winId() );
XUngrabPointer( tqt_xdisplay(), GET_QT_X_TIME() );
@@ -1370,7 +1370,7 @@ bool KNote::eventFilter( TQObject *o, TQEvent *ev )
#endif
if ( m_menu && ( ev->type() == TQEvent::MouseButtonPress )
- && ( e->button() == Qt::RightButton ) )
+ && ( e->button() == TQt::RightButton ) )
{
m_menu->popup( TQCursor::pos() );
return true;
@@ -1402,7 +1402,7 @@ bool KNote::eventFilter( TQObject *o, TQEvent *ev )
{
if ( m_edit_menu &&
ev->type() == TQEvent::MouseButtonPress &&
- ((TQMouseEvent *)ev)->button() == Qt::RightButton )
+ ((TQMouseEvent *)ev)->button() == TQt::RightButton )
{
m_edit_menu->popup( TQCursor::pos() );
return true;
diff --git a/knotes/knotealarmdlg.cpp b/knotes/knotealarmdlg.cpp
index 4496da264..0a3236a29 100644
--- a/knotes/knotealarmdlg.cpp
+++ b/knotes/knotealarmdlg.cpp
@@ -49,7 +49,7 @@ KNoteAlarmDlg::KNoteAlarmDlg( const TQString& caption, TQWidget *parent, const c
: KDialogBase( parent, name, true, caption, Ok|Cancel, Ok )
{
TQVBox *page = makeVBoxMainWidget();
- TQGroupBox *group = new TQGroupBox( 3, Qt::Vertical, i18n("Scheduled Alarm"), page );
+ TQGroupBox *group = new TQGroupBox( 3, TQt::Vertical, i18n("Scheduled Alarm"), page );
m_buttons = new TQButtonGroup( page );
m_buttons->hide();
diff --git a/knotes/knotesapp.cpp b/knotes/knotesapp.cpp
index 9ad877ffe..beaa3c22e 100644
--- a/knotes/knotesapp.cpp
+++ b/knotes/knotesapp.cpp
@@ -486,7 +486,7 @@ void KNotesApp::mousePressEvent( TQMouseEvent* e )
switch ( e->button() )
{
- case Qt::LeftButton:
+ case TQt::LeftButton:
if ( m_noteList.count() == 1 )
{
TQDictIterator<KNote> it( m_noteList );
@@ -495,10 +495,10 @@ void KNotesApp::mousePressEvent( TQMouseEvent* e )
else if ( m_note_menu->count() > 0 )
m_note_menu->popup( e->globalPos() );
break;
- case Qt::MidButton:
+ case TQt::MidButton:
newNote();
break;
- case Qt::RightButton:
+ case TQt::RightButton:
m_context_menu->popup( e->globalPos() );
default: break;
}