summaryrefslogtreecommitdiffstats
path: root/experimental/tqtinterface/qt4/src/kernel/tqlayout.cpp
diff options
context:
space:
mode:
authorTimothy Pearson <kb9vqf@pearsoncomputing.net>2011-08-09 22:25:47 -0500
committerTimothy Pearson <kb9vqf@pearsoncomputing.net>2011-08-09 22:25:47 -0500
commit03256f3cd5149f3ff5f5f45765b0b0659db4e036 (patch)
treecaabe9e1c0e3edfd06ea5aefd4d7279664cd9ede /experimental/tqtinterface/qt4/src/kernel/tqlayout.cpp
parent0594950f65a713c2d12e8eb6ddd3f5f9b306ec08 (diff)
downloadtde-03256f3cd5149f3ff5f5f45765b0b0659db4e036.tar.gz
tde-03256f3cd5149f3ff5f5f45765b0b0659db4e036.zip
rename the following methods:
tqfind find tqreplace replace tqcontains contains
Diffstat (limited to 'experimental/tqtinterface/qt4/src/kernel/tqlayout.cpp')
-rw-r--r--experimental/tqtinterface/qt4/src/kernel/tqlayout.cpp22
1 files changed, 11 insertions, 11 deletions
diff --git a/experimental/tqtinterface/qt4/src/kernel/tqlayout.cpp b/experimental/tqtinterface/qt4/src/kernel/tqlayout.cpp
index 9a74fcee7..9c3132a03 100644
--- a/experimental/tqtinterface/qt4/src/kernel/tqlayout.cpp
+++ b/experimental/tqtinterface/qt4/src/kernel/tqlayout.cpp
@@ -1538,7 +1538,7 @@ public:
int heightForWidth( int, int, int );
int minimumHeightForWidth( int, int, int );
- bool tqfindWidget( TQWidget* w, int *row, int *col );
+ bool findWidget( TQWidget* w, int *row, int *col );
inline void getNextPos( int &row, int &col ) { row = nextR; col = nextC; }
inline uint count() const
@@ -1550,7 +1550,7 @@ private:
void recalcHFW( int w, int s );
void addHfwData ( TQGridBox *box, int width );
void init();
- TQSize tqfindSize( TQCOORD TQLayoutStruct::*, int ) const;
+ TQSize findSize( TQCOORD TQLayoutStruct::*, int ) const;
void addData( TQGridBox *b, bool r = TRUE, bool c = TRUE );
void setSize( int rows, int cols );
void setupLayoutData( int space );
@@ -1683,7 +1683,7 @@ int TQGridLayoutData::minimumHeightForWidth( int w, int margin, int spacing )
return has_hfw ? (hfw_minheight + 2*margin) : -1;
}
-bool TQGridLayoutData::tqfindWidget( TQWidget* w, int *row, int *col )
+bool TQGridLayoutData::findWidget( TQWidget* w, int *row, int *col )
{
TQPtrListIterator<TQGridBox> it( things );
TQGridBox * box;
@@ -1716,7 +1716,7 @@ bool TQGridLayoutData::tqfindWidget( TQWidget* w, int *row, int *col )
return FALSE;
}
-TQSize TQGridLayoutData::tqfindSize( TQCOORD TQLayoutStruct::*size, int spacer ) const
+TQSize TQGridLayoutData::findSize( TQCOORD TQLayoutStruct::*size, int spacer ) const
{
TQGridLayoutData *that = (TQGridLayoutData *)this;
that->setupLayoutData( spacer );
@@ -1767,17 +1767,17 @@ TQ_SPExpandData TQGridLayoutData::expanding( int spacing )
QSize TQGridLayoutData::tqsizeHint( int spacer ) const
{
- return tqfindSize( &TQLayoutStruct::tqsizeHint, spacer );
+ return findSize( &TQLayoutStruct::tqsizeHint, spacer );
}
QSize TQGridLayoutData::tqmaximumSize( int spacer ) const
{
- return tqfindSize( &TQLayoutStruct::tqmaximumSize, spacer );
+ return findSize( &TQLayoutStruct::tqmaximumSize, spacer );
}
QSize TQGridLayoutData::tqminimumSize( int spacer ) const
{
- return tqfindSize( &TQLayoutStruct::tqminimumSize, spacer );
+ return findSize( &TQLayoutStruct::tqminimumSize, spacer );
}
void TQGridLayoutData::setSize( int r, int c )
@@ -2526,9 +2526,9 @@ int TQGridLayout::minimumHeightForWidth( int w ) const
Note: if a widget spans multiple rows/columns, the top-left cell
is returned.
*/
-bool TQGridLayout::tqfindWidget( TQWidget* w, int *row, int *col )
+bool TQGridLayout::findWidget( TQWidget* w, int *row, int *col )
{
- return data->tqfindWidget( w, row, col );
+ return data->findWidget( w, row, col );
}
/*!
@@ -3419,7 +3419,7 @@ void TQBoxLayout::addItem( QLayoutItem *item )
\warning Does not call TQLayout::insertChildLayout() if \a item is
a TQLayout.
- \sa addItem(), tqfindWidget()
+ \sa addItem(), findWidget()
*/
void TQBoxLayout::insertItem( int index, TQLayoutItem *item )
{
@@ -3644,7 +3644,7 @@ void TQBoxLayout::addStrut( int size )
Returns the index of \a w, or -1 if \a w is not found.
*/
-int TQBoxLayout::tqfindWidget( TQWidget* w )
+int TQBoxLayout::findWidget( TQWidget* w )
{
const int n = data->list.count();
for ( int i = 0; i < n; i++ ) {