diff options
Diffstat (limited to 'smb4k/dialogs/smb4kcustomoptionsdialog.cpp')
-rw-r--r-- | smb4k/dialogs/smb4kcustomoptionsdialog.cpp | 18 |
1 files changed, 9 insertions, 9 deletions
diff --git a/smb4k/dialogs/smb4kcustomoptionsdialog.cpp b/smb4k/dialogs/smb4kcustomoptionsdialog.cpp index 8dff9e9..8d9ac99 100644 --- a/smb4k/dialogs/smb4kcustomoptionsdialog.cpp +++ b/smb4k/dialogs/smb4kcustomoptionsdialog.cpp @@ -25,7 +25,7 @@ ***************************************************************************/ // TQt includes -#include <tqlayout.h> +#include <layout.h> #include <tqlabel.h> #include <tqframe.h> @@ -167,7 +167,7 @@ void Smb4KCustomOptionsDialog::setupDialog() m_port_input->setMinValue( -1 ); m_port_input->setMaxValue( 65535 ); - // The widgets will be put into the tqlayout below. + // The widgets will be put into the layout below. // Here comes the item-dependent stuff: switch ( m_type ) @@ -292,11 +292,11 @@ void Smb4KCustomOptionsDialog::setupDialog() TQLabel *uid_label = new TQLabel( i18n( "User ID:" ), frame ); m_uid_input = new KLineEdit( frame ); m_uid_input->setMinimumWidth( 200 ); - m_uid_input->tqsetAlignment( TQt::AlignRight ); + m_uid_input->setAlignment( TQt::AlignRight ); TQLabel *gid_label = new TQLabel( i18n( "Group ID:" ), frame ); m_gid_input = new KLineEdit( frame ); m_gid_input->setMinimumWidth( 200 ); - m_gid_input->tqsetAlignment( TQt::AlignRight ); + m_gid_input->setAlignment( TQt::AlignRight ); m_kerberos = new TQCheckBox( i18n( "Try to authenticate with Kerberos (Active Directory)" ), frame ); @@ -317,11 +317,11 @@ void Smb4KCustomOptionsDialog::setupDialog() TQLabel *uid_label = new TQLabel( i18n( "User ID:" ), frame ); m_uid_input = new KLineEdit( frame ); m_uid_input->setMinimumWidth( 200 ); - m_uid_input->tqsetAlignment( TQt::AlignRight ); + m_uid_input->setAlignment( TQt::AlignRight ); TQLabel *gid_label = new TQLabel( i18n( "Group ID:" ), frame ); m_gid_input = new KLineEdit( frame ); m_gid_input->setMinimumWidth( 200 ); - m_gid_input->tqsetAlignment( TQt::AlignRight ); + m_gid_input->setAlignment( TQt::AlignRight ); grid->addWidget( location_label, 0, 0, 0 ); grid->addWidget( location, 0, 1, 0 ); @@ -333,7 +333,7 @@ void Smb4KCustomOptionsDialog::setupDialog() grid->addWidget( m_gid_input, 3, 1, 0 ); #endif - info = optionsHandler()->findItem( TQString( "//%1/%2" ).tqarg( m_share_item->host(), m_share_item->name() ) ); + info = optionsHandler()->findItem( TQString( "//%1/%2" ).arg( m_share_item->host(), m_share_item->name() ) ); // Get the default values from the config file: default_port = Smb4KSettings::remotePort(); @@ -488,7 +488,7 @@ void Smb4KCustomOptionsDialog::setupDialog() connect( this, TQT_SIGNAL( user1Clicked() ), this, TQT_SLOT( slotDefaultButtonClicked() ) ); - setFixedSize( (tqsizeHint().width() > 350 ? tqsizeHint().width() : 350), tqsizeHint().height() ); + setFixedSize( (sizeHint().width() > 350 ? sizeHint().width() : 350), sizeHint().height() ); } ///////////////////////////////////////////////////////////////////////////// @@ -885,7 +885,7 @@ void Smb4KCustomOptionsDialog::slotOKButtonClicked() } case Share: { - TQString item_name = TQString( "//%1/%2" ).tqarg( m_share_item->host(), + TQString item_name = TQString( "//%1/%2" ).arg( m_share_item->host(), TQString::compare( m_share_item->name(), "homes" ) == 0 ? m_homes_user : m_share_item->name() ); |