summaryrefslogtreecommitdiffstats
path: root/tqtinterface/qt4/src/dialogs/tqfiledialog.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'tqtinterface/qt4/src/dialogs/tqfiledialog.cpp')
-rw-r--r--tqtinterface/qt4/src/dialogs/tqfiledialog.cpp28
1 files changed, 14 insertions, 14 deletions
diff --git a/tqtinterface/qt4/src/dialogs/tqfiledialog.cpp b/tqtinterface/qt4/src/dialogs/tqfiledialog.cpp
index f92e18e..221bec5 100644
--- a/tqtinterface/qt4/src/dialogs/tqfiledialog.cpp
+++ b/tqtinterface/qt4/src/dialogs/tqfiledialog.cpp
@@ -892,7 +892,7 @@ TQFDProgressDialog::TQFDProgressDialog( TQWidget *tqparent, const TQString &fn,
TQPushButton *b = new TQPushButton( TQFileDialog::tr( "Cancel" ), this,
"qt_cancel_btn" );
- b->setFixedSize( b->tqsizeHint() );
+ b->setFixedSize( b->sizeHint() );
tqlayout->addWidget( b );
connect( b, TQT_SIGNAL( clicked() ),
this, TQT_SIGNAL( cancelled() ) );
@@ -1180,7 +1180,7 @@ TQFileListBox::TQFileListBox( TQWidget *tqparent, TQFileDialog *dlg )
TQVBox *box = new TQVBox( viewport(), "qt_vbox" );
box->setFrameStyle( TQFrame::Box | TQFrame::Plain );
lined = new TQRenameEdit( box );
- lined->setFixedHeight( lined->tqsizeHint().height() );
+ lined->setFixedHeight( lined->sizeHint().height() );
box->hide();
box->setBackgroundMode( TQt::PaletteBase );
renameTimer = new TQTimer( this );
@@ -1581,7 +1581,7 @@ TQFileDialogTQFileListView::TQFileDialogTQFileListView( TQWidget *tqparent, TQFi
TQVBox *box = new TQVBox( viewport(), "qt_vbox" );
box->setFrameStyle( TQFrame::Box | TQFrame::Plain );
lined = new TQRenameEdit( box );
- lined->setFixedHeight( lined->tqsizeHint().height() );
+ lined->setFixedHeight( lined->sizeHint().height() );
box->hide();
box->setBackgroundMode( TQt::PaletteBase );
renameTimer = new TQTimer( this );
@@ -2795,7 +2795,7 @@ void TQFileDialog::init()
if ( screen.width() < 1024 || screen.height() < 768 ) {
resize( TQMIN(screen.width(), 420), TQMIN(screen.height(), 236) );
} else {
- TQSize s = files->tqsizeHint();
+ TQSize s = files->sizeHint();
s = TQSize( s.width() + 300, s.height() + 82 );
if ( s.width() * 3 > screen.width() * 2 )
@@ -3894,20 +3894,20 @@ void TQFileDialog::updateGeometries()
r.setHeight( TQMAX(r.height(),t.height()) )
// labels first
- r = d->pathL->tqsizeHint();
- t = d->fileL->tqsizeHint();
+ r = d->pathL->sizeHint();
+ t = d->fileL->sizeHint();
RM;
- t = d->typeL->tqsizeHint();
+ t = d->typeL->sizeHint();
RM;
- d->pathL->setFixedSize( d->pathL->tqsizeHint() );
+ d->pathL->setFixedSize( d->pathL->sizeHint() );
d->fileL->setFixedSize( r );
d->typeL->setFixedSize( r );
// single-line input areas
- r = d->paths->tqsizeHint();
- t = nameEdit->tqsizeHint();
+ r = d->paths->sizeHint();
+ t = nameEdit->sizeHint();
RM;
- t = d->types->tqsizeHint();
+ t = d->types->sizeHint();
RM;
r.setWidth( t.width() * 2 / 3 );
t.setWidth( TQWIDGETSIZE_MAX );
@@ -3935,7 +3935,7 @@ r.setHeight( TQMAX(r.height(),t.height()) )
TQButton *b = 0;
if ( !d->toolButtons.isEmpty() ) {
for ( b = d->toolButtons.first(); b; b = d->toolButtons.next() )
- b->setFixedSize( b->tqsizeHint().width(), r.height() );
+ b->setFixedSize( b->sizeHint().width(), r.height() );
}
if ( d->infoPreview ) {
@@ -3956,9 +3956,9 @@ r.setHeight( TQMAX(r.height(),t.height()) )
// open/save, cancel
r = TQSize( 75, 20 );
- t = okB->tqsizeHint();
+ t = okB->sizeHint();
RM;
- t = cancelB->tqsizeHint();
+ t = cancelB->sizeHint();
RM;
okB->setFixedSize( r );