summaryrefslogtreecommitdiffstats
path: root/kpovmodeler/pmlayoutsettings.cpp
diff options
context:
space:
mode:
authorTimothy Pearson <[email protected]>2011-12-21 14:21:13 -0600
committerTimothy Pearson <[email protected]>2011-12-21 14:21:13 -0600
commitebbee358abafa1b5166404c6fe5cc44ae2837a57 (patch)
tree268d36bbf4de9fb4007a1419b132b8b95251b99d /kpovmodeler/pmlayoutsettings.cpp
parent74c05bbf9d92e43a6cf3799355b5f3598884409e (diff)
downloadtdegraphics-ebbee358abafa1b5166404c6fe5cc44ae2837a57.tar.gz
tdegraphics-ebbee358abafa1b5166404c6fe5cc44ae2837a57.zip
Rename obsolete tq methods to standard names
Diffstat (limited to 'kpovmodeler/pmlayoutsettings.cpp')
-rw-r--r--kpovmodeler/pmlayoutsettings.cpp24
1 files changed, 12 insertions, 12 deletions
diff --git a/kpovmodeler/pmlayoutsettings.cpp b/kpovmodeler/pmlayoutsettings.cpp
index df3c13d3..c379e0b3 100644
--- a/kpovmodeler/pmlayoutsettings.cpp
+++ b/kpovmodeler/pmlayoutsettings.cpp
@@ -34,8 +34,8 @@
PMLayoutSettings::PMLayoutSettings( TQWidget* parent, const char* name )
: PMSettingsDialogPage( parent, name )
{
- TQHBoxLayout* htqlayout;
- TQVBoxLayout* vtqlayout;
+ TQHBoxLayout* hlayout;
+ TQVBoxLayout* vlayout;
TQVBoxLayout* gvl;
TQGridLayout* grid;
TQGroupBox* gb;
@@ -43,16 +43,16 @@ PMLayoutSettings::PMLayoutSettings( TQWidget* parent, const char* name )
TQHBoxLayout* ghe;
TQVBoxLayout* gvle;
- vtqlayout = new TQVBoxLayout( this, 0, KDialog::spacingHint( ) );
+ vlayout = new TQVBoxLayout( this, 0, KDialog::spacingHint( ) );
- htqlayout = new TQHBoxLayout( vtqlayout );
- htqlayout->addWidget( new TQLabel( i18n( "Default view tqlayout:" ), this ) );
+ hlayout = new TQHBoxLayout( vlayout );
+ hlayout->addWidget( new TQLabel( i18n( "Default view layout:" ), this ) );
m_pDefaultLayout = new TQComboBox( this );
- htqlayout->addWidget( m_pDefaultLayout, 1 );
- htqlayout->addStretch( 1 );
+ hlayout->addWidget( m_pDefaultLayout, 1 );
+ hlayout->addStretch( 1 );
gb = new TQGroupBox( i18n( "Available View Layouts" ), this );
- vtqlayout->addWidget( gb );
+ vlayout->addWidget( gb );
gvl = new TQVBoxLayout( gb, KDialog::marginHint( ), KDialog::spacingHint( ) );
gvl->addSpacing( 10 );
@@ -180,7 +180,7 @@ PMLayoutSettings::PMLayoutSettings( TQWidget* parent, const char* name )
ghl->addStretch( 1 );
- vtqlayout->addStretch( 1 );
+ vlayout->addStretch( 1 );
}
void PMLayoutSettings::displaySettings( )
@@ -220,7 +220,7 @@ bool PMLayoutSettings::validateData( )
if( ( *eit ).dockPosition( ) != PMDockWidget::DockRight )
{
emit showMe( );
- KMessageBox::error( this, i18n( "The docking position of the first view tqlayout entry has to be 'New Column'." ),
+ KMessageBox::error( this, i18n( "The docking position of the first view layout entry has to be 'New Column'." ),
i18n( "Error" ) );
return false;
}
@@ -720,8 +720,8 @@ void PMLayoutSettings::slotMoveDownViewEntryClicked( )
void PMLayoutSettings::displayCustomOptions( )
{
// delete an old widget
- if( m_pCustomOptionsHolder->tqlayout( ) )
- delete m_pCustomOptionsHolder->tqlayout( );
+ if( m_pCustomOptionsHolder->layout( ) )
+ delete m_pCustomOptionsHolder->layout( );
if( m_pCustomOptionsWidget )
{
delete m_pCustomOptionsWidget;