File indexing completed on 2024-04-28 05:52:07

0001 /*
0002     SPDX-FileCopyrightText: 1998-1999 Matthias Hölzer-Klüpfel <matthias@hoelzer-kluepfel.de>
0003     SPDX-FileCopyrightText: 2002-2003 Martin Willers <willers@xm-arts.de>
0004     SPDX-FileCopyrightText: 2003 Daniel Teske <teske@bigfoot.com>
0005     SPDX-FileCopyrightText: 2007-2009 Stefan Böhmann <kde@hilefoks.org>
0006 
0007     SPDX-License-Identifier: GPL-2.0-or-later
0008 */
0009 #ifndef TIMEEDIT_H
0010 #define TIMEEDIT_H
0011 
0012 #include "ui_timeedit.h"
0013 
0014 #include <QDialog>
0015 
0016 class QDialogButtonBox;
0017 class TopLevel;
0018 class TimeEditUI;
0019 
0020 
0021 /**
0022  * @short the timeedit dialog.
0023  *
0024  * @author Stefan Böhmann <kde@hilefoks.org>
0025  */
0026 class TimeEditDialog : public QDialog
0027 {
0028     public:
0029         explicit TimeEditDialog(TopLevel *toplevel);
0030         ~TimeEditDialog() override;
0031 
0032     private:
0033         void checkOkButtonState();
0034         void accept() override;
0035 
0036         TimeEditUI *const mUi;
0037         TopLevel *const mToplevel;
0038         QDialogButtonBox *mButtonBox = nullptr;
0039 };
0040 
0041 #endif
0042 
0043 // kate: word-wrap off; encoding utf-8; indent-width 4; tab-width 4; line-numbers on; mixed-indent off; remove-trailing-space-save on; replace-tabs-save on; replace-tabs on; space-indent on;
0044 // vim:set spell et sw=4 ts=4 nowrap cino=l1,cs,U1: