summaryrefslogtreecommitdiff
path: root/item_delegates/SQLiteDateTimeDelegate.hpp
diff options
context:
space:
mode:
authorChristoph Berg <myon@debian.org>2025-09-15 23:04:23 +0200
committerChristoph Berg <myon@debian.org>2025-09-15 23:04:23 +0200
commit0a13f1fdb9928b6d012569dd65f7f6ef18fac2f8 (patch)
treed702795f99ac38e0cc17e25f0f7e50fa3e05baf9 /item_delegates/SQLiteDateTimeDelegate.hpp
parent310d05acf2c9233f7e336ae7dd9ffb7b54ca4e62 (diff)
New upstream version 3.0.0~rc1+repackupstream/3.0.0_rc1+repack
Diffstat (limited to 'item_delegates/SQLiteDateTimeDelegate.hpp')
-rwxr-xr-xitem_delegates/SQLiteDateTimeDelegate.hpp46
1 files changed, 23 insertions, 23 deletions
diff --git a/item_delegates/SQLiteDateTimeDelegate.hpp b/item_delegates/SQLiteDateTimeDelegate.hpp
index 183b26d7..ca1983c8 100755
--- a/item_delegates/SQLiteDateTimeDelegate.hpp
+++ b/item_delegates/SQLiteDateTimeDelegate.hpp
@@ -1,23 +1,23 @@
-#ifndef SQLITE_DATE_TIME_DELEGATE_HPP_
-#define SQLITE_DATE_TIME_DELEGATE_HPP_
-
-#include <QStyledItemDelegate>
-
-//
-// Class SQLiteDateTimeDelegte
-//
-// Item delegate for editing a date and time stored as milliseconds
-// since the Unix epoch and displayed or edited as a QDateTime
-// showing UTC
-//
-class SQLiteDateTimeDelegate final
- : public QStyledItemDelegate
-{
-public:
- explicit SQLiteDateTimeDelegate (QObject * parent = nullptr);
- QWidget * createEditor (QWidget * parent, QStyleOptionViewItem const&, QModelIndex const&) const override;
- void setEditorData (QWidget * editor, QModelIndex const&) const override;
- void setModelData (QWidget * editor, QAbstractItemModel *, QModelIndex const&) const override;
-};
-
-#endif
+#ifndef SQLITE_DATE_TIME_DELEGATE_HPP_
+#define SQLITE_DATE_TIME_DELEGATE_HPP_
+
+#include <QStyledItemDelegate>
+
+//
+// Class SQLiteDateTimeDelegte
+//
+// Item delegate for editing a date and time stored as milliseconds
+// since the Unix epoch and displayed or edited as a QDateTime
+// showing UTC
+//
+class SQLiteDateTimeDelegate final
+ : public QStyledItemDelegate
+{
+public:
+ explicit SQLiteDateTimeDelegate (QObject * parent = nullptr);
+ QWidget * createEditor (QWidget * parent, QStyleOptionViewItem const&, QModelIndex const&) const override;
+ void setEditorData (QWidget * editor, QModelIndex const&) const override;
+ void setModelData (QWidget * editor, QAbstractItemModel *, QModelIndex const&) const override;
+};
+
+#endif