kalarm
birthdaydlg.cpp
Go to the documentation of this file.
128 Akonadi::EntityMimeTypeFilterModel* mimeTypeFilter = new Akonadi::EntityMimeTypeFilterModel(this);
149 connect(mListView->selectionModel(), SIGNAL(selectionChanged(QItemSelection,QItemSelection)), SLOT(slotSelectionChanged()));
152 "This list shows all birthdays in <application>KAddressBook</application> except those for which alarms already exist.</para>"
180 mReminder = new Reminder(i18nc("@info:whatsthis", "Check to display a reminder in advance of or after the birthday."),
181 i18nc("@info:whatsthis", "Enter the number of days before or after each birthday to display a reminder. "
183 i18nc("@info:whatsthis", "Select whether the reminder should be triggered before or after the birthday."),
201 if (ShellProcess::authorised()) // don't display if shell commands not allowed (e.g. kiosk mode)
223 mSubRepetition->setWhatsThis(i18nc("@info:whatsthis", "Set up an additional alarm repetition"));
244 mSpecialActionsButton->setActions(Preferences::defaultPreAction(), Preferences::defaultPostAction(), opts);
289 event.setAudioFile(mSoundPicker->file().prettyUrl(), volume, fadeVolume, fadeSecs, repeatPause);
KUrl file() const
If the 'file' option is selected, returns the URL of the chosen file.
Definition: soundpicker.cpp:173
void setShortcutContext(Qt::ShortcutContext context)
virtual QModelIndex index(int row, int column, const QModelIndex &parent) const =0
void setSelectionMode(QAbstractItemView::SelectionMode mode)
virtual QSize sizeHint() const
void setPrefixSuffix(const QString &prefix, const QString &suffix)
Definition: birthdaymodel.cpp:93
void append(const T &value)
void setColor(ColorGroup group, ColorRole role, const QColor &color)
void addWidget(QWidget *widget, int row, int column, QFlags< Qt::AlignmentFlag > alignment)
QItemSelectionModel * selectionModel() const
virtual void setSourceModel(QAbstractItemModel *sourceModel)
time_t date() const
virtual QSize sizeHint() const
static bool authorised()
Definition: birthdaymodel.h:44
float volume(float &fadeVolume, int &fadeSeconds) const
Returns the volume and fade characteristics for playing a sound file.
Definition: soundpicker.cpp:182
Definition: birthdaymodel.h:69
void sortByColumn(int column, Qt::SortOrder order)
void addSpacing(int size)
void setSelectionBehavior(QAbstractItemView::SelectionBehavior behavior)
int month() const
virtual QSize sizeHint() const
static BirthdayModel * instance()
Returns the global contact model instance.
Definition: birthdaymodel.cpp:53
void setSpacing(int spacing)
void setBuddy(QWidget *buddy)
the KAlarm application object
static CheckBox * createConfirmAckCheckbox(QWidget *parent)
Definition: editdlgtypes.cpp:271
void addWidget(QWidget *widget, int stretch, QFlags< Qt::AlignmentFlag > alignment)
void set(Preferences::SoundType type, const QString &filename, float volume, float fadeVolume, int fadeSeconds, int repeatPause)
Initialises the widget's state.
Definition: soundpicker.cpp:210
void resizeColumnToContents(int column)
bool setYMD(int y, int m, int d)
int day() const
QModelIndexList selectedRows(int column) const
bool hasSelection() const
Definition: specialactions.h:36
void setEditTriggers(QFlags< QAbstractItemView::EditTrigger > triggers)
void setTextElideMode(Qt::TextElideMode mode)
int year() const
void setAllColumnsShowFocus(bool enable)
KAEvent::ExtraActionOptions options() const
Definition: specialactions.h:44
Definition: latecancel.h:33
void setMargin(int margin)
void setFixedSize(const QSize &s)
int repeatPause() const
Returns pause in seconds between repetitions of the sound file, or -1 if no repeat or 'file' option i...
Definition: soundpicker.cpp:202
Definition: birthdaymodel.h:44
void setChecked(bool)
QDate toDate() const
void setSortingEnabled(bool enable)
void setWhatsThis(const QString &)
const QAbstractItemModel * model() const
void setSortCaseSensitivity(Qt::CaseSensitivity cs)
Definition: birthdaydlg.h:77
QVariant data(int role) const
void setActions(const QString &pre, const QString &post, KAEvent::ExtraActionOptions)
Definition: specialactions.cpp:63
Definition: fontcolourbutton.h:32
void addStretch(int stretch)
Definition: soundpicker.h:35
virtual void setModel(QAbstractItemModel *model)
void setResizeMode(ResizeMode mode)
virtual QSize sizeHint() const
QHeaderView * header() const
void setMinutes(int Minutes, bool dateOnly, TimePeriod::Units defaultUnits)
Definition: latecancel.cpp:126
void setRootIsDecorated(bool show)
Definition: repetitionbutton.h:45
QString toString() const
void setSpacing(int spacing)
void addLayout(QLayout *layout, int stretch)
Definition: reminder.h:32
This file is part of the KDE documentation.
Documentation copyright © 1996-2020 The KDE developers.
Generated on Mon Jun 22 2020 13:34:51 by doxygen 1.8.7 written by Dimitri van Heesch, © 1997-2006
Documentation copyright © 1996-2020 The KDE developers.
Generated on Mon Jun 22 2020 13:34:51 by doxygen 1.8.7 written by Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.