Rename old tq methods that no longer need a unique name

(cherry picked from commit 2d82bf7657)
v3.5.13-sru
Timothy Pearson 13 years ago committed by Slávek Banko
parent 7eba4a9abc
commit 3bef9268f9

@ -126,11 +126,11 @@ Smb4KSambaOptions::Smb4KSambaOptions( TQWidget *parent, const char *name )
(void) new TQLabel( i18n( "User ID:" ), user_group_box ); (void) new TQLabel( i18n( "User ID:" ), user_group_box );
KLineEdit *user_id = new KLineEdit( user_group_box, "kcfg_UserID" ); KLineEdit *user_id = new KLineEdit( user_group_box, "kcfg_UserID" );
user_id->tqsetAlignment( TQt::AlignRight ); user_id->setAlignment( TQt::AlignRight );
(void) new TQLabel( i18n( "Group ID:" ), user_group_box ); (void) new TQLabel( i18n( "Group ID:" ), user_group_box );
KLineEdit *group_id = new KLineEdit( user_group_box, "kcfg_GroupID" ); KLineEdit *group_id = new KLineEdit( user_group_box, "kcfg_GroupID" );
group_id->tqsetAlignment( TQt::AlignRight ); group_id->setAlignment( TQt::AlignRight );
TQGroupBox *charset_box = new TQGroupBox( 2, Qt::Horizontal, TQGroupBox *charset_box = new TQGroupBox( 2, Qt::Horizontal,
i18n( "Charset and Codepage" ), mount_tab ); i18n( "Charset and Codepage" ), mount_tab );
@ -204,11 +204,11 @@ Smb4KSambaOptions::Smb4KSambaOptions( TQWidget *parent, const char *name )
(void) new TQLabel( i18n( "File mask:" ), perms_box ); (void) new TQLabel( i18n( "File mask:" ), perms_box );
KLineEdit *fmask = new KLineEdit( perms_box, "kcfg_FileMask" ); KLineEdit *fmask = new KLineEdit( perms_box, "kcfg_FileMask" );
fmask->tqsetAlignment( TQt::AlignRight ); fmask->setAlignment( TQt::AlignRight );
(void) new TQLabel( i18n( "Directory mask:" ), perms_box ); (void) new TQLabel( i18n( "Directory mask:" ), perms_box );
KLineEdit *dmask = new KLineEdit( perms_box, "kcfg_DirectoryMask" ); KLineEdit *dmask = new KLineEdit( perms_box, "kcfg_DirectoryMask" );
dmask->tqsetAlignment( TQt::AlignRight ); dmask->setAlignment( TQt::AlignRight );
(void) new TQLabel( i18n( "Write access:" ), perms_box ); (void) new TQLabel( i18n( "Write access:" ), perms_box );
KComboBox *read_mode = new KComboBox( perms_box, "kcfg_WriteAccess" ); KComboBox *read_mode = new KComboBox( perms_box, "kcfg_WriteAccess" );

@ -117,7 +117,7 @@ const TQString Smb4KHomesSharesHandler::specifyUser( const TQString &host, TQWid
// Do the last things before showing. // Do the last things before showing.
userCombo->setFocus(); userCombo->setFocus();
m_dlg->setFixedSize( m_dlg->tqsizeHint() ); m_dlg->setFixedSize( m_dlg->sizeHint() );
if ( m_dlg->exec() == KDialogBase::Accepted ) if ( m_dlg->exec() == KDialogBase::Accepted )
{ {

@ -316,7 +316,7 @@ bool Smb4KPasswordHandler::askpass( const TQString &workgroup, const TQString &h
tqlayout->addWidget( pass_edit, 2, 1, 0 ); tqlayout->addWidget( pass_edit, 2, 1, 0 );
m_dlg->setMainWidget( frame ); m_dlg->setMainWidget( frame );
m_dlg->setFixedSize( 350, m_dlg->tqsizeHint().height() ); m_dlg->setFixedSize( 350, m_dlg->sizeHint().height() );
m_dlg->enableButtonOK( false ); m_dlg->enableButtonOK( false );
// Since we have to allow empty passwords, we will only connect // Since we have to allow empty passwords, we will only connect

File diff suppressed because it is too large Load Diff

@ -80,7 +80,7 @@ Smb4KBookmarkEditor::Smb4KBookmarkEditor( TQWidget *parent, const char *name )
tqlayout->addWidget( m_view, 0, 0, 0 ); tqlayout->addWidget( m_view, 0, 0, 0 );
setInitialSize( configDialogSize( *(Smb4KSettings::self()->config()), "BookmarkEditor" ) ); setInitialSize( configDialogSize( *(Smb4KSettings::self()->config()), "BookmarkEditor" ) );
setMinimumSize( (tqsizeHint().width() > 350 ? tqsizeHint().width() : 350), tqsizeHint().height() ); setMinimumSize( (sizeHint().width() > 350 ? sizeHint().width() : 350), sizeHint().height() );
connect( m_view, TQT_SIGNAL( rightButtonPressed( TQListViewItem *, const TQPoint &, int ) ), connect( m_view, TQT_SIGNAL( rightButtonPressed( TQListViewItem *, const TQPoint &, int ) ),
this, TQT_SLOT( slotRightButtonPressed( TQListViewItem *, const TQPoint &, int ) ) ); this, TQT_SLOT( slotRightButtonPressed( TQListViewItem *, const TQPoint &, int ) ) );

@ -292,11 +292,11 @@ void Smb4KCustomOptionsDialog::setupDialog()
TQLabel *uid_label = new TQLabel( i18n( "User ID:" ), frame ); TQLabel *uid_label = new TQLabel( i18n( "User ID:" ), frame );
m_uid_input = new KLineEdit( frame ); m_uid_input = new KLineEdit( frame );
m_uid_input->setMinimumWidth( 200 ); 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 ); TQLabel *gid_label = new TQLabel( i18n( "Group ID:" ), frame );
m_gid_input = new KLineEdit( frame ); m_gid_input = new KLineEdit( frame );
m_gid_input->setMinimumWidth( 200 ); 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 ); 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 ); TQLabel *uid_label = new TQLabel( i18n( "User ID:" ), frame );
m_uid_input = new KLineEdit( frame ); m_uid_input = new KLineEdit( frame );
m_uid_input->setMinimumWidth( 200 ); 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 ); TQLabel *gid_label = new TQLabel( i18n( "Group ID:" ), frame );
m_gid_input = new KLineEdit( frame ); m_gid_input = new KLineEdit( frame );
m_gid_input->setMinimumWidth( 200 ); 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_label, 0, 0, 0 );
grid->addWidget( location, 0, 1, 0 ); grid->addWidget( location, 0, 1, 0 );
@ -488,7 +488,7 @@ void Smb4KCustomOptionsDialog::setupDialog()
connect( this, TQT_SIGNAL( user1Clicked() ), connect( this, TQT_SIGNAL( user1Clicked() ),
this, TQT_SLOT( slotDefaultButtonClicked() ) ); this, TQT_SLOT( slotDefaultButtonClicked() ) );
setFixedSize( (tqsizeHint().width() > 350 ? tqsizeHint().width() : 350), tqsizeHint().height() ); setFixedSize( (sizeHint().width() > 350 ? sizeHint().width() : 350), sizeHint().height() );
} }
///////////////////////////////////////////////////////////////////////////// /////////////////////////////////////////////////////////////////////////////

@ -51,7 +51,7 @@ KDialogBase( Plain, i18n( "Mount Share" ), Ok|Cancel, Ok, parent, name, true, tr
setupView(); setupView();
setFixedSize( (tqsizeHint().width() > 350 ? tqsizeHint().width() : 350), tqsizeHint().height() ); setFixedSize( (sizeHint().width() > 350 ? sizeHint().width() : 350), sizeHint().height() );
} }

@ -79,7 +79,7 @@ Smb4KPreviewDialog::Smb4KPreviewDialog( Smb4KShareItem *item, TQWidget *parent,
m_initialized = Smb4KCore::previewer()->preview( m_item ); m_initialized = Smb4KCore::previewer()->preview( m_item );
} }
setMinimumSize( (tqsizeHint().width() > 350 ? tqsizeHint().width() : 350), tqsizeHint().height() ); setMinimumSize( (sizeHint().width() > 350 ? sizeHint().width() : 350), sizeHint().height() );
} }

@ -111,7 +111,7 @@ m_item( item ), m_ip( TQString() ) /* will collect it in an instant */
tqlayout->addWidget( p, 0, 0, 0 ); tqlayout->addWidget( p, 0, 0, 0 );
tqlayout->addWidget( f, 1, 0, 0 ); tqlayout->addWidget( f, 1, 0, 0 );
setFixedSize( (tqsizeHint().width() > 350 ? tqsizeHint().width() : 350), tqsizeHint().height() ); setFixedSize( (sizeHint().width() > 350 ? sizeHint().width() : 350), sizeHint().height() );
enableButton( User1, false ); enableButton( User1, false );

@ -116,7 +116,7 @@ m_share( share )
this, TQT_SLOT( slotSynchronizationFinished() ) ); this, TQT_SLOT( slotSynchronizationFinished() ) );
setFixedSize( (tqsizeHint().width() > 350 ? tqsizeHint().width() : 350), tqsizeHint().height() ); setFixedSize( (sizeHint().width() > 350 ? sizeHint().width() : 350), sizeHint().height() );
} }

Loading…
Cancel
Save