summaryrefslogtreecommitdiffstats
path: root/kitchensync/src/kwidgetlist.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'kitchensync/src/kwidgetlist.cpp')
-rw-r--r--kitchensync/src/kwidgetlist.cpp12
1 files changed, 6 insertions, 6 deletions
diff --git a/kitchensync/src/kwidgetlist.cpp b/kitchensync/src/kwidgetlist.cpp
index e8c1b791a..3869bc1dd 100644
--- a/kitchensync/src/kwidgetlist.cpp
+++ b/kitchensync/src/kwidgetlist.cpp
@@ -38,8 +38,8 @@ class KWidgetList::Private
TQVBox *mBox;
};
-KWidgetList::KWidgetList( TQWidget *parent, const char *name )
- : TQScrollView( parent, name ),
+KWidgetList::KWidgetList( TQWidget *tqparent, const char *name )
+ : TQScrollView( tqparent, name ),
d( new Private )
{
d->mBox = new TQVBox( viewport() );
@@ -217,7 +217,7 @@ bool KWidgetList::eventFilter( TQObject *object, TQEvent *event )
}
} else if ( event->type() == TQEvent::KeyPress ) {
TQKeyEvent *keyEvent = static_cast<TQKeyEvent*>( event );
- if ( keyEvent->key() == Qt::Key_Up ) {
+ if ( keyEvent->key() == TQt::Key_Up ) {
if ( d->mSelectedItem == 0 ) {
if ( !d->mItems.isEmpty() ) {
setSelected( d->mItems.first() );
@@ -234,7 +234,7 @@ bool KWidgetList::eventFilter( TQObject *object, TQEvent *event )
}
}
return true;
- } else if ( keyEvent->key() == Qt::Key_Down ) {
+ } else if ( keyEvent->key() == TQt::Key_Down ) {
if ( d->mSelectedItem == 0 ) {
if ( !d->mItems.isEmpty() ) {
setSelected( d->mItems.last() );
@@ -256,8 +256,8 @@ bool KWidgetList::eventFilter( TQObject *object, TQEvent *event )
return TQScrollView::eventFilter( object, event );
}
-KWidgetListItem::KWidgetListItem( KWidgetList *parent, const char *name )
- : TQWidget( parent, name )
+KWidgetListItem::KWidgetListItem( KWidgetList *tqparent, const char *name )
+ : TQWidget( tqparent, name )
{
mForegroundColor = KGlobalSettings::textColor();
mBackgroundColor = KGlobalSettings::baseColor();