summaryrefslogtreecommitdiffstats
path: root/experimental/tqtinterface/qt4/tools/designer/examples/colortool/mainform.ui.h
diff options
context:
space:
mode:
Diffstat (limited to 'experimental/tqtinterface/qt4/tools/designer/examples/colortool/mainform.ui.h')
-rw-r--r--experimental/tqtinterface/qt4/tools/designer/examples/colortool/mainform.ui.h18
1 files changed, 9 insertions, 9 deletions
diff --git a/experimental/tqtinterface/qt4/tools/designer/examples/colortool/mainform.ui.h b/experimental/tqtinterface/qt4/tools/designer/examples/colortool/mainform.ui.h
index 0026d8a70..62c072976 100644
--- a/experimental/tqtinterface/qt4/tools/designer/examples/colortool/mainform.ui.h
+++ b/experimental/tqtinterface/qt4/tools/designer/examples/colortool/mainform.ui.h
@@ -22,7 +22,7 @@ void MainForm::init()
if ( clipboard->supportsSelection() )
clipboard->setSelectionMode( TRUE );
- tqfindForm = 0;
+ findForm = 0;
loadSettings();
m_filename = "";
m_changed = FALSE;
@@ -354,12 +354,12 @@ void MainForm::editCopy()
void MainForm::editFind()
{
- if ( ! tqfindForm ) {
- tqfindForm = new FindForm( this );
- connect( tqfindForm, TQT_SIGNAL( lookfor(const TQString&) ),
+ if ( ! findForm ) {
+ findForm = new FindForm( this );
+ connect( findForm, TQT_SIGNAL( lookfor(const TQString&) ),
this, TQT_SLOT( lookfor(const TQString&) ) );
}
- tqfindForm->show();
+ findForm->show();
}
void MainForm::lookfor( const TQString& text )
@@ -373,7 +373,7 @@ void MainForm::lookfor( const TQString& text )
if ( visible == tablePage && colorTable->numRows() ) {
int row = colorTable->currentRow();
for ( int i = row + 1; i < colorTable->numRows(); ++i )
- if ( colorTable->text( i, 0 ).lower().tqcontains( ltext ) ) {
+ if ( colorTable->text( i, 0 ).lower().contains( ltext ) ) {
colorTable->setCurrentCell( i, 0 );
colorTable->clearSelection();
colorTable->selectRow( i );
@@ -387,7 +387,7 @@ void MainForm::lookfor( const TQString& text )
else if ( visible == iconsPage ) {
TQIconViewItem *start = colorIconView->currentItem();
for ( TQIconViewItem *item = start->nextItem(); item; item = item->nextItem() )
- if ( item->text().lower().tqcontains( ltext ) ) {
+ if ( item->text().lower().contains( ltext ) ) {
colorIconView->setCurrentItem( item );
colorIconView->ensureItemVisible( item );
found = TRUE;
@@ -397,9 +397,9 @@ void MainForm::lookfor( const TQString& text )
colorIconView->setCurrentItem( start );
}
if ( ! found ) {
- statusBar()->message( TQString( "Could not tqfind '%1' after here" ).
+ statusBar()->message( TQString( "Could not find '%1' after here" ).
arg( text ) );
- tqfindForm->notfound();
+ findForm->notfound();
}
}