diff options
Diffstat (limited to 'ksysv/trash.cpp')
-rw-r--r-- | ksysv/trash.cpp | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/ksysv/trash.cpp b/ksysv/trash.cpp index aab746c..dcbce00 100644 --- a/ksysv/trash.cpp +++ b/ksysv/trash.cpp @@ -29,8 +29,8 @@ #include "ActionList.h" #include "trash.h" -KSVTrash::KSVTrash (TQWidget* parent, const char* name) - : TQFrame (parent, name), +KSVTrash::KSVTrash (TQWidget* tqparent, const char* name) + : TQFrame (tqparent, name), mKIL (KGlobal::iconLoader()), mLabel (new TQLabel(this)), mOpen (false) @@ -47,7 +47,7 @@ KSVTrash::KSVTrash (TQWidget* parent, const char* name) TQToolTip::add(mLabel, i18n("Drag here to remove services")); TQToolTip::add(this, i18n("Drag here to remove services")); - setMinimumSize(sizeHint()); + setMinimumSize(tqsizeHint()); setAcceptDrops(true); mLabel->installEventFilter(this); @@ -75,7 +75,7 @@ void KSVTrash::dropEvent (TQDropEvent* e) if (mOpen) { - mLabel->repaint(); + mLabel->tqrepaint(); mOpen = false; } } @@ -102,7 +102,7 @@ void KSVTrash::dragLeaveEvent ( TQDragLeaveEvent* ) { if (mOpen) { - mLabel->repaint(); + mLabel->tqrepaint(); mOpen = false; } } @@ -131,7 +131,7 @@ bool KSVTrash::eventFilter( TQObject *, TQEvent *e ) } } -TQSize KSVTrash::sizeHint() const +TQSize KSVTrash::tqsizeHint() const { static TQSize size = TQSize (mPixmapWidth + 2 * 5, mPixmapWidth + 2 * 7); |