mirror of
https://invent.kde.org/system/dolphin
synced 2024-11-05 18:47:12 +00:00
SVN_SILENT: Use consistent member naming within Dolphin
svn path=/trunk/KDE/kdebase/apps/; revision=1143415
This commit is contained in:
parent
4c5a38d286
commit
40d80643e6
2 changed files with 7 additions and 7 deletions
|
@ -30,14 +30,14 @@ SearchOptionDialogBox::SearchOptionDialogBox(QWidget* parent) :
|
|||
QWidget* container = new QWidget(this);
|
||||
|
||||
QLabel* label = new QLabel(i18nc("@label", "Name:"), container);
|
||||
mLineEdit = new KLineEdit(container);
|
||||
mLineEdit->setMinimumWidth(250);
|
||||
mLineEdit->setClearButtonShown(true);
|
||||
m_lineEdit = new KLineEdit(container);
|
||||
m_lineEdit->setMinimumWidth(250);
|
||||
m_lineEdit->setClearButtonShown(true);
|
||||
|
||||
connect(mLineEdit, SIGNAL(textChanged(const QString&)), SLOT(slotTextChanged(const QString&)));
|
||||
connect(m_lineEdit, SIGNAL(textChanged(const QString&)), SLOT(slotTextChanged(const QString&)));
|
||||
QHBoxLayout* layout = new QHBoxLayout(container);
|
||||
layout->addWidget(label, Qt::AlignRight);
|
||||
layout->addWidget(mLineEdit);
|
||||
layout->addWidget(m_lineEdit);
|
||||
|
||||
setMainWidget(container);
|
||||
setCaption(i18nc("@title:window", "Save Search Options"));
|
||||
|
@ -60,7 +60,7 @@ SearchOptionDialogBox::~SearchOptionDialogBox()
|
|||
|
||||
QString SearchOptionDialogBox::text() const
|
||||
{
|
||||
return mLineEdit->text();
|
||||
return m_lineEdit->text();
|
||||
}
|
||||
|
||||
void SearchOptionDialogBox::slotTextChanged(const QString& text)
|
||||
|
|
|
@ -37,6 +37,6 @@ protected slots:
|
|||
void slotTextChanged(const QString& text);
|
||||
|
||||
private:
|
||||
KLineEdit* mLineEdit;
|
||||
KLineEdit* m_lineEdit;
|
||||
};
|
||||
#endif
|
||||
|
|
Loading…
Reference in a new issue