// Used by konqueror. Technically it means "we want undo enabled if
// there are things in the undo history and the current part is a dolphin part".
// Even though it's konqueror doing the undo...
- Q_PROPERTY(bool supportsUndo READ supportsUndo)
+ Q_PROPERTY(bool supportsUndo READ supportsUndo CONSTANT)
Q_PROPERTY(QString currentViewMode READ currentViewMode WRITE setCurrentViewMode)
return m_nameFilter;
}
+ /**
+ * Don't use this. Always @returns an empty list. It only exists to silence moc.
+ */
+ QList<QUrl> filesToSelect() const
+ {
+ return QList<QUrl>();
+ }
+
protected:
/**
* We reimplement openUrl so no need to implement openFile.
* Called by konqueror --select
*/
void setFilesToSelect(const QList<QUrl> &files);
- QList<QUrl> filesToSelect() const
- {
- return QList<QUrl>();
- } // silence moc
bool eventFilter(QObject *, QEvent *) override;