Incidenceeditor
kweekdaycheckcombo.cpp
4 SPDX-FileCopyrightText: 2009-2010 Klaralvdalens Datakonsult AB, a KDAB Group company <info@kdab.net>
76 // qCDebug(INCIDENCEEDITOR_LOG) << "Checking for i = " << i << "; index = " << index << days.testBit( i );
void setDays(const QBitArray &days, const QBitArray &disableDays=QBitArray())
Set the checked days on this combobox.
Definition kweekdaycheckcombo.cpp:66
KWeekdayCheckCombo(QWidget *parent=nullptr, bool first5Checked=false)
Definition kweekdaycheckcombo.cpp:15
int weekdayIndex(const QDate &date) const
Returns the index of the weekday represented by the QDate object.
Definition kweekdaycheckcombo.cpp:53
void setItemEnabled(int index, bool enabled=true)
QStringList checkedItems(int role=Qt::DisplayRole) const
Qt::CheckState itemCheckState(int index) const
void setCheckedItems(const QStringList &items, int role=Qt::DisplayRole)
bool isEmpty() const const
void setBit(qsizetype i)
bool testBit(qsizetype i) const const
void addItem(const QIcon &icon, const QString &text, const QVariant &userData)
count
QString itemText(int index) const const
int dayOfWeek() const const
bool isValid(int year, int month, int day)
ShortFormat
QString dayName(int day, FormatType type) const const
Qt::DayOfWeek firstDayOfWeek() const const
QLocale system()
Checked
This file is part of the KDE documentation.
Documentation copyright © 1996-2024 The KDE developers.
Generated on Fri Nov 22 2024 12:03:25 by doxygen 1.12.0 written by Dimitri van Heesch, © 1997-2006
Documentation copyright © 1996-2024 The KDE developers.
Generated on Fri Nov 22 2024 12:03:25 by doxygen 1.12.0 written by Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.