]> cloud.milkyroute.net Git - dolphin.git/commitdiff
Add documentation
authorFelix Ernst <felixernst@zohomail.eu>
Sun, 18 Feb 2024 10:40:25 +0000 (11:40 +0100)
committerFelix Ernst <felixernst@kde.org>
Sun, 18 Feb 2024 15:14:58 +0000 (15:14 +0000)
src/kitemviews/kfileitemlistwidget.h
src/kitemviews/kitemlistwidget.h
src/kitemviews/kstandarditemlistwidget.h

index 7f33c548700637a9fd798e71b2f3a56ddd6d920d..6e98e03c4a49243d1e45cdd9b88d42a0afa85b3d 100644 (file)
 
 class KFileItemListView;
 
+/**
+ * @brief ItemList widget informant implementation for use with KFileItems.
+ *
+ * Code that does not expect KFileItems specifically should go to KStandardItemListWidgetInformant.
+ *
+ * @see KItemListWidgetInformant
+ */
 class DOLPHIN_EXPORT KFileItemListWidgetInformant : public KStandardItemListWidgetInformant
 {
 public:
@@ -25,6 +32,13 @@ protected:
     QFont customizedFontForLinks(const QFont &baseFont) const override;
 };
 
+/**
+ * @brief ItemList widget implementation for use with KFileItems.
+ *
+ * Code that does not expect KFileItems specifically should go to KStandardItemListWidget.
+ *
+ * @see KItemListWidget
+ */
 class DOLPHIN_EXPORT KFileItemListWidget : public KStandardItemListWidget
 {
     Q_OBJECT
index 9f99b9d951c0d860490741ae0b110e66a2250b97..55d92471907597d983d587f44da44853094fc038 100644 (file)
@@ -22,7 +22,8 @@ class KItemListView;
 class QPropertyAnimation;
 
 /**
- * @brief Provides information for creating an instance of KItemListWidget.
+ * @brief Provides generic information for all KItemListWidgets
+ * for which the construction of any specific KItemListWidget isn't required.
  *
  * KItemListView only creates KItemListWidget instances for the visible
  * area. For calculating the required size of all items the expected
index ca3cf52e1cae27cd1c04d4edfcfb2f412ce315aa..06bf0529adc44bec6cf492368208b40201dc9ac7 100644 (file)
@@ -18,6 +18,11 @@ class KItemListRoleEditor;
 class KItemListStyleOption;
 class KItemListView;
 
+/**
+ * @brief standard implementation of the ItemList widget informant for use with KStandardItemListView and KStandardItemModel.
+ *
+ * @see KItemListWidgetInformant
+ */
 class DOLPHIN_EXPORT KStandardItemListWidgetInformant : public KItemListWidgetInformant
 {
 public:
@@ -67,7 +72,9 @@ protected:
 };
 
 /**
- * @brief ItemList widget implementation for KStandardItemListView and KStandardItemModel.
+ * @brief standard implementation of an ItemList widget for KStandardItemListView and KStandardItemModel.
+ *
+ * @see KItemListWidget
  */
 class DOLPHIN_EXPORT KStandardItemListWidget : public KItemListWidget
 {