summaryrefslogtreecommitdiffstats
path: root/krusader/Dialogs/newftpgui.cpp
diff options
context:
space:
mode:
authorTimothy Pearson <kb9vqf@pearsoncomputing.net>2011-12-16 09:57:07 -0600
committerTimothy Pearson <kb9vqf@pearsoncomputing.net>2011-12-16 09:57:07 -0600
commit644e85d451b96982107f4e70977f0ff08b91291d (patch)
tree1d48dc166787231440da12a553a0195177858d8d /krusader/Dialogs/newftpgui.cpp
parent44ec35d6f3ec0bf8067f31896d7721ac3082f66f (diff)
downloadkrusader-644e85d451b96982107f4e70977f0ff08b91291d.tar.gz
krusader-644e85d451b96982107f4e70977f0ff08b91291d.zip
Revert "Rename a number of old tq methods that are no longer tq specific"
This reverts commit 44ec35d6f3ec0bf8067f31896d7721ac3082f66f.
Diffstat (limited to 'krusader/Dialogs/newftpgui.cpp')
-rw-r--r--krusader/Dialogs/newftpgui.cpp14
1 files changed, 7 insertions, 7 deletions
diff --git a/krusader/Dialogs/newftpgui.cpp b/krusader/Dialogs/newftpgui.cpp
index f2db4f5..d121e03 100644
--- a/krusader/Dialogs/newftpgui.cpp
+++ b/krusader/Dialogs/newftpgui.cpp
@@ -12,7 +12,7 @@
#include <tqlineedit.h>
#include <tqpushbutton.h>
#include <tqspinbox.h>
-#include <layout.h>
+#include <tqlayout.h>
#include <tqhbox.h>
#include <tqgrid.h>
#include <tqvariant.h>
@@ -40,15 +40,15 @@
newFTPGUI::newFTPGUI( TQWidget* parent, const char* name, bool modal, WFlags fl )
: TQDialog( parent, name, modal, fl ){
- TQVBoxLayout * layout = new TQVBoxLayout( this, 11, 6, "newFTPGUI_layout" );
- layout->setAutoAdd(true);
+ TQVBoxLayout * tqlayout = new TQVBoxLayout( this, 11, 6, "newFTPGUI_layout" );
+ tqlayout->setAutoAdd(true);
if ( !name )
setName( "newFTPGUI" );
resize( 342, 261 );
setCaption( i18n( "New Network Connection" ) );
// setSizeGripEnabled( TRUE );
- setSizePolicy( TQSizePolicy( (TQSizePolicy::SizeType)5, (TQSizePolicy::SizeType)5, sizePolicy().hasHeightForWidth() ) );
+ tqsetSizePolicy( TQSizePolicy( (TQSizePolicy::SizeType)5, (TQSizePolicy::SizeType)5, sizePolicy().hasHeightForWidth() ) );
setMinimumSize( TQSize( 342, 261 ) );
@@ -57,7 +57,7 @@ newFTPGUI::newFTPGUI( TQWidget* parent, const char* name, bool modal, WFlags fl
PixmapLabel1 = new TQLabel( hbox_image, "PixmapLabel1" );
PixmapLabel1->setPixmap( krLoader->loadIcon("network", KIcon::Desktop, 32) );
- PixmapLabel1->setSizePolicy( SIZE_MINIMUM );
+ PixmapLabel1->tqsetSizePolicy( SIZE_MINIMUM );
TextLabel3 = new TQLabel( i18n( "About to connect to..." ), hbox_image, "TextLabel3" );
TQFont TextLabel3_font( TextLabel3->font() );
@@ -84,7 +84,7 @@ newFTPGUI::newFTPGUI( TQWidget* parent, const char* name, bool modal, WFlags fl
prefix->insertItem( i18n( "sftp://" ));
prefix->setAcceptDrops( FALSE );
prefix->setEnabled( TRUE );
- prefix->setSizePolicy( SIZE_MINIMUM );
+ prefix->tqsetSizePolicy( SIZE_MINIMUM );
connect( prefix,TQT_SIGNAL(activated(const TQString& )),
this,TQT_SLOT(slotTextChanged(const TQString& )));
@@ -104,7 +104,7 @@ newFTPGUI::newFTPGUI( TQWidget* parent, const char* name, bool modal, WFlags fl
port = new TQSpinBox( grid_host, "port" );
port->setMaxValue( 65535 );
port->setValue( 21 );
- port->setSizePolicy( SIZE_MINIMUM );
+ port->tqsetSizePolicy( SIZE_MINIMUM );
TextLabel1_2 = new TQLabel( i18n( "Username:" ), this, "TextLabel1_2" );