summaryrefslogtreecommitdiffstats
path: root/kompare/libdialogpages/filespage.cpp
diff options
context:
space:
mode:
authortpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2011-06-12 01:36:19 +0000
committertpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2011-06-12 01:36:19 +0000
commit99a2774ca6f1cab334de5d43fe36fc44ae889a4c (patch)
treeeff34cf0762227f6baf2a93e8fef48d4bed2651c /kompare/libdialogpages/filespage.cpp
parent1c104292188541106338d4940b0f04beeb4301a0 (diff)
downloadtdesdk-99a2774ca6f1cab334de5d43fe36fc44ae889a4c.tar.gz
tdesdk-99a2774ca6f1cab334de5d43fe36fc44ae889a4c.zip
TQt4 convert kdesdk
This enables compilation under both Qt3 and Qt4 git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kdesdk@1236185 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
Diffstat (limited to 'kompare/libdialogpages/filespage.cpp')
-rw-r--r--kompare/libdialogpages/filespage.cpp18
1 files changed, 9 insertions, 9 deletions
diff --git a/kompare/libdialogpages/filespage.cpp b/kompare/libdialogpages/filespage.cpp
index f326bbde..606f38fe 100644
--- a/kompare/libdialogpages/filespage.cpp
+++ b/kompare/libdialogpages/filespage.cpp
@@ -31,12 +31,12 @@
#include "filessettings.h"
#include "filespage.h"
-FilesPage::FilesPage( TQWidget* parent ) : PageBase( parent ), m_URLChanged( false )
+FilesPage::FilesPage( TQWidget* tqparent ) : PageBase( tqparent ), 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,12 +54,12 @@ 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 );
- page->setMinimumSize( sizeHintForWidget( page ) );
+ tqlayout->addStretch( 1 );
+ page->setMinimumSize( tqsizeHintForWidget( page ) );
addTab( page, i18n( "&Files" ) );
}