summaryrefslogtreecommitdiffstats
path: root/kompare/libdialogpages/filespage.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'kompare/libdialogpages/filespage.cpp')
-rw-r--r--kompare/libdialogpages/filespage.cpp16
1 files changed, 8 insertions, 8 deletions
diff --git a/kompare/libdialogpages/filespage.cpp b/kompare/libdialogpages/filespage.cpp
index 82276439..0bbc87fe 100644
--- a/kompare/libdialogpages/filespage.cpp
+++ b/kompare/libdialogpages/filespage.cpp
@@ -16,7 +16,7 @@
**
***************************************************************************/
-#include <layout.h>
+#include <tqlayout.h>
#include <tqgroupbox.h>
#include <kapplication.h>
@@ -34,9 +34,9 @@
FilesPage::FilesPage( TQWidget* parent ) : PageBase( parent ), m_URLChanged( false )
{
TQWidget* page = new TQWidget( this );
- TQVBoxLayout* layout = new TQVBoxLayout( page );
- layout->setSpacing( KDialog::spacingHint() );
- layout->setMargin( KDialog::marginHint() );
+ TQVBoxLayout* tqlayout = new TQVBoxLayout( page );
+ tqlayout->setSpacing( KDialog::spacingHint() );
+ tqlayout->setMargin( KDialog::marginHint() );
m_firstGB = new TQGroupBox( 1, Qt::Vertical, "You have to set this moron :)", page );
m_firstURLComboBox = new KURLComboBox( KURLComboBox::Both, true, m_firstGB, "SourceURLComboBox" );
@@ -54,11 +54,11 @@ FilesPage::FilesPage( TQWidget* parent ) : PageBase( parent ), m_URLChanged( fal
m_encodingComboBox = new TQComboBox( false, m_thirdGB, "encoding_combobox" );
m_encodingComboBox->insertStringList( KGlobal::charsets()->availableEncodingNames() );
- layout->addWidget( m_firstGB );
- layout->addWidget( m_secondGB );
- layout->addWidget( m_thirdGB );
+ tqlayout->addWidget( m_firstGB );
+ tqlayout->addWidget( m_secondGB );
+ tqlayout->addWidget( m_thirdGB );
- layout->addStretch( 1 );
+ tqlayout->addStretch( 1 );
page->setMinimumSize( sizeHintForWidget( page ) );
addTab( page, i18n( "&Files" ) );