diff --git a/src/filewidgets/CMakeLists.txt b/src/filewidgets/CMakeLists.txt --- a/src/filewidgets/CMakeLists.txt +++ b/src/filewidgets/CMakeLists.txt @@ -79,6 +79,7 @@ KDirSortFilterProxyModel KFileCopyToMenu KFileFilterCombo + KFilePlaceEditDialog KFilePlacesModel KFilePlacesView KFilePreviewGenerator diff --git a/src/filewidgets/kfileplaceeditdialog_p.h b/src/filewidgets/kfileplaceeditdialog.h rename from src/filewidgets/kfileplaceeditdialog_p.h rename to src/filewidgets/kfileplaceeditdialog.h --- a/src/filewidgets/kfileplaceeditdialog_p.h +++ b/src/filewidgets/kfileplaceeditdialog.h @@ -17,11 +17,10 @@ Boston, MA 02110-1301, USA. */ -#ifndef KFILEPLACEEDITDIALOG_P_H -#define KFILEPLACEEDITDIALOG_P_H +#ifndef KFILEPLACEEDITDIALOG_H +#define KFILEPLACEEDITDIALOG_H -// Not exported anymore, only used internally. -//#include "kiofilewidgets_export.h" +#include "kiofilewidgets_export.h" #include #include @@ -36,13 +35,14 @@ /** * @class KFilePlaceEditDialog kfileplaceeditdialog.h * - * A dialog that allows editing entries of a KUrlBar ( KUrlBarItem). + * A dialog that allows editing entries of a KFilePlacesModel. * The dialog offers to configure a given url, label and icon. * See the class-method getInformation() for easy usage. * * @author Carsten Pfeiffer + * @since 5.53 */ -class KFilePlaceEditDialog : public QDialog +class KIOFILEWIDGETS_EXPORT KFilePlaceEditDialog : public QDialog { Q_OBJECT @@ -153,4 +153,4 @@ QDialogButtonBox *m_buttonBox; }; -#endif // KFILEPLACEEDITDIALOG_P_H +#endif // KFILEPLACEEDITDIALOG_H diff --git a/src/filewidgets/kfileplaceeditdialog.cpp b/src/filewidgets/kfileplaceeditdialog.cpp --- a/src/filewidgets/kfileplaceeditdialog.cpp +++ b/src/filewidgets/kfileplaceeditdialog.cpp @@ -17,7 +17,7 @@ Boston, MA 02110-1301, USA. */ -#include "kfileplaceeditdialog_p.h" +#include "kfileplaceeditdialog.h" #include #include diff --git a/src/filewidgets/kfileplacesview.cpp b/src/filewidgets/kfileplacesview.cpp --- a/src/filewidgets/kfileplacesview.cpp +++ b/src/filewidgets/kfileplacesview.cpp @@ -52,7 +52,7 @@ #include #include -#include "kfileplaceeditdialog_p.h" +#include "kfileplaceeditdialog.h" #include "kfileplacesmodel.h" #define LATERAL_MARGIN 4