summaryrefslogtreecommitdiffstats
path: root/src/kchmsetupdialog.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/kchmsetupdialog.cpp')
-rw-r--r--src/kchmsetupdialog.cpp140
1 files changed, 70 insertions, 70 deletions
diff --git a/src/kchmsetupdialog.cpp b/src/kchmsetupdialog.cpp
index 55b643e..347520e 100644
--- a/src/kchmsetupdialog.cpp
+++ b/src/kchmsetupdialog.cpp
@@ -20,7 +20,7 @@
#include <tqcheckbox.h>
#include <tqgroupbox.h>
#include <tqlineedit.h>
-#include <tqlayout.h>
+#include <layout.h>
#include <tqtooltip.h>
#include <tqwhatsthis.h>
@@ -36,7 +36,7 @@ KCHMSetupDialog::KCHMSetupDialog( TQWidget* parent, const char* name, bool modal
{
if ( !name )
setName( "MyDialog1" );
- tqsetSizePolicy( TQSizePolicy( (TQSizePolicy::SizeType)1, (TQSizePolicy::SizeType)1, 0, 0, sizePolicy().hasHeightForWidth() ) );
+ setSizePolicy( TQSizePolicy( (TQSizePolicy::SizeType)1, (TQSizePolicy::SizeType)1, 0, 0, sizePolicy().hasHeightForWidth() ) );
setSizeGripEnabled( FALSE );
setModal( TRUE );
MyDialog1Layout = new TQVBoxLayout( this, 11, 6, "MyDialog1Layout");
@@ -47,60 +47,60 @@ KCHMSetupDialog::KCHMSetupDialog( TQWidget* parent, const char* name, bool modal
Widget8 = new TQWidget( tabWidget, "Widget8" );
Widget8Layout = new TQVBoxLayout( Widget8, 11, 6, "Widget8Layout");
- tqlayout4 = new TQHBoxLayout( 0, 0, 6, "tqlayout4");
+ layout4 = new TQHBoxLayout( 0, 0, 6, "layout4");
buttonGroup1 = new TQButtonGroup( Widget8, "buttonGroup1" );
buttonGroup1->setColumnLayout(0, Qt::Vertical );
- buttonGroup1->tqlayout()->setSpacing( 6 );
- buttonGroup1->tqlayout()->setMargin( 11 );
- buttonGroup1Layout = new TQVBoxLayout( buttonGroup1->tqlayout() );
- buttonGroup1Layout->tqsetAlignment( TQt::AlignTop );
+ buttonGroup1->layout()->setSpacing( 6 );
+ buttonGroup1->layout()->setMargin( 11 );
+ buttonGroup1Layout = new TQVBoxLayout( buttonGroup1->layout() );
+ buttonGroup1Layout->setAlignment( TQt::AlignTop );
m_radioOnBeginOpenDialog = new TQRadioButton( buttonGroup1, "m_radioOnBeginOpenDialog" );
buttonGroup1Layout->addWidget( m_radioOnBeginOpenDialog );
m_radioOnBeginOpenLast = new TQRadioButton( buttonGroup1, "m_radioOnBeginOpenLast" );
buttonGroup1Layout->addWidget( m_radioOnBeginOpenLast );
- tqlayout4->addWidget( buttonGroup1 );
+ layout4->addWidget( buttonGroup1 );
buttonGroup2 = new TQButtonGroup( Widget8, "buttonGroup2" );
buttonGroup2->setColumnLayout(0, Qt::Vertical );
- buttonGroup2->tqlayout()->setSpacing( 6 );
- buttonGroup2->tqlayout()->setMargin( 11 );
- buttonGroup2Layout = new TQVBoxLayout( buttonGroup2->tqlayout() );
- buttonGroup2Layout->tqsetAlignment( TQt::AlignTop );
+ buttonGroup2->layout()->setSpacing( 6 );
+ buttonGroup2->layout()->setMargin( 11 );
+ buttonGroup2Layout = new TQVBoxLayout( buttonGroup2->layout() );
+ buttonGroup2Layout->setAlignment( TQt::AlignTop );
- tqlayout3 = new TQHBoxLayout( 0, 0, 6, "tqlayout3");
+ layout3 = new TQHBoxLayout( 0, 0, 6, "layout3");
textLabel1 = new TQLabel( buttonGroup2, "textLabel1" );
- tqlayout3->addWidget( textLabel1 );
+ layout3->addWidget( textLabel1 );
m_historySize = new TQSpinBox( buttonGroup2, "m_historySize" );
m_historySize->setValue( 10 );
- tqlayout3->addWidget( m_historySize );
+ layout3->addWidget( m_historySize );
textLabel2 = new TQLabel( buttonGroup2, "textLabel2" );
- tqlayout3->addWidget( textLabel2 );
- buttonGroup2Layout->addLayout( tqlayout3 );
+ layout3->addWidget( textLabel2 );
+ buttonGroup2Layout->addLayout( layout3 );
m_rememberHistoryInfo = new TQCheckBox( buttonGroup2, "m_rememberHistoryInfo" );
buttonGroup2Layout->addWidget( m_rememberHistoryInfo );
- tqlayout4->addWidget( buttonGroup2 );
- Widget8Layout->addLayout( tqlayout4 );
+ layout4->addWidget( buttonGroup2 );
+ Widget8Layout->addLayout( layout4 );
groupBox1 = new TQGroupBox( Widget8, "groupBox1" );
groupBox1->setColumnLayout(0, Qt::Vertical );
- groupBox1->tqlayout()->setSpacing( 6 );
- groupBox1->tqlayout()->setMargin( 11 );
- groupBox1Layout = new TQHBoxLayout( groupBox1->tqlayout() );
- groupBox1Layout->tqsetAlignment( TQt::AlignTop );
+ groupBox1->layout()->setSpacing( 6 );
+ groupBox1->layout()->setMargin( 11 );
+ groupBox1Layout = new TQHBoxLayout( groupBox1->layout() );
+ groupBox1Layout->setAlignment( TQt::AlignTop );
buttonGroup4 = new TQButtonGroup( groupBox1, "buttonGroup4" );
buttonGroup4->setColumnLayout(0, Qt::Vertical );
- buttonGroup4->tqlayout()->setSpacing( 6 );
- buttonGroup4->tqlayout()->setMargin( 11 );
- buttonGroup4Layout = new TQVBoxLayout( buttonGroup4->tqlayout() );
- buttonGroup4Layout->tqsetAlignment( TQt::AlignTop );
+ buttonGroup4->layout()->setSpacing( 6 );
+ buttonGroup4->layout()->setMargin( 11 );
+ buttonGroup4Layout = new TQVBoxLayout( buttonGroup4->layout() );
+ buttonGroup4Layout->setAlignment( TQt::AlignTop );
m_radioExtLinkOpenAlways = new TQRadioButton( buttonGroup4, "m_radioExtLinkOpenAlways" );
buttonGroup4Layout->addWidget( m_radioExtLinkOpenAlways );
@@ -114,10 +114,10 @@ KCHMSetupDialog::KCHMSetupDialog( TQWidget* parent, const char* name, bool modal
buttonGroup5 = new TQButtonGroup( groupBox1, "buttonGroup5" );
buttonGroup5->setColumnLayout(0, Qt::Vertical );
- buttonGroup5->tqlayout()->setSpacing( 6 );
- buttonGroup5->tqlayout()->setMargin( 11 );
- buttonGroup5Layout = new TQVBoxLayout( buttonGroup5->tqlayout() );
- buttonGroup5Layout->tqsetAlignment( TQt::AlignTop );
+ buttonGroup5->layout()->setSpacing( 6 );
+ buttonGroup5->layout()->setMargin( 11 );
+ buttonGroup5Layout = new TQVBoxLayout( buttonGroup5->layout() );
+ buttonGroup5Layout->setAlignment( TQt::AlignTop );
m_radioNewChmOpenAlways = new TQRadioButton( buttonGroup5, "m_radioNewChmOpenAlways" );
buttonGroup5Layout->addWidget( m_radioNewChmOpenAlways );
@@ -129,42 +129,42 @@ KCHMSetupDialog::KCHMSetupDialog( TQWidget* parent, const char* name, bool modal
buttonGroup5Layout->addWidget( m_radioNewChmOpenNever );
groupBox1Layout->addWidget( buttonGroup5 );
Widget8Layout->addWidget( groupBox1 );
- tabWidget->insertTab( Widget8, TQString::tqfromLatin1("") );
+ tabWidget->insertTab( Widget8, TQString::fromLatin1("") );
Widget9 = new TQWidget( tabWidget, "Widget9" );
Widget9Layout = new TQVBoxLayout( Widget9, 11, 6, "Widget9Layout");
m_groupQtsettings = new TQGroupBox( Widget9, "m_groupQtsettings" );
m_groupQtsettings->setColumnLayout(0, Qt::Vertical );
- m_groupQtsettings->tqlayout()->setSpacing( 6 );
- m_groupQtsettings->tqlayout()->setMargin( 11 );
- m_groupQtsettingsLayout = new TQHBoxLayout( m_groupQtsettings->tqlayout() );
- m_groupQtsettingsLayout->tqsetAlignment( TQt::AlignTop );
+ m_groupQtsettings->layout()->setSpacing( 6 );
+ m_groupQtsettings->layout()->setMargin( 11 );
+ m_groupQtsettingsLayout = new TQHBoxLayout( m_groupQtsettings->layout() );
+ m_groupQtsettingsLayout->setAlignment( TQt::AlignTop );
textLabel1_2 = new TQLabel( m_groupQtsettings, "textLabel1_2" );
- textLabel1_2->tqsetSizePolicy( TQSizePolicy( (TQSizePolicy::SizeType)5, (TQSizePolicy::SizeType)7, 0, 0, textLabel1_2->sizePolicy().hasHeightForWidth() ) );
+ textLabel1_2->setSizePolicy( TQSizePolicy( (TQSizePolicy::SizeType)5, (TQSizePolicy::SizeType)7, 0, 0, textLabel1_2->sizePolicy().hasHeightForWidth() ) );
textLabel1_2->setLineWidth( 1 );
- textLabel1_2->tqsetAlignment( int( TQLabel::WordBreak | TQLabel::AlignVCenter ) );
+ textLabel1_2->setAlignment( int( TQLabel::WordBreak | TQLabel::AlignVCenter ) );
m_groupQtsettingsLayout->addWidget( textLabel1_2 );
m_qtBrowserPath = new TQLineEdit( m_groupQtsettings, "m_qtBrowserPath" );
- m_qtBrowserPath->tqsetSizePolicy( TQSizePolicy( (TQSizePolicy::SizeType)1, (TQSizePolicy::SizeType)0, 0, 0, m_qtBrowserPath->sizePolicy().hasHeightForWidth() ) );
+ m_qtBrowserPath->setSizePolicy( TQSizePolicy( (TQSizePolicy::SizeType)1, (TQSizePolicy::SizeType)0, 0, 0, m_qtBrowserPath->sizePolicy().hasHeightForWidth() ) );
m_groupQtsettingsLayout->addWidget( m_qtBrowserPath );
Widget9Layout->addWidget( m_groupQtsettings );
m_groupKDEsettings = new TQGroupBox( Widget9, "m_groupKDEsettings" );
m_groupKDEsettings->setColumnLayout(0, Qt::Vertical );
- m_groupKDEsettings->tqlayout()->setSpacing( 6 );
- m_groupKDEsettings->tqlayout()->setMargin( 11 );
- m_groupKDEsettingsLayout = new TQHBoxLayout( m_groupKDEsettings->tqlayout() );
- m_groupKDEsettingsLayout->tqsetAlignment( TQt::AlignTop );
+ m_groupKDEsettings->layout()->setSpacing( 6 );
+ m_groupKDEsettings->layout()->setMargin( 11 );
+ m_groupKDEsettingsLayout = new TQHBoxLayout( m_groupKDEsettings->layout() );
+ m_groupKDEsettingsLayout->setAlignment( TQt::AlignTop );
buttonGroup5_2 = new TQButtonGroup( m_groupKDEsettings, "buttonGroup5_2" );
buttonGroup5_2->setColumnLayout(0, Qt::Vertical );
- buttonGroup5_2->tqlayout()->setSpacing( 6 );
- buttonGroup5_2->tqlayout()->setMargin( 11 );
- buttonGroup5_2Layout = new TQVBoxLayout( buttonGroup5_2->tqlayout() );
- buttonGroup5_2Layout->tqsetAlignment( TQt::AlignTop );
+ buttonGroup5_2->layout()->setSpacing( 6 );
+ buttonGroup5_2->layout()->setMargin( 11 );
+ buttonGroup5_2Layout = new TQVBoxLayout( buttonGroup5_2->layout() );
+ buttonGroup5_2Layout->setAlignment( TQt::AlignTop );
m_radioUseQtextBrowser = new TQRadioButton( buttonGroup5_2, "m_radioUseQtextBrowser" );
buttonGroup5_2Layout->addWidget( m_radioUseQtextBrowser );
@@ -175,10 +175,10 @@ KCHMSetupDialog::KCHMSetupDialog( TQWidget* parent, const char* name, bool modal
groupKhtmlSecurity = new TQGroupBox( m_groupKDEsettings, "groupKhtmlSecurity" );
groupKhtmlSecurity->setColumnLayout(0, Qt::Vertical );
- groupKhtmlSecurity->tqlayout()->setSpacing( 6 );
- groupKhtmlSecurity->tqlayout()->setMargin( 11 );
- groupKhtmlSecurityLayout = new TQGridLayout( groupKhtmlSecurity->tqlayout() );
- groupKhtmlSecurityLayout->tqsetAlignment( TQt::AlignTop );
+ groupKhtmlSecurity->layout()->setSpacing( 6 );
+ groupKhtmlSecurity->layout()->setMargin( 11 );
+ groupKhtmlSecurityLayout = new TQGridLayout( groupKhtmlSecurity->layout() );
+ groupKhtmlSecurityLayout->setAlignment( TQt::AlignTop );
m_enableJS = new TQCheckBox( groupKhtmlSecurity, "m_enableJS" );
@@ -197,17 +197,17 @@ KCHMSetupDialog::KCHMSetupDialog( TQWidget* parent, const char* name, bool modal
groupKhtmlSecurityLayout->addWidget( m_enableRefresh, 1, 1 );
m_groupKDEsettingsLayout->addWidget( groupKhtmlSecurity );
Widget9Layout->addWidget( m_groupKDEsettings );
- tabWidget->insertTab( Widget9, TQString::tqfromLatin1("") );
+ tabWidget->insertTab( Widget9, TQString::fromLatin1("") );
TabPage = new TQWidget( tabWidget, "TabPage" );
TabPageLayout = new TQVBoxLayout( TabPage, 11, 6, "TabPageLayout");
buttonGroup7 = new TQButtonGroup( TabPage, "buttonGroup7" );
buttonGroup7->setColumnLayout(0, Qt::Vertical );
- buttonGroup7->tqlayout()->setSpacing( 6 );
- buttonGroup7->tqlayout()->setMargin( 11 );
- buttonGroup7Layout = new TQVBoxLayout( buttonGroup7->tqlayout() );
- buttonGroup7Layout->tqsetAlignment( TQt::AlignTop );
+ buttonGroup7->layout()->setSpacing( 6 );
+ buttonGroup7->layout()->setMargin( 11 );
+ buttonGroup7Layout = new TQVBoxLayout( buttonGroup7->layout() );
+ buttonGroup7Layout->setAlignment( TQt::AlignTop );
m_advViewSourceInternal = new TQRadioButton( buttonGroup7, "m_advViewSourceInternal" );
buttonGroup7Layout->addWidget( m_advViewSourceInternal );
@@ -215,30 +215,30 @@ KCHMSetupDialog::KCHMSetupDialog( TQWidget* parent, const char* name, bool modal
m_advViewSourceExternal = new TQRadioButton( buttonGroup7, "m_advViewSourceExternal" );
buttonGroup7Layout->addWidget( m_advViewSourceExternal );
- tqlayout4_2 = new TQHBoxLayout( 0, 0, 6, "tqlayout4_2");
+ layout4_2 = new TQHBoxLayout( 0, 0, 6, "layout4_2");
textLabel1_3 = new TQLabel( buttonGroup7, "textLabel1_3" );
- tqlayout4_2->addWidget( textLabel1_3 );
+ layout4_2->addWidget( textLabel1_3 );
m_advExternalProgramName = new TQLineEdit( buttonGroup7, "m_advExternalProgramName" );
- tqlayout4_2->addWidget( m_advExternalProgramName );
- buttonGroup7Layout->addLayout( tqlayout4_2 );
+ layout4_2->addWidget( m_advExternalProgramName );
+ buttonGroup7Layout->addLayout( layout4_2 );
TabPageLayout->addWidget( buttonGroup7 );
groupBox6 = new TQButtonGroup( TabPage, "groupBox6" );
groupBox6->setColumnLayout(0, Qt::Vertical );
- groupBox6->tqlayout()->setSpacing( 6 );
- groupBox6->tqlayout()->setMargin( 11 );
- groupBox6Layout = new TQGridLayout( groupBox6->tqlayout() );
- groupBox6Layout->tqsetAlignment( TQt::AlignTop );
+ groupBox6->layout()->setSpacing( 6 );
+ groupBox6->layout()->setMargin( 11 );
+ groupBox6Layout = new TQGridLayout( groupBox6->layout() );
+ groupBox6Layout->setAlignment( TQt::AlignTop );
m_useSearchEngineInternal = new TQRadioButton( groupBox6, "m_useSearchEngineInternal" );
groupBox6Layout->addWidget( m_useSearchEngineInternal, 1, 0 );
m_labelUseSearchEngineInternal = new TQLabel( groupBox6, "m_labelUseSearchEngineInternal" );
- m_labelUseSearchEngineInternal->tqsetSizePolicy( TQSizePolicy( (TQSizePolicy::SizeType)5, (TQSizePolicy::SizeType)5, 10, 0, m_labelUseSearchEngineInternal->sizePolicy().hasHeightForWidth() ) );
- m_labelUseSearchEngineInternal->tqsetAlignment( int( TQLabel::WordBreak | TQLabel::AlignVCenter ) );
+ m_labelUseSearchEngineInternal->setSizePolicy( TQSizePolicy( (TQSizePolicy::SizeType)5, (TQSizePolicy::SizeType)5, 10, 0, m_labelUseSearchEngineInternal->sizePolicy().hasHeightForWidth() ) );
+ m_labelUseSearchEngineInternal->setAlignment( int( TQLabel::WordBreak | TQLabel::AlignVCenter ) );
groupBox6Layout->addWidget( m_labelUseSearchEngineInternal, 1, 1 );
@@ -247,12 +247,12 @@ KCHMSetupDialog::KCHMSetupDialog( TQWidget* parent, const char* name, bool modal
groupBox6Layout->addWidget( m_useSearchEngineNew, 0, 0 );
m_labelUseSearchEngineNew = new TQLabel( groupBox6, "m_labelUseSearchEngineNew" );
- m_labelUseSearchEngineNew->tqsetSizePolicy( TQSizePolicy( (TQSizePolicy::SizeType)5, (TQSizePolicy::SizeType)5, 10, 0, m_labelUseSearchEngineNew->sizePolicy().hasHeightForWidth() ) );
- m_labelUseSearchEngineNew->tqsetAlignment( int( TQLabel::WordBreak | TQLabel::AlignVCenter ) );
+ m_labelUseSearchEngineNew->setSizePolicy( TQSizePolicy( (TQSizePolicy::SizeType)5, (TQSizePolicy::SizeType)5, 10, 0, m_labelUseSearchEngineNew->sizePolicy().hasHeightForWidth() ) );
+ m_labelUseSearchEngineNew->setAlignment( int( TQLabel::WordBreak | TQLabel::AlignVCenter ) );
groupBox6Layout->addWidget( m_labelUseSearchEngineNew, 0, 1 );
TabPageLayout->addWidget( groupBox6 );
- tabWidget->insertTab( TabPage, TQString::tqfromLatin1("") );
+ tabWidget->insertTab( TabPage, TQString::fromLatin1("") );
MyDialog1Layout->addWidget( tabWidget );
Layout1 = new TQHBoxLayout( 0, 0, 6, "Layout1");
@@ -273,7 +273,7 @@ KCHMSetupDialog::KCHMSetupDialog( TQWidget* parent, const char* name, bool modal
Layout1->addWidget( buttonCancel );
MyDialog1Layout->addLayout( Layout1 );
languageChange();
- resize( TQSize(654, 343).expandedTo(tqminimumSizeHint()) );
+ resize( TQSize(654, 343).expandedTo(minimumSizeHint()) );
clearWState( WState_Polished );
// signals and slots connections