mirror of
https://bitbucket.org/smil3y/kdelibs.git
synced 2025-02-23 18:32:49 +00:00
kdeui: remove unused and private KHBox member
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
This commit is contained in:
parent
593dd8b8d3
commit
eb8ff2c536
2 changed files with 4 additions and 20 deletions
|
@ -24,8 +24,7 @@
|
|||
#include <QtGui/QVBoxLayout>
|
||||
|
||||
KHBox::KHBox(QWidget* parent)
|
||||
: QFrame(parent),
|
||||
d( 0 )
|
||||
: QFrame(parent)
|
||||
{
|
||||
QHBoxLayout* layout = new QHBoxLayout(this);
|
||||
layout->setSpacing(0);
|
||||
|
@ -36,8 +35,7 @@ KHBox::KHBox(QWidget* parent)
|
|||
|
||||
|
||||
KHBox::KHBox(bool /*vertical*/, QWidget* parent)
|
||||
: QFrame(parent),
|
||||
d( 0 )
|
||||
: QFrame(parent)
|
||||
{
|
||||
QVBoxLayout* layout = new QVBoxLayout(this);
|
||||
layout->setSpacing(0);
|
||||
|
@ -46,10 +44,6 @@ KHBox::KHBox(bool /*vertical*/, QWidget* parent)
|
|||
setLayout(layout);
|
||||
}
|
||||
|
||||
KHBox::~KHBox()
|
||||
{
|
||||
}
|
||||
|
||||
void KHBox::childEvent(QChildEvent* event)
|
||||
{
|
||||
switch (event->type()) {
|
||||
|
|
|
@ -21,8 +21,7 @@
|
|||
|
||||
#include <kdeui_export.h>
|
||||
|
||||
#include <QtGui/QFrame>
|
||||
|
||||
#include <QFrame>
|
||||
#include <QChildEvent>
|
||||
|
||||
/**
|
||||
|
@ -45,12 +44,7 @@ public:
|
|||
/**
|
||||
* Creates a new hbox.
|
||||
*/
|
||||
explicit KHBox( QWidget* parent = 0 );
|
||||
|
||||
/**
|
||||
* Destructor.
|
||||
*/
|
||||
~KHBox();
|
||||
explicit KHBox(QWidget* parent = 0);
|
||||
|
||||
/**
|
||||
* Sets the @p margin of the hbox.
|
||||
|
@ -88,10 +82,6 @@ protected:
|
|||
virtual void childEvent(QChildEvent* ev);
|
||||
|
||||
private:
|
||||
class Private;
|
||||
friend class Private;
|
||||
Private* const d;
|
||||
|
||||
Q_DISABLE_COPY(KHBox)
|
||||
};
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue