summaryrefslogtreecommitdiffstats
path: root/smb4k/dialogs/smb4kmountdialog.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'smb4k/dialogs/smb4kmountdialog.cpp')
-rw-r--r--smb4k/dialogs/smb4kmountdialog.cpp24
1 files changed, 12 insertions, 12 deletions
diff --git a/smb4k/dialogs/smb4kmountdialog.cpp b/smb4k/dialogs/smb4kmountdialog.cpp
index 131ce8d..d2501fa 100644
--- a/smb4k/dialogs/smb4kmountdialog.cpp
+++ b/smb4k/dialogs/smb4kmountdialog.cpp
@@ -25,7 +25,7 @@
***************************************************************************/
// TQt includes
-#include <tqlayout.h>
+#include <layout.h>
#include <tqframe.h>
#include <tqgroupbox.h>
#include <tqlabel.h>
@@ -51,7 +51,7 @@ KDialogBase( Plain, i18n( "Mount Share" ), Ok|Cancel, Ok, parent, name, true, tr
setupView();
- setFixedSize( (tqsizeHint().width() > 350 ? tqsizeHint().width() : 350), tqsizeHint().height() );
+ setFixedSize( (sizeHint().width() > 350 ? sizeHint().width() : 350), sizeHint().height() );
}
@@ -63,9 +63,9 @@ Smb4KMountDialog::~Smb4KMountDialog()
void Smb4KMountDialog::setupView()
{
TQFrame *frame = plainPage();
- TQGridLayout *tqlayout = new TQGridLayout( frame );
- tqlayout->setSpacing( 5 );
- tqlayout->setMargin( 0 );
+ TQGridLayout *layout = new TQGridLayout( frame );
+ layout->setSpacing( 5 );
+ layout->setMargin( 0 );
TQLabel *shareLabel = new TQLabel( i18n( "Share:" ), frame );
m_share_input = new KLineEdit( frame, "ShareInputLine" );
@@ -82,13 +82,13 @@ void Smb4KMountDialog::setupView()
m_bookmark = new TQCheckBox( i18n( "Add this share to the bookmarks" ), frame, "BookmarkButton" );
- tqlayout->addWidget( shareLabel, 0, 0, 0 );
- tqlayout->addWidget( m_share_input, 0, 1, 0 );
- tqlayout->addWidget( addressLabel, 1, 0, 0 );
- tqlayout->addWidget( m_ip_input, 1, 1, 0 );
- tqlayout->addWidget( workgroupLabel, 2, 0, 0 );
- tqlayout->addWidget( m_workgroup_input, 2, 1, 0 );
- tqlayout->addMultiCellWidget( m_bookmark, 3, 3, 0, 1, 0 );
+ layout->addWidget( shareLabel, 0, 0, 0 );
+ layout->addWidget( m_share_input, 0, 1, 0 );
+ layout->addWidget( addressLabel, 1, 0, 0 );
+ layout->addWidget( m_ip_input, 1, 1, 0 );
+ layout->addWidget( workgroupLabel, 2, 0, 0 );
+ layout->addWidget( m_workgroup_input, 2, 1, 0 );
+ layout->addMultiCellWidget( m_bookmark, 3, 3, 0, 1, 0 );
connect( m_share_input, TQT_SIGNAL( textChanged ( const TQString & ) ) ,
this, TQT_SLOT( slotChangeInputValue( const TQString & ) ) );