summaryrefslogtreecommitdiffstats
path: root/kpovmodeler/pmpluginsettings.cpp
diff options
context:
space:
mode:
authorTimothy Pearson <kb9vqf@pearsoncomputing.net>2011-12-16 09:59:00 -0600
committerTimothy Pearson <kb9vqf@pearsoncomputing.net>2011-12-16 09:59:00 -0600
commitec1fddcd0d6663ad273af85357f04abbc5689468 (patch)
tree6cb946ab8b4771868c6eee8d1aa5213d6ec246e2 /kpovmodeler/pmpluginsettings.cpp
parentc2637a0da6d9a1c8626ca39f8451ab3b7cda487a (diff)
downloadtdegraphics-ec1fddcd0d6663ad273af85357f04abbc5689468.tar.gz
tdegraphics-ec1fddcd0d6663ad273af85357f04abbc5689468.zip
Revert "Rename a number of old tq methods that are no longer tq specific"
This reverts commit c2637a0da6d9a1c8626ca39f8451ab3b7cda487a.
Diffstat (limited to 'kpovmodeler/pmpluginsettings.cpp')
-rw-r--r--kpovmodeler/pmpluginsettings.cpp18
1 files changed, 9 insertions, 9 deletions
diff --git a/kpovmodeler/pmpluginsettings.cpp b/kpovmodeler/pmpluginsettings.cpp
index 30ffa055..f53f9f96 100644
--- a/kpovmodeler/pmpluginsettings.cpp
+++ b/kpovmodeler/pmpluginsettings.cpp
@@ -19,7 +19,7 @@
#include "pmpluginmanager.h"
-#include <layout.h>
+#include <tqlayout.h>
#include <tqgroupbox.h>
#include <tqlistview.h>
#include <tqpushbutton.h>
@@ -33,14 +33,14 @@ public:
{
m_info = info;
m_enabled = info->enabled( );
- setStatus( );
+ settqStatus( );
}
- void toggleStatus( )
+ void toggletqStatus( )
{
m_enabled = !m_enabled;
- setStatus( );
+ settqStatus( );
}
- void setStatus( )
+ void settqStatus( )
{
if( m_enabled )
setText( 2, i18n( "loaded" ) );
@@ -54,10 +54,10 @@ public:
PMPluginSettings::PMPluginSettings( TQWidget* parent, const char* name )
: PMSettingsDialogPage( parent, name )
{
- TQVBoxLayout* vlayout = new TQVBoxLayout( this, 0, KDialog::spacingHint( ) );
+ TQVBoxLayout* vtqlayout = new TQVBoxLayout( this, 0, KDialog::spacingHint( ) );
TQGroupBox* gb = new TQGroupBox( i18n( "Installed Plugins" ), this );
- vlayout->addWidget( gb );
+ vtqlayout->addWidget( gb );
TQVBoxLayout* gvl = new TQVBoxLayout( gb, KDialog::marginHint( ), KDialog::spacingHint( ) );
gvl->addSpacing( 10 );
@@ -77,7 +77,7 @@ PMPluginSettings::PMPluginSettings( TQWidget* parent, const char* name )
hl->addWidget( m_pToggle );
hl->addStretch( 1 );
- vlayout->addStretch( 1 );
+ vtqlayout->addStretch( 1 );
}
void PMPluginSettings::displaySettings( )
@@ -122,7 +122,7 @@ void PMPluginSettings::slotToggle( )
( PMPluginListViewItem* ) m_pPluginsList->currentItem( );
if( item )
{
- item->toggleStatus( );
+ item->toggletqStatus( );
if( item->m_enabled )
m_pToggle->setText( i18n( "Deactivate" ) );