mirror of
https://bitbucket.org/smil3y/kdelibs.git
synced 2025-02-23 18:32:49 +00:00
kio: remove unused private KUrlComboRequester member
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
This commit is contained in:
parent
22d6167ae8
commit
10f13e8bab
2 changed files with 27 additions and 32 deletions
|
@ -519,8 +519,7 @@ void KUrlRequester::setFileDialogModality(Qt::WindowModality modality)
|
||||||
|
|
||||||
const KEditListWidget::CustomEditor& KUrlRequester::customEditor()
|
const KEditListWidget::CustomEditor& KUrlRequester::customEditor()
|
||||||
{
|
{
|
||||||
setSizePolicy(QSizePolicy( QSizePolicy::Preferred,
|
setSizePolicy(QSizePolicy(QSizePolicy::Preferred, QSizePolicy::Fixed));
|
||||||
QSizePolicy::Fixed));
|
|
||||||
|
|
||||||
KLineEdit *edit = d->edit;
|
KLineEdit *edit = d->edit;
|
||||||
if ( !edit && d->combo )
|
if ( !edit && d->combo )
|
||||||
|
@ -538,7 +537,7 @@ const KEditListWidget::CustomEditor &KUrlRequester::customEditor()
|
||||||
}
|
}
|
||||||
|
|
||||||
KUrlComboRequester::KUrlComboRequester( QWidget *parent)
|
KUrlComboRequester::KUrlComboRequester( QWidget *parent)
|
||||||
: KUrlRequester( new KComboBox(false), parent), d(0)
|
: KUrlRequester( new KComboBox(false), parent)
|
||||||
{
|
{
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -66,12 +66,12 @@ public:
|
||||||
/**
|
/**
|
||||||
* Constructs a KUrlRequester widget.
|
* Constructs a KUrlRequester widget.
|
||||||
*/
|
*/
|
||||||
explicit KUrlRequester( QWidget *parent=0);
|
explicit KUrlRequester(QWidget *parent = nullptr);
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Constructs a KUrlRequester widget with the initial URL @p url.
|
* Constructs a KUrlRequester widget with the initial URL @p url.
|
||||||
*/
|
*/
|
||||||
explicit KUrlRequester( const KUrl& url, QWidget *parent=0);
|
explicit KUrlRequester(const KUrl &url, QWidget *parent = nullptr);
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Special constructor, which creates a KUrlRequester widget with a custom
|
* Special constructor, which creates a KUrlRequester widget with a custom
|
||||||
|
@ -289,18 +289,14 @@ private:
|
||||||
|
|
||||||
};
|
};
|
||||||
|
|
||||||
class KIO_EXPORT KUrlComboRequester : public KUrlRequester // krazy:exclude=dpointer (For use in Qt Designer)
|
class KIO_EXPORT KUrlComboRequester : public KUrlRequester
|
||||||
{
|
{
|
||||||
Q_OBJECT
|
Q_OBJECT
|
||||||
public:
|
public:
|
||||||
/**
|
/**
|
||||||
* Constructs a KUrlRequester widget with a combobox.
|
* Constructs a KUrlRequester widget with a combobox.
|
||||||
*/
|
*/
|
||||||
explicit KUrlComboRequester(QWidget *parent = 0);
|
explicit KUrlComboRequester(QWidget *parent = nullptr);
|
||||||
|
|
||||||
private:
|
|
||||||
class Private;
|
|
||||||
Private* const d;
|
|
||||||
};
|
};
|
||||||
|
|
||||||
#endif // KURLREQUESTER_H
|
#endif // KURLREQUESTER_H
|
||||||
|
|
Loading…
Add table
Reference in a new issue