summaryrefslogtreecommitdiffstats
path: root/lib
diff options
context:
space:
mode:
Diffstat (limited to 'lib')
-rw-r--r--lib/interfaces/kdevlanguagesupport.cpp4
-rw-r--r--lib/interfaces/kdevlanguagesupport.h6
-rw-r--r--lib/widgets/kdevtabwidget.cpp2
-rw-r--r--lib/widgets/propeditor/pdateedit.cpp2
-rw-r--r--lib/widgets/propeditor/pdatetimeedit.cpp2
-rw-r--r--lib/widgets/qcomboview.cpp4
6 files changed, 10 insertions, 10 deletions
diff --git a/lib/interfaces/kdevlanguagesupport.cpp b/lib/interfaces/kdevlanguagesupport.cpp
index aa5b560c..a5609cf9 100644
--- a/lib/interfaces/kdevlanguagesupport.cpp
+++ b/lib/interfaces/kdevlanguagesupport.cpp
@@ -68,9 +68,9 @@ bool KDevLanguageSupport::shouldSplitDocument(const KURL &url)
return false;
}
-Qt::Orientation KDevLanguageSupport::splitOrientation() const
+TQt::Orientation KDevLanguageSupport::splitOrientation() const
{
- return Qt::Vertical;
+ return TQt::Vertical;
}
void KDevLanguageSupport::addClass()
diff --git a/lib/interfaces/kdevlanguagesupport.h b/lib/interfaces/kdevlanguagesupport.h
index f65dcefe..59b160b2 100644
--- a/lib/interfaces/kdevlanguagesupport.h
+++ b/lib/interfaces/kdevlanguagesupport.h
@@ -135,8 +135,8 @@ public:
virtual bool shouldSplitDocument( const KURL &url );
/**Returns the language parts Split View orientation.
- By default Qt::Vertical.*/
- virtual Qt::Orientation splitOrientation() const;
+ By default TQt::Vertical.*/
+ virtual TQt::Orientation splitOrientation() const;
/**Opens a "New class" dialog and adds the configured class to the sources.
Define NewClass feature if you reimplement this method.*/
@@ -255,7 +255,7 @@ signals:
void addedSourceInfo( const TQString& fileName );
/**Emitted when the language part changes the Split View orientation.*/
- void splitOrientationChanged( Qt::Orientation orientation );
+ void splitOrientationChanged( TQt::Orientation orientation );
};
#endif
diff --git a/lib/widgets/kdevtabwidget.cpp b/lib/widgets/kdevtabwidget.cpp
index cadff807..75682116 100644
--- a/lib/widgets/kdevtabwidget.cpp
+++ b/lib/widgets/kdevtabwidget.cpp
@@ -50,7 +50,7 @@ void KTabBar::closeOthersSlot()
void KTabBar::mousePressEvent(TQMouseEvent *e)
{
- if(e->button() == Qt::RightButton) {
+ if(e->button() == TQt::RightButton) {
TQTab *tab = selectTab(e->pos() );
if( tab == 0L ) return;
diff --git a/lib/widgets/propeditor/pdateedit.cpp b/lib/widgets/propeditor/pdateedit.cpp
index ed83dbb2..113ec325 100644
--- a/lib/widgets/propeditor/pdateedit.cpp
+++ b/lib/widgets/propeditor/pdateedit.cpp
@@ -46,7 +46,7 @@ void PDateEdit::drawViewer(TQPainter* p, const TQColorGroup& cg, const TQRect& r
p->setPen(TQt::NoPen);
p->setBrush(cg.background());
p->drawRect(r);
- p->drawText(r, TQt::AlignLeft | TQt::AlignVCenter | TQt::SingleLine, value.toDate().toString(Qt::LocalDate));
+ p->drawText(r, TQt::AlignLeft | TQt::AlignVCenter | TQt::SingleLine, value.toDate().toString(TQt::LocalDate));
}
void PDateEdit::setValue(const TQVariant& value, bool emitChange)
diff --git a/lib/widgets/propeditor/pdatetimeedit.cpp b/lib/widgets/propeditor/pdatetimeedit.cpp
index 3b8993d3..55a0bdcc 100644
--- a/lib/widgets/propeditor/pdatetimeedit.cpp
+++ b/lib/widgets/propeditor/pdatetimeedit.cpp
@@ -45,7 +45,7 @@ void PDateTimeEdit::drawViewer(TQPainter* p, const TQColorGroup& cg, const TQRec
p->setPen(TQt::NoPen);
p->setBrush(cg.background());
p->drawRect(r);
- p->drawText(r, TQt::AlignLeft | TQt::AlignVCenter | TQt::SingleLine, value.toDateTime().toString(Qt::LocalDate));
+ p->drawText(r, TQt::AlignLeft | TQt::AlignVCenter | TQt::SingleLine, value.toDateTime().toString(TQt::LocalDate));
}
void PDateTimeEdit::setValue(const TQVariant& value, bool emitChange)
diff --git a/lib/widgets/qcomboview.cpp b/lib/widgets/qcomboview.cpp
index 9e564326..1d959d13 100644
--- a/lib/widgets/qcomboview.cpp
+++ b/lib/widgets/qcomboview.cpp
@@ -466,7 +466,7 @@ void QComboView::paintEvent( TQPaintEvent * )
void QComboView::mousePressEvent( TQMouseEvent *e )
{
- if ( e->button() != Qt::LeftButton )
+ if ( e->button() != TQt::LeftButton )
return;
if ( d->discardNextMousePress ) {
d->discardNextMousePress = FALSE;
@@ -917,7 +917,7 @@ bool QComboView::eventFilter( TQObject *object, TQEvent *event )
}
}
}
- } else if ((e->state() & ( Qt::RightButton | Qt::LeftButton | Qt::MidButton ) ) == 0 &&
+ } else if ((e->state() & ( TQt::RightButton | TQt::LeftButton | TQt::MidButton ) ) == 0 &&
style().styleHint(TQStyle::SH_ComboBox_ListMouseTracking, this)) {
// tqWarning("event filter:: emu");
TQWidget *mouseW = TQApplication::widgetAt( e->globalPos(), TRUE );