Changeset View
Changeset View
Standalone View
Standalone View
src/core/kfileitem.h
Show First 20 Lines • Show All 112 Lines • ▼ Show 20 Line(s) | 108 | #endif | |||
---|---|---|---|---|---|
113 | * @param mimeType the name of the file's mimetype | 113 | * @param mimeType the name of the file's mimetype | ||
114 | * @param mode the mode (S_IFDIR...) | 114 | * @param mode the mode (S_IFDIR...) | ||
115 | */ | 115 | */ | ||
116 | KFileItem(const QUrl &url, const QString &mimeType = QString(), mode_t mode = KFileItem::Unknown); // KF6 TODO: explicit! | 116 | KFileItem(const QUrl &url, const QString &mimeType = QString(), mode_t mode = KFileItem::Unknown); // KF6 TODO: explicit! | ||
117 | 117 | | |||
118 | /** | 118 | /** | ||
119 | * Copy constructor | 119 | * Copy constructor | ||
120 | */ | 120 | */ | ||
121 | KFileItem(const KFileItem &other); | 121 | KFileItem(const KFileItem&); | ||
122 | | ||||
122 | /** | 123 | /** | ||
123 | * Assignment operator | 124 | * Destructor | ||
124 | */ | 125 | */ | ||
125 | KFileItem &operator=(const KFileItem &other); | 126 | ~KFileItem(); | ||
126 | 127 | | |||
127 | /** | 128 | /** | ||
128 | * Destructs the KFileItem. | 129 | * Move constructor | ||
129 | */ | 130 | */ | ||
130 | ~KFileItem(); | 131 | KFileItem(KFileItem&&); | ||
132 | | ||||
133 | /** | ||||
134 | * Copy assignment | ||||
135 | */ | ||||
136 | KFileItem& operator=(const KFileItem&); | ||||
137 | | ||||
138 | /** | ||||
139 | * Move assignment | ||||
140 | */ | ||||
141 | KFileItem& operator=(KFileItem&&); | ||||
131 | 142 | | |||
132 | /** | 143 | /** | ||
133 | * Throw away and re-read (for local files) all information about the file. | 144 | * Throw away and re-read (for local files) all information about the file. | ||
134 | * This is called when the _file_ changes. | 145 | * This is called when the _file_ changes. | ||
135 | */ | 146 | */ | ||
136 | void refresh(); | 147 | void refresh(); | ||
137 | 148 | | |||
138 | /** | 149 | /** | ||
▲ Show 20 Lines • Show All 442 Lines • Show Last 20 Lines |