mirror of
https://invent.kde.org/system/dolphin
synced 2024-11-05 18:47:12 +00:00
files=grep -r -l enableButtonO .
perl -pi -e 's/enableButtonOK/enableButtonOk/g' `echo $files` svn path=/trunk/KDE/kdebase/libkonq/; revision=552845
This commit is contained in:
parent
d59ec4b0ee
commit
04aee1132b
4 changed files with 8 additions and 8 deletions
|
@ -122,7 +122,7 @@ ChFaceDlg::ChFaceDlg(const QString& picsdir, QWidget *parent, const char *name,
|
|||
//m_FacesWidget->setGridX( FACE_PIX_SIZE - 10 );
|
||||
m_FacesWidget->arrangeItemsInGrid();
|
||||
|
||||
enableButtonOK( false );
|
||||
enableButtonOk( false );
|
||||
//connect( this, SIGNAL( okClicked() ), SLOT( slotSaveCustomImage() ) );
|
||||
|
||||
resize( 420, 400 );
|
||||
|
|
|
@ -72,7 +72,7 @@ PolicyDlg::PolicyDlg (const QString& caption, QWidget *parent,
|
|||
m_dlgUI->leDomain->setValidator(new DomainLineValidator(m_dlgUI->leDomain));
|
||||
m_dlgUI->cbPolicy->setMinimumWidth( m_dlgUI->cbPolicy->fontMetrics().maxWidth() * 25 );
|
||||
|
||||
enableButtonOK( false );
|
||||
enableButtonOk( false );
|
||||
connect(m_dlgUI->leDomain, SIGNAL(textChanged(const QString&)),
|
||||
SLOT(slotTextChanged(const QString&)));
|
||||
|
||||
|
@ -108,6 +108,6 @@ QString PolicyDlg::domain () const
|
|||
|
||||
void PolicyDlg::slotTextChanged( const QString& text )
|
||||
{
|
||||
enableButtonOK( text.length() > 1 );
|
||||
enableButtonOk( text.length() > 1 );
|
||||
}
|
||||
#include "policydlg.moc"
|
||||
|
|
|
@ -59,7 +59,7 @@ PolicyDialog::PolicyDialog( Policies *policies, QWidget *parent, const char *nam
|
|||
|
||||
le_domain->setFocus();
|
||||
|
||||
enableButtonOK(!le_domain->text().isEmpty());
|
||||
enableButtonOk(!le_domain->text().isEmpty());
|
||||
}
|
||||
|
||||
PolicyDialog::FeatureEnabledPolicy PolicyDialog::featureEnabledPolicy() const {
|
||||
|
@ -68,7 +68,7 @@ PolicyDialog::FeatureEnabledPolicy PolicyDialog::featureEnabledPolicy() const {
|
|||
|
||||
void PolicyDialog::slotTextChanged( const QString &text)
|
||||
{
|
||||
enableButtonOK(!text.isEmpty());
|
||||
enableButtonOk(!text.isEmpty());
|
||||
}
|
||||
|
||||
void PolicyDialog::setDisableEdit( bool state, const QString& text )
|
||||
|
|
|
@ -569,7 +569,7 @@ void KUrlDesktopFileDlg::initDialog( const QString& textFileName, const QString&
|
|||
label->setBuddy(m_urlRequester); // please "scheck" style
|
||||
|
||||
m_urlRequester->setFocus();
|
||||
enableButtonOK( !defaultName.isEmpty() && !defaultUrl.isEmpty() );
|
||||
enableButtonOk( !defaultName.isEmpty() && !defaultUrl.isEmpty() );
|
||||
connect( this, SIGNAL(user1Clicked()), this, SLOT(slotClear()) );
|
||||
m_fileNameEdited = false;
|
||||
}
|
||||
|
@ -601,7 +601,7 @@ void KUrlDesktopFileDlg::slotNameTextChanged( const QString& )
|
|||
{
|
||||
kDebug() << k_funcinfo << endl;
|
||||
m_fileNameEdited = true;
|
||||
enableButtonOK( !m_leFileName->text().isEmpty() && !m_urlRequester->url().isEmpty() );
|
||||
enableButtonOk( !m_leFileName->text().isEmpty() && !m_urlRequester->url().isEmpty() );
|
||||
}
|
||||
|
||||
void KUrlDesktopFileDlg::slotURLTextChanged( const QString& )
|
||||
|
@ -618,7 +618,7 @@ void KUrlDesktopFileDlg::slotURLTextChanged( const QString& )
|
|||
m_leFileName->setText( url.url() );
|
||||
m_fileNameEdited = false; // slotNameTextChanged set it to true erroneously
|
||||
}
|
||||
enableButtonOK( !m_leFileName->text().isEmpty() && !m_urlRequester->url().isEmpty() );
|
||||
enableButtonOk( !m_leFileName->text().isEmpty() && !m_urlRequester->url().isEmpty() );
|
||||
}
|
||||
|
||||
|
||||
|
|
Loading…
Reference in a new issue