summaryrefslogtreecommitdiffstats
path: root/kopete/libkopete/ui/kopetelistviewitem.cpp
diff options
context:
space:
mode:
authortpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2011-08-10 22:19:39 +0000
committertpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2011-08-10 22:19:39 +0000
commit2bc1d72869b62af05ae4feafd878203b526da8c5 (patch)
tree2676903bb600bd9646644856e354940471ad84e2 /kopete/libkopete/ui/kopetelistviewitem.cpp
parent937b2991d8e78166eea904c80ad04d34607017a4 (diff)
downloadtdenetwork-2bc1d72869b62af05ae4feafd878203b526da8c5.tar.gz
tdenetwork-2bc1d72869b62af05ae4feafd878203b526da8c5.zip
rename the following methods:
tqparent parent tqmask mask git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kdenetwork@1246260 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
Diffstat (limited to 'kopete/libkopete/ui/kopetelistviewitem.cpp')
-rw-r--r--kopete/libkopete/ui/kopetelistviewitem.cpp72
1 files changed, 36 insertions, 36 deletions
diff --git a/kopete/libkopete/ui/kopetelistviewitem.cpp b/kopete/libkopete/ui/kopetelistviewitem.cpp
index b4c156fb..6156b6aa 100644
--- a/kopete/libkopete/ui/kopetelistviewitem.cpp
+++ b/kopete/libkopete/ui/kopetelistviewitem.cpp
@@ -144,13 +144,13 @@ void ComponentBase::updateAnimationPosition( int p, int s )
class Component::Private
{
public:
- Private( ComponentBase *tqparent )
- : tqparent( tqparent ), minWidth( 0 ), minHeight( 0 )
+ Private( ComponentBase *parent )
+ : parent( parent ), minWidth( 0 ), minHeight( 0 )
, growHoriz( false ), growVert( false )
, tipSource( 0 )
{
}
- ComponentBase *tqparent;
+ ComponentBase *parent;
TQRect rect;
TQRect startRect, targetRect;
int minWidth, minHeight;
@@ -159,10 +159,10 @@ public:
ToolTipSource *tipSource;
};
-Component::Component( ComponentBase *tqparent )
- : d( new Private( tqparent ) )
+Component::Component( ComponentBase *parent )
+ : d( new Private( parent ) )
{
- d->tqparent->componentAdded( this );
+ d->parent->componentAdded( this );
d->show = true;
}
@@ -170,7 +170,7 @@ int Component::RTTI = Rtti_Component;
Component::~Component()
{
- d->tqparent->componentRemoved( this );
+ d->parent->componentRemoved( this );
delete d;
}
@@ -224,7 +224,7 @@ bool Component::setMinWidth( int width )
if ( d->minWidth == width ) return false;
d->minWidth = width;
- d->tqparent->componentResized( this );
+ d->parent->componentResized( this );
return true;
}
bool Component::setMinHeight( int height )
@@ -232,7 +232,7 @@ bool Component::setMinHeight( int height )
if ( d->minHeight == height ) return false;
d->minHeight = height;
- d->tqparent->componentResized( this );
+ d->parent->componentResized( this );
return true;
}
@@ -264,12 +264,12 @@ void Component::paint( TQPainter *painter, const TQColorGroup &cg )
void Component::tqrepaint()
{
- d->tqparent->tqrepaint();
+ d->parent->tqrepaint();
}
void Component::retqlayout()
{
- d->tqparent->retqlayout();
+ d->parent->retqlayout();
}
void Component::componentAdded( Component *component )
@@ -295,8 +295,8 @@ public:
static const int padding = 0;
};
-BoxComponent::BoxComponent( ComponentBase *tqparent, Direction dir )
- : Component( tqparent ), d( new Private( dir ) )
+BoxComponent::BoxComponent( ComponentBase *parent, Direction dir )
+ : Component( parent ), d( new Private( dir ) )
{
}
@@ -482,8 +482,8 @@ public:
TQPixmap bottom_pixmap;
};
-ContactBoxComponent::ContactBoxComponent(ComponentBase *tqparent, Direction dir)
- : BoxComponent(tqparent, dir), d(new Private())
+ContactBoxComponent::ContactBoxComponent(ComponentBase *parent, Direction dir)
+ : BoxComponent(parent, dir), d(new Private())
{}
ContactBoxComponent::~ContactBoxComponent()
@@ -620,8 +620,8 @@ public:
TQPixmap bottom_pixmap;
};
-GroupBoxComponent::GroupBoxComponent(ComponentBase *tqparent, Direction dir)
- : BoxComponent(tqparent, dir), d(new Private())
+GroupBoxComponent::GroupBoxComponent(ComponentBase *parent, Direction dir)
+ : BoxComponent(parent, dir), d(new Private())
{}
GroupBoxComponent::~GroupBoxComponent()
@@ -746,15 +746,15 @@ public:
TQPixmap image;
};
-ImageComponent::ImageComponent( ComponentBase *tqparent )
- : Component( tqparent ), d( new Private )
+ImageComponent::ImageComponent( ComponentBase *parent )
+ : Component( parent ), d( new Private )
{
}
int ImageComponent::RTTI = Rtti_ImageComponent;
-ImageComponent::ImageComponent( ComponentBase *tqparent, int minW, int minH )
- : Component( tqparent ), d( new Private )
+ImageComponent::ImageComponent( ComponentBase *parent, int minW, int minH )
+ : Component( parent ), d( new Private )
{
setMinWidth( minW );
setMinHeight( minH );
@@ -858,8 +858,8 @@ public:
TQFont font;
};
-TextComponent::TextComponent( ComponentBase *tqparent, const TQFont &font, const TQString &text )
- : Component( tqparent ), d( new Private )
+TextComponent::TextComponent( ComponentBase *parent, const TQFont &font, const TQString &text )
+ : Component( parent ), d( new Private )
{
setFont( font );
setText( text );
@@ -956,8 +956,8 @@ public:
TQFont font;
};
-DisplayNameComponent::DisplayNameComponent( ComponentBase *tqparent )
- : BoxComponent( tqparent ), d( new Private )
+DisplayNameComponent::DisplayNameComponent( ComponentBase *parent )
+ : BoxComponent( parent ), d( new Private )
{
}
@@ -1092,8 +1092,8 @@ TQString DisplayNameComponent::text()
// HSpacerComponent --------
-HSpacerComponent::HSpacerComponent( ComponentBase *tqparent )
- : Component( tqparent )
+HSpacerComponent::HSpacerComponent( ComponentBase *parent )
+ : Component( parent )
{
setMinWidth( 0 );
setMinHeight( 0 );
@@ -1108,8 +1108,8 @@ int HSpacerComponent::widthForHeight( int )
// VSpacerComponent --------
-VSpacerComponent::VSpacerComponent( ComponentBase *tqparent )
- : Component( tqparent )
+VSpacerComponent::VSpacerComponent( ComponentBase *parent )
+ : Component( parent )
{
setMinWidth( 0 );
setMinHeight( 0 );
@@ -1131,7 +1131,7 @@ public:
int iconSize;
};
-ContactComponent::ContactComponent( ComponentBase *tqparent, Kopete::Contact *contact, int) : ImageComponent( tqparent ) , d( new Private )
+ContactComponent::ContactComponent( ComponentBase *parent, Kopete::Contact *contact, int) : ImageComponent( parent ) , d( new Private )
{
d->contact = contact;
d->iconSize = 12; // size of the image is fixed to 12 pixels
@@ -1160,7 +1160,7 @@ std::pair<TQString,TQRect> ContactComponent::toolTip( const TQPoint &/*relativeP
////////////////// SpacerComponent /////////////////////////
-SpacerComponent::SpacerComponent( ComponentBase *tqparent, int w, int h ) : Component( tqparent )
+SpacerComponent::SpacerComponent( ComponentBase *parent, int w, int h ) : Component( parent )
{
setMinWidth(w);
setMinHeight(h);
@@ -1279,14 +1279,14 @@ bool Item::Private::animateChanges = true;
bool Item::Private::fadeVisibility = true;
bool Item::Private::foldVisibility = true;
-Item::Item( TQListViewItem *tqparent, TQObject *owner, const char *name )
- : TQObject( owner, name ), KListViewItem( tqparent ), d( new Private(this) )
+Item::Item( TQListViewItem *parent, TQObject *owner, const char *name )
+ : TQObject( owner, name ), KListViewItem( parent ), d( new Private(this) )
{
initLVI();
}
-Item::Item( TQListView *tqparent, TQObject *owner, const char *name )
- : TQObject( owner, name ), KListViewItem( tqparent ), d( new Private(this) )
+Item::Item( TQListView *parent, TQObject *owner, const char *name )
+ : TQObject( owner, name ), KListViewItem( parent ), d( new Private(this) )
{
initLVI();
}
@@ -1411,7 +1411,7 @@ void Item::setTargetVisibility( bool vis )
{
if ( d->visibilityTarget == vis )
{
- // in case we're getting called because our tqparent was shown and
+ // in case we're getting called because our parent was shown and
// we need to be rehidden
if ( !d->visibilityTimer.isActive() )
setVisible( vis && d->searchMatch );