Add starter datefieldbackend class
authorClaudio Cambra <claudio.cambra@nextcloud.com>
Mon, 7 Aug 2023 12:17:00 +0000 (20:17 +0800)
committerbackportbot-nextcloud[bot] <backportbot-nextcloud[bot]@users.noreply.github.com>
Wed, 13 Sep 2023 08:47:54 +0000 (08:47 +0000)
Signed-off-by: Claudio Cambra <claudio.cambra@nextcloud.com>
src/gui/CMakeLists.txt
src/gui/filedetails/datefieldbackend.cpp [new file with mode: 0644]
src/gui/filedetails/datefieldbackend.h [new file with mode: 0644]

index 0a89c6d307afc85e9d993cf548c2383db34b4184..fdcde5d6f32bd9251ca6ccccce446aad70af5770 100644 (file)
@@ -190,6 +190,8 @@ set(client_SRCS
     syncconflictsmodel.cpp
     fileactivitylistmodel.h
     fileactivitylistmodel.cpp
+    filedetails/datefieldbackend.h
+    filedetails/datefieldbackend.cpp
     filedetails/filedetails.h
     filedetails/filedetails.cpp
     filedetails/sharemodel.h
diff --git a/src/gui/filedetails/datefieldbackend.cpp b/src/gui/filedetails/datefieldbackend.cpp
new file mode 100644 (file)
index 0000000..7bc5856
--- /dev/null
@@ -0,0 +1,23 @@
+/*
+ * Copyright (C) 2023 by Claudio Cambra <claudio.cambra@nextcloud.com>
+ *
+ * This program is free software; you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License as published by
+ * the Free Software Foundation; either version 2 of the License, or
+ * (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful, but
+ * WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY
+ * or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License
+ * for more details.
+ */
+
+#include "datefieldbackend.h"
+
+namespace OCC
+{
+namespace Quick
+{
+
+}
+}
\ No newline at end of file
diff --git a/src/gui/filedetails/datefieldbackend.h b/src/gui/filedetails/datefieldbackend.h
new file mode 100644 (file)
index 0000000..96d9278
--- /dev/null
@@ -0,0 +1,33 @@
+/*
+ * Copyright (C) 2023 by Claudio Cambra <claudio.cambra@nextcloud.com>
+ *
+ * This program is free software; you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License as published by
+ * the Free Software Foundation; either version 2 of the License, or
+ * (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful, but
+ * WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY
+ * or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License
+ * for more details.
+ */
+
+#pragma once
+
+#include <QObject>
+
+namespace OCC
+{
+namespace Quick
+{
+
+class DateFieldBackend : public QObject
+{
+    Q_OBJECT
+
+public:
+    explicit DateFieldBackend() = default;
+};
+
+} // namespace Quick
+} // namespace OCC
\ No newline at end of file