summaryrefslogtreecommitdiffstats
path: root/kopete/kopete/kopeteballoon.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'kopete/kopete/kopeteballoon.cpp')
-rw-r--r--kopete/kopete/kopeteballoon.cpp22
1 files changed, 11 insertions, 11 deletions
diff --git a/kopete/kopete/kopeteballoon.cpp b/kopete/kopete/kopeteballoon.cpp
index 13696da1..3ff73e10 100644
--- a/kopete/kopete/kopeteballoon.cpp
+++ b/kopete/kopete/kopeteballoon.cpp
@@ -39,13 +39,13 @@
#include "systemtray.h"
#include "kopeteprefs.h"
-KopeteActiveLabel::KopeteActiveLabel( TQWidget *parent, const char *name )
- : KActiveLabel( parent, name )
+KopeteActiveLabel::KopeteActiveLabel( TQWidget *tqparent, const char *name )
+ : KActiveLabel( tqparent, name )
{
}
-KopeteActiveLabel::KopeteActiveLabel( const TQString& text, TQWidget *parent,
- const char *name ) : KActiveLabel( text, parent, name )
+KopeteActiveLabel::KopeteActiveLabel( const TQString& text, TQWidget *tqparent,
+ const char *name ) : KActiveLabel( text, tqparent, name )
{
}
@@ -78,7 +78,7 @@ KopeteBalloon::KopeteBalloon(const TQString &text, const TQString &pix)
//TQLabel *mCaption = new TQLabel(text, this, "mCaption");
KopeteActiveLabel *mCaption = new KopeteActiveLabel(text, this, "mCaption");
mCaption->setPalette(TQToolTip::palette());
- mCaption->setSizePolicy( TQSizePolicy::Minimum, TQSizePolicy::Minimum );
+ mCaption->tqsetSizePolicy( TQSizePolicy::Minimum, TQSizePolicy::Minimum );
if (!pix.isEmpty())
{
@@ -136,7 +136,7 @@ void KopeteBalloon::setAnchor(const TQPoint &anchor)
void KopeteBalloon::updateMask()
{
- TQRegion mask(10, 10, width() - 20, height() - 20);
+ TQRegion tqmask(10, 10, width() - 20, height() - 20);
TQPoint corners[8] = {
TQPoint(width() - 50, 10),
@@ -156,11 +156,11 @@ void KopeteBalloon::updateMask()
i * 16 * 90, 16 * 90);
corner.resize(corner.size() + 1);
corner.setPoint(corner.size() - 1, corners[i + 4]);
- mask -= corner;
+ tqmask -= corner;
}
- // get screen-geometry for screen our anchor is on
- // (geometry can differ from screen to screen!
+ // get screen-tqgeometry for screen our anchor is on
+ // (tqgeometry can differ from screen to screen!
TQRect deskRect = KGlobalSettings::desktopGeometry(mAnchor);
bool bottom = (mAnchor.y() + height()) > ((deskRect.y() + deskRect.height()-48));
@@ -173,8 +173,8 @@ void KopeteBalloon::updateMask()
arrow.setPoint(2, TQPoint(right ? width() - 30 : 30,
bottom ? height() - 10 : 10));
arrow.setPoint(3, arrow[0]);
- mask += arrow;
- setMask(mask);
+ tqmask += arrow;
+ setMask(tqmask);
move( right ? mAnchor.x() - width() : ( mAnchor.x() < 0 ? 0 : mAnchor.x() ),
bottom ? mAnchor.y() - height() : ( mAnchor.y() < 0 ? 0 : mAnchor.y() ) );