)
remove_definitions(
-DQT_NO_CAST_FROM_BYTEARRAY
- -DQT_NO_SIGNALS_SLOTS_KEYWORDS
-DQT_NO_CAST_FROM_ASCII
-DQT_NO_CAST_TO_ASCII
- -DQT_NO_FOREACH
- -DQT_NO_KEYWORDS
)
##########################################
bool isFoldersPanelEnabled() const;
bool isInformationPanelEnabled() const;
-public slots:
+public Q_SLOTS:
/**
* Opens each directory in \p dirs in a separate tab. If \a splitView is set,
* 2 directories are collected within one tab.
*/
void openNewTab(const QUrl& url);
-signals:
+Q_SIGNALS:
/**
* Is sent if the selection of the currently active view has
* been changed.
/** Handles QWhatsThisClickedEvent and passes all others on. */
bool eventFilter(QObject*, QEvent*) override;
-protected slots:
+protected Q_SLOTS:
/**
* Calls the base method KXmlGuiWindow::saveNewToolbarConfig().
* Is also used to set toolbar constraints and UrlNavigator position
*/
void saveNewToolbarConfig() override;
-private slots:
+private Q_SLOTS:
/**
* Refreshes the views of the main window by recreating them according to
* the given Dolphin settings.
DolphinNewFileMenu(KActionCollection* collection, QObject* parent);
~DolphinNewFileMenu() override;
-signals:
+Q_SIGNALS:
void errorMessage(const QString& error);
-protected slots:
+protected Q_SLOTS:
/** @see KNewFileMenu::slotResult() */
void slotResult(KJob* job) override;
};
public:
explicit DolphinRecentTabsMenu(QObject* parent);
-public slots:
+public Q_SLOTS:
void rememberClosedTab(const QUrl& url, const QByteArray& state);
void undoCloseTab();
-signals:
+Q_SIGNALS:
void restoreClosedTab(const QByteArray& state);
void closedTabsCountChanged(unsigned int count);
-private slots:
+private Q_SLOTS:
void handleAction(QAction* action);
private:
public:
explicit DolphinTabBar(QWidget* parent);
-signals:
+Q_SIGNALS:
void openNewActivatedTab(int index);
void tabDropEvent(int index, QDropEvent* event);
void tabDetachRequested(int index);
*/
void contextMenuEvent(QContextMenuEvent* event) override;
-private slots:
+private Q_SLOTS:
void slotAutoActivationTimeout();
private:
*/
void setActive(bool active);
-signals:
+Q_SIGNALS:
void activeViewChanged(DolphinViewContainer* viewContainer);
void activeViewUrlChanged(const QUrl& url);
void splitterMoved(int pos, int index);
-private slots:
+private Q_SLOTS:
/**
* Deletes all zombie viewContainers that were used for the animation
* and resets the minimum size of the others to a sane value.
*/
bool isUrlOpen(const QUrl& url) const;
-signals:
+Q_SIGNALS:
/**
* Is emitted when the active view has been changed, by changing the current
* tab or by activating another view when split view is enabled in the current
*/
void currentUrlChanged(const QUrl& url);
-public slots:
+public Q_SLOTS:
/**
* Opens a new view with the current URL that is part of a tab and activates
* the tab.
/** Moves all selected items to the inactive view. */
void moveToInactiveSplitView();
-private slots:
+private Q_SLOTS:
/**
* Opens the tab with the index \a index in a new Dolphin instance and closes
* this tab.
*/
void setPlaceholderText(const QString &text);
-public slots:
+public Q_SLOTS:
/**
* Switches to "breadcrumb" mode if the editable mode is not set to be
* preferred in the Dolphin settings.
public:
DolphinUrlNavigatorsController() = delete;
-public slots:
+public Q_SLOTS:
/**
* Refreshes all DolphinUrlNavigators to get synchronized with the
* Dolphin settings if they were changed.
*/
static void unregisterDolphinUrlNavigator(DolphinUrlNavigator *dolphinUrlNavigator);
-private slots:
+private Q_SLOTS:
/**
* Sets the completion mode for all DolphinUrlNavigators and saves it in settings.
*/
*/
QString caption() const;
-public slots:
+public Q_SLOTS:
/**
* Sets the current active URL, where all actions are applied. The
* URL navigator is synchronized with this URL. The signals
*/
void setSearchModeEnabled(bool enabled);
-signals:
+Q_SIGNALS:
/**
* Is emitted whenever the filter bar has changed its visibility state.
*/
*/
void writeStateChanged(bool isFolderWritable);
-private slots:
+private Q_SLOTS:
/**
* Updates the number of items (= number of files + number of
* directories) in the statusbar. If files are selected, the number
*/
void selectAll();
-public slots:
+public Q_SLOTS:
/** Clears the input field. */
void clear();
/** Clears the input field if the "lock button" is disabled. */
/** The input field is cleared also if the "lock button" is released. */
void slotToggleLockButton(bool checked);
-signals:
+Q_SIGNALS:
/**
* Signal that reports the name filter has been
* changed to \a nameFilter.
void onTransactionEnd() override;
void resizeEvent(QGraphicsSceneResizeEvent* event) override;
-protected slots:
+protected Q_SLOTS:
void slotItemsRemoved(const KItemRangeList& itemRanges) override;
void slotSortRoleChanged(const QByteArray& current, const QByteArray& previous) override;
-private slots:
+private Q_SLOTS:
void triggerVisibleIndexRangeUpdate();
void updateVisibleIndexRange();
*/
static QList<RoleInfo> rolesInformation();
-signals:
+Q_SIGNALS:
/**
* Is emitted if the loading of a directory has been started. It is
* assured that a signal directoryLoadingCompleted() will be send after
void onSortRoleChanged(const QByteArray& current, const QByteArray& previous, bool resortItems = true) override;
void onSortOrderChanged(Qt::SortOrder current, Qt::SortOrder previous) override;
-private slots:
+private Q_SLOTS:
/**
* Resorts all items dependent on the set sortRole(), sortOrder()
* and foldersFirst() settings.
void setScanDirectories(bool enabled);
bool scanDirectories() const;
-private slots:
+private Q_SLOTS:
void slotItemsInserted(const KItemRangeList& itemRanges);
void slotItemsRemoved(const KItemRangeList& itemRanges);
void slotItemsMoved(const KItemRange& itemRange, const QList<int> &movedToIndexes);
void scrollContentsBy(int dx, int dy) override;
void wheelEvent(QWheelEvent* event) override;
-private slots:
+private Q_SLOTS:
void slotScrollOrientationChanged(Qt::Orientation current, Qt::Orientation previous);
void slotModelChanged(KItemModelBase* current, KItemModelBase* previous);
void slotViewChanged(KItemListView* current, KItemListView* previous);
bool processEvent(QEvent* event, const QTransform& transform);
-signals:
+Q_SIGNALS:
/**
* Is emitted if exactly one item has been activated by e.g. a mouse-click
* or by pressing Return/Enter.
void decreaseZoom();
void swipeUp();
-public slots:
+public Q_SLOTS:
void slotStateChanged(QScroller::State newState);
-private slots:
+private Q_SLOTS:
void slotViewScrollOffsetChanged(qreal current, qreal previous);
/**
*/
qreal preferredColumnWidth(const QByteArray& role) const;
-signals:
+Q_SIGNALS:
/**
* Is emitted if the width of a column has been adjusted by the user with the mouse
* (no signal is emitted if KItemListHeader::setColumnWidth() is invoked).
KItemModelBase* model() const;
-signals:
+Q_SIGNALS:
void currentChanged(int current, int previous);
void selectionChanged(const KItemSet& current, const KItemSet& previous);
void paint(QPainter* painter, const QStyleOptionGraphicsItem* option, QWidget* widget = nullptr) override;
-signals:
+Q_SIGNALS:
void scrollOrientationChanged(Qt::Orientation current, Qt::Orientation previous);
void scrollOffsetChanged(qreal current, qreal previous);
void maximumScrollOffsetChanged(qreal current, qreal previous);
virtual void updateFont();
virtual void updatePalette();
-protected slots:
+protected Q_SLOTS:
virtual void slotItemsInserted(const KItemRangeList& itemRanges);
virtual void slotItemsRemoved(const KItemRangeList& itemRanges);
virtual void slotItemsMoved(const KItemRange& itemRange, const QList<int>& movedToIndexes);
virtual void slotCurrentChanged(int current, int previous);
virtual void slotSelectionChanged(const KItemSet& current, const KItemSet& previous);
-private slots:
+private Q_SLOTS:
void slotAnimationFinished(QGraphicsWidget* widget,
KItemListViewAnimation::AnimationType type);
void slotLayoutTimerFinished();
*/
virtual QPixmap createDragPixmap(const QStyleOptionGraphicsItem* option, QWidget* widget = nullptr);
-signals:
+Q_SIGNALS:
void roleEditingCanceled(int index, const QByteArray& role, const QVariant& value);
void roleEditingFinished(int index, const QByteArray& role, const QVariant& value);
const KItemListWidgetInformant* informant() const;
-private slots:
+private Q_SLOTS:
void slotHoverAnimationFinished();
private:
* @return Parent directory of the items that are shown
*/
virtual QUrl directory() const;
-signals:
+Q_SIGNALS:
/**
* Is emitted if one or more items have been inserted. Each item-range consists
* of:
QStaticText staticText;
};
-public slots:
+public Q_SLOTS:
void finishRoleEditing();
-private slots:
+private Q_SLOTS:
void slotCutItemsChanged();
void slotRoleEditingCanceled(const QByteArray& role, const QVariant& value);
void slotRoleEditingFinished(const QByteArray& role, const QVariant& value);
*/
void scanDirectory(const QString& path);
-signals:
+Q_SIGNALS:
/**
* Signals that the directory \a path contains \a count items of size \a
* Size calculation depends on parameter DetailsModeSettings::recursiveDirectorySizeLimit
void requestDirectoryContentsCount(const QString& path, KDirectoryContentsCounterWorker::Options options);
-private slots:
+private Q_SLOTS:
void slotResult(const QString& path, int count, long size);
void slotDirWatchDirty(const QString& path);
void slotItemsRemoved();
*/
static CountResult subItemsCount(const QString& path, Options options);
-signals:
+Q_SIGNALS:
/**
* Signals that the directory \a path contains \a count items and optionally the size of its content.
*/
void result(const QString& path, int count, long size);
-public slots:
+public Q_SLOTS:
/**
* Requests the number of items inside the directory \a path using the
* options \a options. The result is announced via the signal \a result.
QList<QUrl> cutItems() const;
-signals:
+Q_SIGNALS:
void cutItemsChanged();
protected:
~KFileItemClipboard() override;
-private slots:
+private Q_SLOTS:
void updateCutItems();
private:
explicit KFileItemModelDirLister(QObject* parent = nullptr);
~KFileItemModelDirLister() override;
-signals:
+Q_SIGNALS:
/** Is emitted whenever an error has occurred. */
void errorMessage(const QString& msg);
void paint(QPainter* painter, const QStyleOptionGraphicsItem* option, QWidget* widget = nullptr) override;
-signals:
+Q_SIGNALS:
/**
* Is emitted if the width of a visible role has been adjusted by the user with the mouse
* (no signal is emitted if KItemListHeader::setVisibleRoleWidth() is invoked).
void hoverLeaveEvent(QGraphicsSceneHoverEvent* event) override;
void hoverMoveEvent(QGraphicsSceneHoverEvent* event) override;
-private slots:
+private Q_SLOTS:
void slotSortRoleChanged(const QByteArray& current, const QByteArray& previous);
void slotSortOrderChanged(Qt::SortOrder current, Qt::SortOrder previous);
void cancelSearch();
bool shouldClearSearchIfInputTimeReached();
-public slots:
+public Q_SLOTS:
void slotCurrentChanged(int current, int previous);
void slotSelectionChanged(const KItemSet& current, const KItemSet& previous);
-signals:
+Q_SIGNALS:
/**
* Is emitted if the current item should be changed corresponding
* to \a text.
bool eventFilter(QObject* watched, QEvent* event) override;
-signals:
+Q_SIGNALS:
void roleEditingFinished(const QByteArray& role, const QVariant& value);
void roleEditingCanceled(const QByteArray& role, const QVariant& value);
bool event(QEvent* event) override;
void keyPressEvent(QKeyEvent* event) override;
-private slots:
+private Q_SLOTS:
/**
* Increases the size of the editor in case if there is not
* enough room for the text.
void setActive(bool active);
bool isActive() const;
-signals:
+Q_SIGNALS:
void activationChanged(bool active);
void startPositionChanged(const QPointF& current, const QPointF& previous);
void endPositionChanged(const QPointF& current, const QPointF& previous);
protected:
bool eventFilter(QObject* obj, QEvent* event) override;
-private slots:
+private Q_SLOTS:
void slotAnimationStateChanged(QAbstractAnimation::State newState,
QAbstractAnimation::State oldState);
*/
bool isStarted(QGraphicsWidget* widget) const;
-signals:
+Q_SIGNALS:
void finished(QGraphicsWidget* widget, KItemListViewAnimation::AnimationType type);
-private slots:
+private Q_SLOTS:
void slotFinished();
private:
explicit MiddleClickActionEventFilter(QObject *parent);
~MiddleClickActionEventFilter() override;
-signals:
+Q_SIGNALS:
void actionMiddleClicked(QAction *action);
protected:
void rename(const KFileItem& item);
-signals:
+Q_SIGNALS:
void folderActivated(const QUrl& url);
void folderMiddleClicked(const QUrl& url);
void errorMessage(const QString& error);
/** @see QWidget::keyPressEvent() */
void keyPressEvent(QKeyEvent* event) override;
-private slots:
+private Q_SLOTS:
void slotItemActivated(int index);
void slotItemMiddleClicked(int index);
void slotItemContextMenuRequested(int index, const QPointF& pos);
/** Opens the context menu modal. */
void open(const QPoint& pos);
-private slots:
+private Q_SLOTS:
/** Cuts the item m_fileItem. */
void cut();
explicit InformationPanel(QWidget* parent = nullptr);
~InformationPanel() override;
-signals:
+Q_SIGNALS:
void urlActivated(const QUrl& url);
-public slots:
+public Q_SLOTS:
/**
* This is invoked to inform the panel that the user has selected a new
* set of items.
/** @see QWidget::contextMenuEvent() */
void contextMenuEvent(QContextMenuEvent* event) override;
-private slots:
+private Q_SLOTS:
/**
* Shows the information for the item of the URL which has been provided by
* InformationPanel::requestDelayedItemInfo() and provides default actions.
*/
void setPreviewAutoPlay(bool autoPlay);
-signals:
+Q_SIGNALS:
void urlActivated( const QUrl& url );
void configurationFinished();
void contextMenuRequested(const QPoint& pos);
-public slots:
+public Q_SLOTS:
/**
* Is invoked after the file meta data configuration dialog has been
* closed and refreshes the displayed meta data by the panel.
bool event(QEvent * event) override;
-private slots:
+private Q_SLOTS:
/**
* Is invoked if no preview is available for the item. In this
* case the icon will be shown.
void setAutoPlay(bool autoPlay);
bool eventFilter(QObject *object, QEvent *event) override;
- signals:
+ Q_SIGNALS:
/**
* Is emitted whenever the video-state
* has changed: If true is returned, a video
*/
void hasVideoChanged(bool hasVideo);
- public slots:
+ public Q_SLOTS:
void play();
protected:
void showEvent(QShowEvent *event) override;
void hideEvent(QHideEvent *event) override;
- private slots:
+ private Q_SLOTS:
void stateChanged(Phonon::State newstate);
void stop();
void finished();
QSize sizeHint() const override;
-public slots:
+public Q_SLOTS:
/**
* This is invoked every time the folder being displayed in the
* active Dolphin view changes.
bool isGroupHidden(KFilePlacesModel::GroupType type) const;
void setGroupHidden(KFilePlacesModel::GroupType type, bool hidden);
-signals:
+Q_SIGNALS:
void errorMessage(const QString& message);
void storageSetupDone(int index, bool success);
void storageTearDownRequested(const QString& mountPath);
void onItemRemoved(int index, KStandardItem* removedItem) override;
void onItemChanged(int index, const QSet<QByteArray>& changedRoles) override;
-private slots:
+private Q_SLOTS:
void slotStorageTearDownDone(Solid::ErrorType error, const QVariant& errorData);
void slotStorageSetupDone(Solid::ErrorType error, const QVariant& errorData, const QString& udi);
explicit PlacesItemSignalHandler(PlacesItem* item, QObject* parent = nullptr);
~PlacesItemSignalHandler() override;
-public slots:
+public Q_SLOTS:
/**
* Calls PlacesItem::onAccessibilityChanged()
*/
void onTrashEmptinessChanged(bool isTrashEmpty);
-signals:
+Q_SIGNALS:
void tearDownExternallyRequested(const QString& udi);
private:
bool eventFilter(QObject *obj, QEvent *event) override;
-signals:
+Q_SIGNALS:
void placeActivated(const QUrl& url);
void placeMiddleClicked(const QUrl& url);
void errorMessage(const QString& error);
bool urlChanged() override;
void showEvent(QShowEvent* event) override;
-public slots:
+public Q_SLOTS:
void readSettings() override;
void showHiddenEntries(bool shown);
int hiddenListCount();
-private slots:
+private Q_SLOTS:
void slotItemActivated(int index);
void slotItemMiddleClicked(int index);
void slotItemContextMenuRequested(int index, const QPointF& pos);
bool hasProgramRunning() const;
QString runningProgramName() const;
-public slots:
+public Q_SLOTS:
void terminalExited();
void dockVisibilityChanged();
-signals:
+Q_SIGNALS:
void hideTerminalPanel();
/**
void showEvent(QShowEvent* event) override;
-private slots:
+private Q_SLOTS:
void slotMostLocalUrlResult(KJob* job);
void slotKonsolePartCurrentDirectoryChanged(const QString& dir);
void setFacetType(const QString& type);
-signals:
+Q_SIGNALS:
void facetChanged();
protected:
void changeEvent(QEvent* event) override;
-private slots:
+private Q_SLOTS:
void updateTagsMenu();
void updateTagsMenuItems(const QUrl&, const KFileItemList& items);
void keyReleaseEvent(QKeyEvent* event) override;
bool eventFilter(QObject* obj, QEvent* event) override;
-signals:
+Q_SIGNALS:
/**
* Is emitted when a searching should be triggered.
*/
void activated();
void focusViewRequest();
-private slots:
+private Q_SLOTS:
void emitSearchRequest();
void emitCloseRequest();
void slotConfigurationChanged();
~ApplyViewPropsJob() override;
int progress() const;
-private slots:
+private Q_SLOTS:
void slotResult(KJob* job) override;
void slotEntries(KIO::Job*, const KIO::UDSEntryList&);
protected:
void showEvent(QShowEvent* event) override;
-private slots:
+private Q_SLOTS:
/**
* Loads locally installed services.
*/
explicit DolphinSettingsDialog(const QUrl& url, QWidget* parent = nullptr, KActionCollection* actions = {});
~DolphinSettingsDialog() override;
-signals:
+Q_SIGNALS:
void settingsChanged();
-private slots:
+private Q_SLOTS:
/** Enables the Apply button. */
void enableApply();
void applySettings();
protected:
void showEvent(QShowEvent* event) override;
-private slots:
+private Q_SLOTS:
void configureService(const QModelIndex& index);
private:
const QStyleOptionViewItem& option,
const QPersistentModelIndex& index) const override;
-signals:
+Q_SIGNALS:
void requestServiceConfiguration(const QModelIndex& index);
-private slots:
+private Q_SLOTS:
void slotCheckBoxClicked(bool checked);
void slotConfigureButtonClicked();
};
*/
virtual void restoreDefaults() = 0;
-signals:
+Q_SIGNALS:
/** Is emitted if a setting has been changed. */
void changed();
};
/** @see SettingsPageBase::restoreDefaults() */
void restoreDefaults() override;
-private slots:
+private Q_SLOTS:
void slotSettingsChanged();
void updateInitialViewOptions();
void selectHomeUrl();
void setCustomFont(const QFont& font);
QFont customFont() const;
-signals:
+Q_SIGNALS:
/** Is emitted, if the font has been changed. */
void changed();
-private slots:
+private Q_SLOTS:
void openFontDialog();
void changeMode(int index);
void applySettings();
void restoreDefaultSettings();
-signals:
+Q_SIGNALS:
void changed();
-private slots:
+private Q_SLOTS:
void slotDefaultSliderMoved(int value);
void slotPreviewSliderMoved(int value);
explicit ViewPropertiesDialog(DolphinView* dolphinView);
~ViewPropertiesDialog() override;
-public slots:
+public Q_SLOTS:
void accept() override;
-private slots:
+private Q_SLOTS:
void slotApply();
void slotViewModeChanged(int index);
void slotSortingChanged(int index);
void slotItemChanged(QListWidgetItem *item);
void markAsDirty(bool isDirty);
-signals:
+Q_SIGNALS:
void isDirtyChanged(bool isDirty);
private:
protected:
void closeEvent(QCloseEvent* event) override;
-public slots:
+public Q_SLOTS:
void reject() override;
-private slots:
+private Q_SLOTS:
void updateProgress();
void applyViewProperties();
*/
void updateSpaceInfo();
-public slots:
+public Q_SLOTS:
void setText(const QString& text);
void setUrl(const QUrl& url);
void setZoomLevel(int zoomLevel);
-signals:
+Q_SIGNALS:
/**
* Is emitted if the stop-button has been pressed during showing a progress.
*/
protected:
void contextMenuEvent(QContextMenuEvent* event) override;
-private slots:
+private Q_SLOTS:
void showZoomSliderToolTip(int zoomLevel);
void updateProgressInfo();
*/
static MountPointObserver* observerForUrl(const QUrl& url);
-signals:
+Q_SIGNALS:
/**
* This signal is emitted when the size has been retrieved.
*/
void spaceInfoChanged(quint64 size, quint64 available);
-public slots:
+public Q_SLOTS:
/**
* If this slot is invoked, MountPointObserver starts a new driveSize job
* to get the drive's size.
*/
void update();
-private slots:
+private Q_SLOTS:
void freeSpaceResult(KIO::Job* job, KIO::filesize_t size, KIO::filesize_t available);
private:
*/
MountPointObserver* observerForUrl(const QUrl& url);
-private slots:
+private Q_SLOTS:
/**
* Removes the given \a observer from the cache.
*/
void setUrl(const QUrl& url);
-public slots:
+public Q_SLOTS:
void update();
-signals:
+Q_SIGNALS:
/**
* This signal is emitted when the size or available space changes.
*/
void valuesChanged();
-private slots:
+private Q_SLOTS:
void spaceInfoChanged(quint64 size, quint64 available);
private:
void hideEvent(QHideEvent* event) override;
void mousePressEvent(QMouseEvent* event) override;
-private slots:
+private Q_SLOTS:
void slotValuesChanged();
private:
{
Q_OBJECT
-private slots:
+private Q_SLOTS:
void initTestCase();
void init();
void testClosingTabsWithSearchBoxVisible();
{
Q_OBJECT
-private slots:
+private Q_SLOTS:
void testBalooSearchParsing_data();
void testBalooSearchParsing();
};
{
Q_OBJECT
-private slots:
+private Q_SLOTS:
void init();
void cleanup();
{
Q_OBJECT
-private slots:
+private Q_SLOTS:
void testUrlListMatchesUrl_data();
void testUrlListMatchesUrl();
};
{
Q_OBJECT
-private slots:
+private Q_SLOTS:
void init();
void cleanup();
void testGroupedItemChanges();
public:
KFileItemModelBenchmark();
-private slots:
+private Q_SLOTS:
void insertAndRemoveManyItems_data();
void insertAndRemoveManyItems();
{
Q_OBJECT
-private slots:
+private Q_SLOTS:
void init();
void cleanup();
{
Q_OBJECT
-private slots:
+private Q_SLOTS:
void initTestCase();
void cleanupTestCase();
{
Q_OBJECT
-private slots:
+private Q_SLOTS:
void init();
void testBasicKeyboardSearch();
{
Q_OBJECT
-private slots:
+private Q_SLOTS:
void init();
void cleanup();
{
Q_OBJECT
-private slots:
+private Q_SLOTS:
void testFromSortedContainer_data();
void testFromSortedContainer();
};
{
Q_OBJECT
-private slots:
+private Q_SLOTS:
void initTestCase();
void testConstruction_data();
{
Q_OBJECT
-private slots:
+private Q_SLOTS:
void init();
void cleanup();
{
Q_OBJECT
-private slots:
+private Q_SLOTS:
void init();
void cleanup();
{
Q_OBJECT
-private slots:
+private Q_SLOTS:
void init();
void cleanup();
static KIO::Job* empty(QWidget *window);
static bool isEmpty();
-signals:
+Q_SIGNALS:
void emptinessChanged(bool isEmpty);
private:
void attach(const DolphinNewFileMenu* menu);
void detach(const DolphinNewFileMenu* menu);
-signals:
+Q_SIGNALS:
void itemCreated(const QUrl& url);
void errorMessage(const QString& error);
*/
void hideToolTip(const ToolTipManager::HideBehavior behavior = ToolTipManager::HideBehavior::Later);
-public slots:
+public Q_SLOTS:
/**
* Changes the directory to \a url. If the current directory is equal to
* \a url, nothing will be done (use DolphinView::reload() instead).
/** Activates the view if the item list container gets focus. */
bool eventFilter(QObject* watched, QEvent* event) override;
-signals:
+Q_SIGNALS:
/**
* Is emitted if the view has been activated by e. g. a mouse click.
*/
void hideEvent(QHideEvent* event) override;
bool event(QEvent* event) override;
-private slots:
+private Q_SLOTS:
/**
* Marks the view as active (DolphinView:isActive() will return true)
* and emits the 'activated' signal if it is not already active.
void setItems(const KFileItemList& items);
KFileItemList items() const;
-signals:
+Q_SIGNALS:
/**
* Is emitted after the meta data has been received for the items
* set by DolphinFileMetaDataWidget::setItems().
*/
void hideToolTip(const HideBehavior behavior = HideBehavior::Later);
-signals:
+Q_SIGNALS:
/**
* Is emitted when the user clicks a tag or a link
* in the metadata widget.
*/
void urlActivated(const QUrl& url);
-private slots:
+private Q_SLOTS:
void startContentRetrieval();
void setPreviewPix(const KFileItem& item, const QPixmap& pix);
void previewFailed();
QList<QAction*> actions(const KFileItemList& items) const;
-signals:
+Q_SIGNALS:
/**
* Is emitted if an information message with the content \a msg
* should be shown.
*/
void operationCompletedMessage(const QString& msg);
-private slots:
+private Q_SLOTS:
/**
* Invokes verifyDirectory() with a small delay. If delayedDirectoryVerification()
* is invoked before the delay has been exceeded, the delay will be reset. This
void setNameFilter(const QString& nameFilter);
QString nameFilter() const;
-public slots:
+public Q_SLOTS:
/**
* Sets the URL to \a url and emits the signals cancelPreviews() and
* urlChanged() if \a url is different for the current URL.
*/
void setUrl(const QUrl& url);
-signals:
+Q_SIGNALS:
/**
* Is emitted if the URL has been changed by ViewModeController::setUrl().
*/