diff options
Diffstat (limited to 'ksysv/kscroller.cpp')
-rw-r--r-- | ksysv/kscroller.cpp | 20 |
1 files changed, 10 insertions, 10 deletions
diff --git a/ksysv/kscroller.cpp b/ksysv/kscroller.cpp index 0c18b25..013cb07 100644 --- a/ksysv/kscroller.cpp +++ b/ksysv/kscroller.cpp @@ -26,8 +26,8 @@ public: KScroller::KScroller (TQWidget* parent, const char* name) : TQFrame (parent, name), d (new KScrollerPrivate()), - mVertical (new TQScrollBar (Qt::Vertical, this)), - mHorizontal (new TQScrollBar (Qt::Horizontal, this)), + mVertical (new TQScrollBar (TQt::Vertical, this)), + mHorizontal (new TQScrollBar (TQt::Horizontal, this)), mCornerWidget (new TQWidget (this)), mContent (0L), mVerticalOld (0), @@ -37,10 +37,10 @@ KScroller::KScroller (TQWidget* parent, const char* name) mVertical->hide(); mHorizontal->hide(); - connect (mVertical, TQT_SIGNAL (valueChanged (int)), - this, TQT_SLOT (scrollVertical (int))); - connect (mHorizontal, TQT_SIGNAL (valueChanged (int)), - this, TQT_SLOT (scrollHorizontal (int))); + connect (mVertical, TQ_SIGNAL (valueChanged (int)), + this, TQ_SLOT (scrollVertical (int))); + connect (mHorizontal, TQ_SIGNAL (valueChanged (int)), + this, TQ_SLOT (scrollHorizontal (int))); } KScroller::~KScroller () @@ -88,7 +88,7 @@ TQSize KScroller::minimumSizeHint() const TQSize KScroller::sizeHint() const { TQSize size = mContent->minimumSize(); - int extra = kapp->style().pixelMetric( TQStyle::PM_ScrollBarExtent, 0 ); + int extra = tdeApp->style().pixelMetric( TQStyle::PM_ScrollBarExtent, 0 ); size += TQSize( extra, extra ); return size; } @@ -113,7 +113,7 @@ void KScroller::setupHorizontal (int cw, int, int w, int h) if (cw > w) { - int extra = kapp->style().pixelMetric( TQStyle::PM_ScrollBarExtent, 0 ); + int extra = tdeApp->style().pixelMetric( TQStyle::PM_ScrollBarExtent, 0 ); if (!mVertical->isHidden()) w -= extra; @@ -139,7 +139,7 @@ void KScroller::setupVertical (int, int ch, int w, int h) if (ch > h) { - int extra = kapp->style().pixelMetric( TQStyle::PM_ScrollBarExtent, 0 ); + int extra = tdeApp->style().pixelMetric( TQStyle::PM_ScrollBarExtent, 0 ); mVertical->setRange (0, ch - h); mVertical->setPageStep (h); mVertical->setLineStep (25); @@ -175,7 +175,7 @@ void KScroller::setupCornerWidget (int w, int h) { if (!mVertical->isHidden() && !mHorizontal->isHidden()) { - int extra = kapp->style().pixelMetric( TQStyle::PM_ScrollBarExtent, 0 ); + int extra = tdeApp->style().pixelMetric( TQStyle::PM_ScrollBarExtent, 0 ); mCornerWidget->raise(); mCornerWidget->setGeometry (w - extra, h - extra, extra, extra); |