summaryrefslogtreecommitdiffstats
path: root/chalk/ui/layerlist.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'chalk/ui/layerlist.cpp')
-rw-r--r--chalk/ui/layerlist.cpp16
1 files changed, 8 insertions, 8 deletions
diff --git a/chalk/ui/layerlist.cpp b/chalk/ui/layerlist.cpp
index 886b27e4c..059d4e350 100644
--- a/chalk/ui/layerlist.cpp
+++ b/chalk/ui/layerlist.cpp
@@ -128,7 +128,7 @@ public:
m_pos = pos;
LayerItem *prev = m_item;
m_item = static_cast<LayerItem*>(m_list->itemAt( m_pos ));
- if( TQToolTip::tqparentWidget() && m_list->showToolTips() && m_item )
+ if( TQToolTip::parentWidget() && m_list->showToolTips() && m_item )
{
if( m_item != prev )
hideTip();
@@ -216,7 +216,7 @@ public:
void position()
{
- const TQRect drect = TQApplication::desktop()->availableGeometry( TQToolTip::tqparentWidget() );
+ const TQRect drect = TQApplication::desktop()->availableGeometry( TQToolTip::parentWidget() );
const TQSize size = tqsizeHint();
const int width = size.width(), height = size.height();
const TQRect tmp = m_item->rect();
@@ -228,7 +228,7 @@ public:
else
y = kMax( drect.top(), irect.top() - height );
- int x = kMax( drect.x(), TQToolTip::tqparentWidget()->mapToGlobal( m_pos ).x() - width/2 );
+ int x = kMax( drect.x(), TQToolTip::parentWidget()->mapToGlobal( m_pos ).x() - width/2 );
if( x + width > drect.right() )
x = drect.right() - width;
@@ -617,9 +617,9 @@ LayerItem *LayerList::addLayerToParent( const TQString &displayName, LayerItem *
return 0;
}
-LayerItem *LayerList::addLayerToParent( const TQString &displayName, int tqparentID, int afterID, int id ) //SLOT
+LayerItem *LayerList::addLayerToParent( const TQString &displayName, int parentID, int afterID, int id ) //SLOT
{
- return addLayerToParent( displayName, folder( tqparentID ), layer( afterID ), id );
+ return addLayerToParent( displayName, folder( parentID ), layer( afterID ), id );
}
void LayerList::moveLayer( LayerItem *layer, LayerItem *tqparent, LayerItem *after ) //SLOT
@@ -643,9 +643,9 @@ void LayerList::moveLayer( LayerItem *layer, LayerItem *tqparent, LayerItem *aft
setCurrentItem( current ); //HACK, sometimes TQt changes this under us
}
-void LayerList::moveLayer( int id, int tqparentID, int afterID ) //SLOT
+void LayerList::moveLayer( int id, int parentID, int afterID ) //SLOT
{
- moveLayer( layer( id ), folder( tqparentID ), layer( afterID ) );
+ moveLayer( layer( id ), folder( parentID ), layer( afterID ) );
}
void LayerList::removeLayer( LayerItem *layer ) //SLOT
@@ -723,7 +723,7 @@ void LayerList::hideTip()
void LayerList::maybeTip()
{
- d->tooltip->maybeTip( d->tooltip->TQToolTip::tqparentWidget()->mapFromGlobal( TQCursor::pos() ) );
+ d->tooltip->maybeTip( d->tooltip->TQToolTip::parentWidget()->mapFromGlobal( TQCursor::pos() ) );
}
void LayerList::constructMenu( LayerItem *layer )