Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions plugins/dde-dock/datetime/calendar/sidebarcalendarwidget.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -27,8 +27,8 @@ SidebarCalendarWidget::SidebarCalendarWidget(RegionFormat *regionFormat, QWidget
, m_keyWidget(new QWidget(this))
, m_keyLayout(new QGridLayout)
, m_dateLabel(new QLabel(this))
, m_nextPage(new DIconButton(this))
, m_previousPage(new DIconButton(this))
, m_nextPage(new DToolButton(this))
, m_previousPage(new DToolButton(this))
, m_firstday(Qt::Sunday)
, m_dateTitleWidget(new DateTitleWidget(this))
, m_weekLabel(new DLabel(this))
Expand Down
6 changes: 3 additions & 3 deletions plugins/dde-dock/datetime/calendar/sidebarcalendarwidget.h
Original file line number Diff line number Diff line change
Expand Up @@ -9,10 +9,10 @@
#include "datetitlewidget.h"
#include "calendarmanager.h"

#include <DLabel>

Check warning on line 12 in plugins/dde-dock/datetime/calendar/sidebarcalendarwidget.h

View workflow job for this annotation

GitHub Actions / cppcheck

Include file: <DLabel> not found. Please note: Cppcheck does not need standard library headers to get proper results.
#include <DIconButton>
#include <DToolButton>

Check warning on line 13 in plugins/dde-dock/datetime/calendar/sidebarcalendarwidget.h

View workflow job for this annotation

GitHub Actions / cppcheck

Include file: <DToolButton> not found. Please note: Cppcheck does not need standard library headers to get proper results.
#include <DFontSizeManager>

Check warning on line 14 in plugins/dde-dock/datetime/calendar/sidebarcalendarwidget.h

View workflow job for this annotation

GitHub Actions / cppcheck

Include file: <DFontSizeManager> not found. Please note: Cppcheck does not need standard library headers to get proper results.
#include <DCommandLinkButton>

Check warning on line 15 in plugins/dde-dock/datetime/calendar/sidebarcalendarwidget.h

View workflow job for this annotation

GitHub Actions / cppcheck

Include file: <DCommandLinkButton> not found. Please note: Cppcheck does not need standard library headers to get proper results.

#include <QWidget>
#include <QGridLayout>
Expand Down Expand Up @@ -99,8 +99,8 @@
QWidget* m_keyWidget; //日期按钮区域控件
QGridLayout* m_keyLayout; //按钮布局
QLabel* m_dateLabel; //头部日期显示label
DIconButton* m_nextPage; //下一页切换按键
DIconButton* m_previousPage; //上一页切换按键
DToolButton* m_nextPage; //下一页切换按键
DToolButton* m_previousPage; //上一页切换按键
QList<SidebarCalendarKeyButton*> m_keyButtonList; //所有的日期按钮控件
int m_firstday;
DateTitleWidget *m_dateTitleWidget;
Expand Down