kdeui: remove unused KVBox member and update its documentation

Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
This commit is contained in:
Ivailo Monev 2023-07-10 19:38:35 +03:00
parent 0f7f80b2cd
commit b4fc8cf48b
2 changed files with 7 additions and 15 deletions

View file

@ -18,9 +18,8 @@
#include "kvbox.h"
KVBox::KVBox( QWidget* parent )
: KHBox( true, parent ),
d( 0 )
KVBox::KVBox(QWidget *parent)
: KHBox(true, parent)
{
}

View file

@ -29,33 +29,26 @@
* Both margin and spacing are initialized to 0. Use QVBoxLayout
* if you need standard layout margins.
*
* \image html kvbox.png "KDE Vertical Box containing three buttons"
*
* @see KHBox
*/
class KDEUI_EXPORT KVBox : public KHBox
{
Q_OBJECT
public:
Q_OBJECT
public:
/**
* Creates a new vbox.
*
* @param parent The parent widget.
*/
explicit KVBox( QWidget* parent = 0 );
explicit KVBox(QWidget *parent = nullptr);
/**
* Destructor.
*/
~KVBox();
private:
class Private;
friend class Private;
Private* const d;
private:
Q_DISABLE_COPY(KVBox)
};
#endif
#endif // KVBOX_H