summaryrefslogtreecommitdiffstats
path: root/libkipi/libkipi/imagedialog.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'libkipi/libkipi/imagedialog.cpp')
-rw-r--r--libkipi/libkipi/imagedialog.cpp16
1 files changed, 8 insertions, 8 deletions
diff --git a/libkipi/libkipi/imagedialog.cpp b/libkipi/libkipi/imagedialog.cpp
index e1a8ec9..a39dabf 100644
--- a/libkipi/libkipi/imagedialog.cpp
+++ b/libkipi/libkipi/imagedialog.cpp
@@ -25,7 +25,7 @@
#include <tqguardedptr.h>
#include <tqlabel.h>
#include <tqsplitter.h>
-#include <tqlayout.h>
+#include <layout.h>
#include <tqframe.h>
#include <tqpushbutton.h>
#include <tqtimer.h>
@@ -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;
@@ -156,7 +156,7 @@ ImageDialog::ImageDialog(TQWidget* parent, KIPI::Interface* interface,
d->_imageList->setResizeMode(TQListView::LastColumn);
d->_preview=new TQLabel(splitter);
- d->_preview->tqsetAlignment(AlignHCenter | AlignVCenter | WordBreak);
+ d->_preview->setAlignment(AlignHCenter | AlignVCenter | WordBreak);
d->_preview->setFixedWidth(PREVIEW_SIZE);
d->_preview->setText(i18n("No image selected"));