Skip to content

Commit d418d92

Browse files
Added missing DockAreaTitleBar_p.h to src.pro
1 parent 726d73b commit d418d92

File tree

2 files changed

+11
-9
lines changed

2 files changed

+11
-9
lines changed

src/DockAreaTitleBar_p.h

Lines changed: 10 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
1-
#ifndef DockAreaTitleBarPH
2-
#define DockAreaTitleBarPH
1+
#ifndef DockAreaTitleBar_pH
2+
#define DockAreaTitleBar_pH
33
/*******************************************************************************
44
** Qt Advanced Docking System
55
** Copyright (C) 2017 Uwe Kindler
@@ -39,16 +39,17 @@ namespace ads
3939
{
4040
using tTitleBarButton = QToolButton;
4141

42-
/**
43-
* Title bar button of a dock area that customizes tTitleBarButton appearance/behaviour
44-
* according to various config flags such as:
45-
* CDockManager::DockAreaHas_xxx_Button - if set to 'false' keeps the button always invisible
46-
* CDockManager::DockAreaHideDisabledButtons - if set to 'true' hides button when it is disabled
47-
*/
42+
/**
43+
* Title bar button of a dock area that customizes tTitleBarButton appearance/behaviour
44+
* according to various config flags such as:
45+
* CDockManager::DockAreaHas_xxx_Button - if set to 'false' keeps the button always invisible
46+
* CDockManager::DockAreaHideDisabledButtons - if set to 'true' hides button when it is disabled
47+
*/
4848
class CTitleBarButton : public tTitleBarButton
4949
{
5050
Q_OBJECT
5151

52+
private:
5253
bool Visible = true;
5354
bool HideWhenDisabled = false;
5455

@@ -90,4 +91,4 @@ class CSpacerWidget : public QWidget
9091
}
9192
// namespace ads
9293
//-----------------------------------------------------------------------------
93-
#endif // DockAreaTitleBarPH
94+
#endif // DockAreaTitleBar_pH

src/src.pro

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -41,6 +41,7 @@ HEADERS += \
4141
FloatingDragPreview.h \
4242
DockOverlay.h \
4343
DockSplitter.h \
44+
DockAreaTitleBar_p.h \
4445
DockAreaTitleBar.h \
4546
ElidingLabel.h \
4647
IconProvider.h \

0 commit comments

Comments
 (0)