summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authortpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2011-07-09 02:23:29 +0000
committertpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2011-07-09 02:23:29 +0000
commitb9a31186faccaa6deb2935adae07c597dfdaac6e (patch)
tree84b8212f674a2cfc092f937b29a1cb9c72363e34
parent258ddb9c346c9eb97047b5176aa32fdf9d017257 (diff)
downloadknights-b9a31186faccaa6deb2935adae07c597dfdaac6e.tar.gz
knights-b9a31186faccaa6deb2935adae07c597dfdaac6e.zip
Remove the tq in front of these incorrectly TQt4-converted methods/data members:
tqrepaint[...] tqinvalidate[...] tqparent[...] tqmask[...] tqlayout[...] tqalignment[...] git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/applications/knights@1240522 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
-rw-r--r--knights/tabbox.cpp8
-rw-r--r--knights/tabpage.cpp14
-rw-r--r--knights/tabpage.h2
3 files changed, 12 insertions, 12 deletions
diff --git a/knights/tabbox.cpp b/knights/tabbox.cpp
index bc103f4..4e8d9ce 100644
--- a/knights/tabbox.cpp
+++ b/knights/tabbox.cpp
@@ -108,7 +108,7 @@ void TabBox::removeTab( TQWidget *child, bool deleteChild )
else
{
emit saveTabGeometry( TQString( child->className() ), size() );
- myTabs->removePage( child->tqparentWidget() );
+ myTabs->removePage( child->parentWidget() );
}
/* Delete it if requested */
@@ -125,7 +125,7 @@ void TabBox::removeTab( TQWidget *child, bool deleteChild )
void TabBox::showTab( TQWidget *child )
{
if( isChild( child ) )
- myTabs->showPage( child->tqparentWidget() );
+ myTabs->showPage( child->parentWidget() );
}
///////////////////////////////////////
//
@@ -201,8 +201,8 @@ void TabBox::changeCaption( TQWidget *child, const TQString &caption )
}
else if( isChild( child ) )
{
- ((TabPage*)child->tqparentWidget())->setCaption( caption );
- myTabs->setTabLabel( child->tqparentWidget(), caption );
+ ((TabPage*)child->parentWidget())->setCaption( caption );
+ myTabs->setTabLabel( child->parentWidget(), caption );
}
changeMyCaption( myTabs->currentPage() );
}
diff --git a/knights/tabpage.cpp b/knights/tabpage.cpp
index e532a81..959373e 100644
--- a/knights/tabpage.cpp
+++ b/knights/tabpage.cpp
@@ -75,7 +75,7 @@ TabPage::~TabPage()
///////////////////////////////////////
void TabPage::tabDragged( const TQPoint &dest, const TQPoint &offset )
{
- TabBox *myParent = tqparentTabBox();
+ TabBox *myParent = parentTabBox();
if( myParent != NULL )
{
TQWidget *destWidget = TQApplication::widgetAt( dest, TRUE );
@@ -108,7 +108,7 @@ void TabPage::tabDragged( const TQPoint &dest, const TQPoint &offset )
break;
}
}
- destWidget = destWidget->tqparentWidget();
+ destWidget = destWidget->parentWidget();
}
if( myParent->count() == 0 )
{
@@ -132,18 +132,18 @@ void TabPage::setCaption( const TQString &caption )
}
///////////////////////////////////////
//
-// TabPage::tqparentTabBox
+// TabPage::parentTabBox
//
///////////////////////////////////////
-TabBox* TabPage::tqparentTabBox( void )
+TabBox* TabPage::parentTabBox( void )
{
- TQWidget *myParent = this->tqparentWidget();
+ TQWidget *myParent = this->parentWidget();
if( TQString( myParent->className() ) == TQWIDGETSTACK_OBJECT_NAME_STRING )
{
- myParent = myParent->tqparentWidget();
+ myParent = myParent->parentWidget();
if( TQString( myParent->className() ) == TQTABWIDGET_OBJECT_NAME_STRING )
{
- myParent = myParent->tqparentWidget();
+ myParent = myParent->parentWidget();
if( TQString( myParent->className() ) == "TabBox" )
{
return ((TabBox*)myParent);
diff --git a/knights/tabpage.h b/knights/tabpage.h
index ba1388c..47f6b9c 100644
--- a/knights/tabpage.h
+++ b/knights/tabpage.h
@@ -50,7 +50,7 @@ class TabPage : public TQVBox
void requestDestruction( void );
protected:
- TabBox* tqparentTabBox( void );
+ TabBox* parentTabBox( void );
private:
TQString myCaption;