summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorTimothy Pearson <kb9vqf@pearsoncomputing.net>2011-12-21 14:09:57 -0600
committerSlávek Banko <slavek.banko@axis.cz>2012-07-15 15:17:10 +0200
commita0a8b49e799d70dd1705276ab200c7aa0783c9db (patch)
treed086f5565156f5c54a6f187b1aa540f5ab79e084
parent586142a7b2a3dbf90a2f1b2af13835e146c891ac (diff)
downloadlibkipi-a0a8b49e799d70dd1705276ab200c7aa0783c9db.tar.gz
libkipi-a0a8b49e799d70dd1705276ab200c7aa0783c9db.zip
Rename obsolete tq methods to standard names
(cherry picked from commit 8eede28a55a16c34c902c035a60a803186bc1a22)
-rw-r--r--libkipi/libkipi/batchprogressdialog.cpp12
-rw-r--r--libkipi/libkipi/imagecollectionselector.cpp2
-rw-r--r--libkipi/libkipi/imagedialog.cpp12
-rw-r--r--libkipi/libkipi/uploadwidget.cpp4
4 files changed, 15 insertions, 15 deletions
diff --git a/libkipi/libkipi/batchprogressdialog.cpp b/libkipi/libkipi/batchprogressdialog.cpp
index 1f33cb9..411149e 100644
--- a/libkipi/libkipi/batchprogressdialog.cpp
+++ b/libkipi/libkipi/batchprogressdialog.cpp
@@ -146,15 +146,15 @@ BatchProgressDialog::BatchProgressDialog( TQWidget *parent, const TQString &capt
TQFrame *headerFrame = new TQFrame( box );
headerFrame->setFrameStyle(TQFrame::Panel|TQFrame::Sunken);
- TQHBoxLayout* tqlayout = new TQHBoxLayout( headerFrame );
- tqlayout->setMargin( 2 ); // to make sure the frame gets displayed
- tqlayout->setSpacing( 0 );
+ TQHBoxLayout* layout = new TQHBoxLayout( headerFrame );
+ layout->setMargin( 2 ); // to make sure the frame gets displayed
+ layout->setSpacing( 0 );
TQLabel *pixmapLabelLeft = new TQLabel( headerFrame, "pixmapLabelLeft" );
pixmapLabelLeft->setScaledContents( false );
- tqlayout->addWidget( pixmapLabelLeft );
+ layout->addWidget( pixmapLabelLeft );
TQLabel *labelTitle = new TQLabel( caption, headerFrame, "labelTitle" );
- tqlayout->addWidget( labelTitle );
- tqlayout->setStretchFactor( labelTitle, 1 );
+ layout->addWidget( labelTitle );
+ layout->setStretchFactor( labelTitle, 1 );
TQString dir;
KGlobal::dirs()->addResourceType("kipi_banner_left", KGlobal::dirs()->kde_default("data") + "kipi/data");
diff --git a/libkipi/libkipi/imagecollectionselector.cpp b/libkipi/libkipi/imagecollectionselector.cpp
index 422f8c8..75a6169 100644
--- a/libkipi/libkipi/imagecollectionselector.cpp
+++ b/libkipi/libkipi/imagecollectionselector.cpp
@@ -108,7 +108,7 @@ ImageCollectionSelector::ImageCollectionSelector(TQWidget* parent, Interface* in
TQPushButton* selectAll=box->addButton(i18n("Select All"));
TQPushButton* invertSelection=box->addButton(i18n("Invert Selection"));
TQPushButton* selectNone=box->addButton(i18n("Select None"));
- box->tqlayout();
+ box->layout();
connect(selectAll, TQT_SIGNAL(clicked()),
this, TQT_SLOT(slotSelectAll()) );
diff --git a/libkipi/libkipi/imagedialog.cpp b/libkipi/libkipi/imagedialog.cpp
index f462e80..9dc1c1c 100644
--- a/libkipi/libkipi/imagedialog.cpp
+++ b/libkipi/libkipi/imagedialog.cpp
@@ -101,15 +101,15 @@ ImageDialog::ImageDialog(TQWidget* parent, KIPI::Interface* interface,
TQFrame *headerFrame = new TQFrame( box );
headerFrame->setFrameStyle(TQFrame::Panel|TQFrame::Sunken);
- TQHBoxLayout* tqlayout = new TQHBoxLayout( headerFrame );
- tqlayout->setMargin( 2 ); // to make sure the frame gets displayed
- tqlayout->setSpacing( 0 );
+ TQHBoxLayout* layout = new TQHBoxLayout( headerFrame );
+ layout->setMargin( 2 ); // to make sure the frame gets displayed
+ layout->setSpacing( 0 );
TQLabel *pixmapLabelLeft = new TQLabel( headerFrame, "pixmapLabelLeft" );
pixmapLabelLeft->setScaledContents( false );
- tqlayout->addWidget( pixmapLabelLeft );
+ layout->addWidget( pixmapLabelLeft );
TQLabel *labelTitle = new TQLabel( i18n("Select Image From Album"), headerFrame, "labelTitle" );
- tqlayout->addWidget( labelTitle );
- tqlayout->setStretchFactor( labelTitle, 1 );
+ layout->addWidget( labelTitle );
+ layout->setStretchFactor( labelTitle, 1 );
dvlay->addWidget( headerFrame );
TQString directory;
diff --git a/libkipi/libkipi/uploadwidget.cpp b/libkipi/libkipi/uploadwidget.cpp
index f680aef..27e01d2 100644
--- a/libkipi/libkipi/uploadwidget.cpp
+++ b/libkipi/libkipi/uploadwidget.cpp
@@ -66,10 +66,10 @@ KIPI::UploadWidget::UploadWidget( KIPI::Interface* interface, TQWidget* parent,
{
d = new Private;
- TQVBoxLayout* tqlayout = new TQVBoxLayout( this, 0 );
+ TQVBoxLayout* layout = new TQVBoxLayout( this, 0 );
d->m_treeView = new KFileTreeView( this );
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.
KIPI::ImageCollection album = interface->currentAlbum();