Rename obsolete tq methods to standard names

(cherry picked from commit 8eede28a55)
v3.5.13-sru
Timothy Pearson 13 years ago committed by Slávek Banko
parent 586142a7b2
commit a0a8b49e79

@ -146,15 +146,15 @@ BatchProgressDialog::BatchProgressDialog( TQWidget *parent, const TQString &capt
TQFrame *headerFrame = new TQFrame( box ); TQFrame *headerFrame = new TQFrame( box );
headerFrame->setFrameStyle(TQFrame::Panel|TQFrame::Sunken); headerFrame->setFrameStyle(TQFrame::Panel|TQFrame::Sunken);
TQHBoxLayout* tqlayout = new TQHBoxLayout( headerFrame ); TQHBoxLayout* layout = new TQHBoxLayout( headerFrame );
tqlayout->setMargin( 2 ); // to make sure the frame gets displayed layout->setMargin( 2 ); // to make sure the frame gets displayed
tqlayout->setSpacing( 0 ); layout->setSpacing( 0 );
TQLabel *pixmapLabelLeft = new TQLabel( headerFrame, "pixmapLabelLeft" ); TQLabel *pixmapLabelLeft = new TQLabel( headerFrame, "pixmapLabelLeft" );
pixmapLabelLeft->setScaledContents( false ); pixmapLabelLeft->setScaledContents( false );
tqlayout->addWidget( pixmapLabelLeft ); layout->addWidget( pixmapLabelLeft );
TQLabel *labelTitle = new TQLabel( caption, headerFrame, "labelTitle" ); TQLabel *labelTitle = new TQLabel( caption, headerFrame, "labelTitle" );
tqlayout->addWidget( labelTitle ); layout->addWidget( labelTitle );
tqlayout->setStretchFactor( labelTitle, 1 ); layout->setStretchFactor( labelTitle, 1 );
TQString dir; TQString dir;
KGlobal::dirs()->addResourceType("kipi_banner_left", KGlobal::dirs()->kde_default("data") + "kipi/data"); KGlobal::dirs()->addResourceType("kipi_banner_left", KGlobal::dirs()->kde_default("data") + "kipi/data");

@ -108,7 +108,7 @@ ImageCollectionSelector::ImageCollectionSelector(TQWidget* parent, Interface* in
TQPushButton* selectAll=box->addButton(i18n("Select All")); TQPushButton* selectAll=box->addButton(i18n("Select All"));
TQPushButton* invertSelection=box->addButton(i18n("Invert Selection")); TQPushButton* invertSelection=box->addButton(i18n("Invert Selection"));
TQPushButton* selectNone=box->addButton(i18n("Select None")); TQPushButton* selectNone=box->addButton(i18n("Select None"));
box->tqlayout(); box->layout();
connect(selectAll, TQT_SIGNAL(clicked()), connect(selectAll, TQT_SIGNAL(clicked()),
this, TQT_SLOT(slotSelectAll()) ); this, TQT_SLOT(slotSelectAll()) );

@ -101,15 +101,15 @@ ImageDialog::ImageDialog(TQWidget* parent, KIPI::Interface* interface,
TQFrame *headerFrame = new TQFrame( box ); TQFrame *headerFrame = new TQFrame( box );
headerFrame->setFrameStyle(TQFrame::Panel|TQFrame::Sunken); headerFrame->setFrameStyle(TQFrame::Panel|TQFrame::Sunken);
TQHBoxLayout* tqlayout = new TQHBoxLayout( headerFrame ); TQHBoxLayout* layout = new TQHBoxLayout( headerFrame );
tqlayout->setMargin( 2 ); // to make sure the frame gets displayed layout->setMargin( 2 ); // to make sure the frame gets displayed
tqlayout->setSpacing( 0 ); layout->setSpacing( 0 );
TQLabel *pixmapLabelLeft = new TQLabel( headerFrame, "pixmapLabelLeft" ); TQLabel *pixmapLabelLeft = new TQLabel( headerFrame, "pixmapLabelLeft" );
pixmapLabelLeft->setScaledContents( false ); pixmapLabelLeft->setScaledContents( false );
tqlayout->addWidget( pixmapLabelLeft ); layout->addWidget( pixmapLabelLeft );
TQLabel *labelTitle = new TQLabel( i18n("Select Image From Album"), headerFrame, "labelTitle" ); TQLabel *labelTitle = new TQLabel( i18n("Select Image From Album"), headerFrame, "labelTitle" );
tqlayout->addWidget( labelTitle ); layout->addWidget( labelTitle );
tqlayout->setStretchFactor( labelTitle, 1 ); layout->setStretchFactor( labelTitle, 1 );
dvlay->addWidget( headerFrame ); dvlay->addWidget( headerFrame );
TQString directory; TQString directory;

@ -66,10 +66,10 @@ KIPI::UploadWidget::UploadWidget( KIPI::Interface* interface, TQWidget* parent,
{ {
d = new Private; d = new Private;
TQVBoxLayout* tqlayout = new TQVBoxLayout( this, 0 ); TQVBoxLayout* layout = new TQVBoxLayout( this, 0 );
d->m_treeView = new KFileTreeView( this ); d->m_treeView = new KFileTreeView( this );
d->m_treeView->setRootIsDecorated( true ); d->m_treeView->setRootIsDecorated( true );
tqlayout->addWidget( d->m_treeView ); layout->addWidget( d->m_treeView );
// Fetch the current album, so we can start out there. // Fetch the current album, so we can start out there.
KIPI::ImageCollection album = interface->currentAlbum(); KIPI::ImageCollection album = interface->currentAlbum();

Loading…
Cancel
Save