diff --git a/app/fileoperations.h b/app/fileoperations.h index 585e6c0cd..4942ae569 100644 --- a/app/fileoperations.h +++ b/app/fileoperations.h @@ -32,7 +32,7 @@ namespace Gwenview namespace FileOperations { -enum Operation { TRASH, COPY, MOVE, LINK, UNKNOWN, PUT }; +enum Operation { TRASH, COPY, MOVE, LINK, UNKNOWN, PUT, }; void copyTo(const QList& urlList, QWidget* parent, ContextManager* contextManager); void moveTo(const QList& urlList, QWidget* parent, ContextManager* contextManager); diff --git a/app/filtercontroller.h b/app/filtercontroller.h index 8123b4887..f3d6be5fa 100644 --- a/app/filtercontroller.h +++ b/app/filtercontroller.h @@ -65,7 +65,7 @@ class NameFilter : public AbstractSortedDirModelFilter public: enum Mode { Contains, - DoesNotContain + DoesNotContain, }; NameFilter(SortedDirModel* model) : AbstractSortedDirModelFilter(model) @@ -134,7 +134,7 @@ class DateFilter : public AbstractSortedDirModelFilter enum Mode { GreaterOrEqual, Equal, - LessOrEqual + LessOrEqual, }; DateFilter(SortedDirModel* model) : AbstractSortedDirModelFilter(model) @@ -207,7 +207,7 @@ class RatingFilter : public AbstractSortedDirModelFilter enum Mode { GreaterOrEqual, Equal, - LessOrEqual + LessOrEqual, }; RatingFilter(SortedDirModel* model) diff --git a/app/gvcore.h b/app/gvcore.h index 954e2a6c5..0d845a7d2 100644 --- a/app/gvcore.h +++ b/app/gvcore.h @@ -54,7 +54,7 @@ class GvCore : public QObject NormalPalette = 0, NormalViewPalette, FullScreenPalette, - FullScreenViewPalette + FullScreenViewPalette, }; QAbstractItemModel* recentFoldersModel() const; diff --git a/app/mainwindow.cpp b/app/mainwindow.cpp index ff2159ca7..58a2e22a5 100644 --- a/app/mainwindow.cpp +++ b/app/mainwindow.cpp @@ -142,7 +142,7 @@ static const char* SESSION_URL_KEY = "Url"; enum MainPageId { StartMainPageId, BrowseMainPageId, - ViewMainPageId + ViewMainPageId, }; struct MainWindowState diff --git a/app/sidebar.h b/app/sidebar.h index c4b32823d..1cf5ea50b 100644 --- a/app/sidebar.h +++ b/app/sidebar.h @@ -75,7 +75,7 @@ class SideBarTabBar : public QTabBar enum TabButtonStyle { TabButtonIconOnly, TabButtonTextOnly, - TabButtonTextBesideIcon + TabButtonTextBesideIcon, }; Q_ENUM(TabButtonStyle) diff --git a/importer/documentdirfinder.h b/importer/documentdirfinder.h index 0cb8ed6da..964951e27 100644 --- a/importer/documentdirfinder.h +++ b/importer/documentdirfinder.h @@ -52,7 +52,7 @@ class DocumentDirFinder : public QObject enum Status { NoDocumentFound, DocumentDirFound, - MultipleDirsFound + MultipleDirsFound, }; DocumentDirFinder(const QUrl& rootUrl); diff --git a/importer/fileutils.h b/importer/fileutils.h index 087f17d5f..90993bf2f 100644 --- a/importer/fileutils.h +++ b/importer/fileutils.h @@ -34,7 +34,7 @@ enum RenameResult { RenamedOK, /** Renamed without problem */ RenamedUnderNewName, /** Destination already existed, so rename() added a suffix to make the name unique */ Skipped, /** Destination already existed and contained the same data as source, so rename() just removed the source */ - RenameFailed /** Rename failed */ + RenameFailed, /** Rename failed */ }; /** diff --git a/lib/crop/croptool.cpp b/lib/crop/croptool.cpp index ed1b3a431..f656f65bb 100644 --- a/lib/crop/croptool.cpp +++ b/lib/crop/croptool.cpp @@ -53,7 +53,7 @@ enum CropHandleFlag { CH_BottomLeft = CH_Bottom | CH_Left, CH_TopRight = CH_Top | CH_Right, CH_BottomRight = CH_Bottom | CH_Right, - CH_Content = 16 + CH_Content = 16, }; Q_DECLARE_FLAGS(CropHandle, CropHandleFlag) diff --git a/lib/document/document.h b/lib/document/document.h index 133be70e6..ee2caa1bc 100644 --- a/lib/document/document.h +++ b/lib/document/document.h @@ -88,7 +88,7 @@ class GWENVIEWLIB_EXPORT Document : public QObject, public QSharedData KindDetermined, ///< Image is still loading, but kind has been determined MetaInfoLoaded, ///< Image is still loading, but meta info has been loaded Loaded, ///< Full image has been loaded - LoadingFailed ///< Image loading has failed + LoadingFailed, ///< Image loading has failed }; using Ptr = QExplicitlySharedDataPointer; diff --git a/lib/document/documentjob.h b/lib/document/documentjob.h index f3f163193..f1e03a150 100644 --- a/lib/document/documentjob.h +++ b/lib/document/documentjob.h @@ -52,7 +52,7 @@ class GWENVIEWLIB_EXPORT DocumentJob : public KCompositeJob Q_OBJECT public: enum { - NoDocumentEditorError = UserDefinedError + 1 + NoDocumentEditorError = UserDefinedError + 1, }; DocumentJob(); ~DocumentJob() override; diff --git a/lib/documentview/abstractimageview.cpp b/lib/documentview/abstractimageview.cpp index 1660f6a79..0c0f5685d 100644 --- a/lib/documentview/abstractimageview.cpp +++ b/lib/documentview/abstractimageview.cpp @@ -43,7 +43,7 @@ struct AbstractImageViewPrivate { enum Verbosity { Silent, - Notify + Notify, }; AbstractImageView* q; QCursor mZoomCursor; diff --git a/lib/documentview/abstractimageview.h b/lib/documentview/abstractimageview.h index f0a4d031b..ec7b3ef70 100644 --- a/lib/documentview/abstractimageview.h +++ b/lib/documentview/abstractimageview.h @@ -46,12 +46,12 @@ class AbstractImageView : public QGraphicsWidget public: enum UpdateType { UpdateIfNecessary, - ForceUpdate + ForceUpdate, }; enum AlphaBackgroundMode { AlphaBackgroundNone, AlphaBackgroundCheckBoard, - AlphaBackgroundSolid + AlphaBackgroundSolid, }; AbstractImageView(QGraphicsItem* parent); diff --git a/lib/fullscreenbackground.h b/lib/fullscreenbackground.h index ba7722bec..e5b608d1a 100644 --- a/lib/fullscreenbackground.h +++ b/lib/fullscreenbackground.h @@ -37,7 +37,7 @@ namespace FullScreenBackground */ enum Enum { Black, - Image + Image, }; } // namespace FullScreenBackground diff --git a/lib/hud/hudtheme.h b/lib/hud/hudtheme.h index af1341434..d6f53c7c2 100644 --- a/lib/hud/hudtheme.h +++ b/lib/hud/hudtheme.h @@ -54,7 +54,7 @@ enum State { NormalState, MouseOverState, - DownState + DownState, }; enum WidgetType @@ -63,7 +63,7 @@ enum WidgetType FrameWidget, CountDown, SliderWidgetHandle, - SliderWidgetGroove + SliderWidgetGroove, }; GWENVIEWLIB_EXPORT RenderInfo renderInfo(WidgetType, State = NormalState); diff --git a/lib/hud/hudwidget.h b/lib/hud/hudwidget.h index 70ddd063b..de9fc2b48 100644 --- a/lib/hud/hudwidget.h +++ b/lib/hud/hudwidget.h @@ -42,7 +42,7 @@ class GWENVIEWLIB_EXPORT HudWidget : public QGraphicsWidget enum Option { OptionNone = 0, OptionCloseButton = 1 << 1, - OptionOpaque = 1 << 2 + OptionOpaque = 1 << 2, }; Q_DECLARE_FLAGS(Options, Option) diff --git a/lib/imageformats/fitsformat/bayer.h b/lib/imageformats/fitsformat/bayer.h index fe7833542..d4d3f58e3 100644 --- a/lib/imageformats/fitsformat/bayer.h +++ b/lib/imageformats/fitsformat/bayer.h @@ -70,7 +70,7 @@ typedef enum { DC1394_INVALID_STEREO_METHOD = -36, DC1394_BASLER_NO_MORE_SFF_CHUNKS = -37, DC1394_BASLER_CORRUPTED_SFF_CHUNK = -38, - DC1394_BASLER_UNKNOWN_SFF_CHUNK = -39 + DC1394_BASLER_UNKNOWN_SFF_CHUNK = -39, } dc1394error_t; #define DC1394_ERROR_MIN DC1394_BASLER_UNKNOWN_SFF_CHUNK #define DC1394_ERROR_MAX DC1394_SUCCESS @@ -111,7 +111,7 @@ typedef enum { DC1394_VIDEO_MODE_FORMAT7_4, DC1394_VIDEO_MODE_FORMAT7_5, DC1394_VIDEO_MODE_FORMAT7_6, - DC1394_VIDEO_MODE_FORMAT7_7 + DC1394_VIDEO_MODE_FORMAT7_7, } dc1394video_mode_t; #define DC1394_VIDEO_MODE_MIN DC1394_VIDEO_MODE_160x120_YUV444 #define DC1394_VIDEO_MODE_MAX DC1394_VIDEO_MODE_FORMAT7_7 @@ -136,7 +136,7 @@ typedef enum { DC1394_COLOR_CODING_MONO16S, DC1394_COLOR_CODING_RGB16S, DC1394_COLOR_CODING_RAW8, - DC1394_COLOR_CODING_RAW16 + DC1394_COLOR_CODING_RAW16, } dc1394color_coding_t; #define DC1394_COLOR_CODING_MIN DC1394_COLOR_CODING_MONO8 #define DC1394_COLOR_CODING_MAX DC1394_COLOR_CODING_RAW16 @@ -154,7 +154,7 @@ typedef enum { DC1394_COLOR_FILTER_RGGB = 512, DC1394_COLOR_FILTER_GBRG, DC1394_COLOR_FILTER_GRBG, - DC1394_COLOR_FILTER_BGGR + DC1394_COLOR_FILTER_BGGR, } dc1394color_filter_t; #define DC1394_COLOR_FILTER_MIN DC1394_COLOR_FILTER_RGGB #define DC1394_COLOR_FILTER_MAX DC1394_COLOR_FILTER_BGGR @@ -165,7 +165,7 @@ typedef enum { * * IIDC cameras always return data in UYVY order, but conversion functions can change this if requested. */ -typedef enum { DC1394_BYTE_ORDER_UYVY = 800, DC1394_BYTE_ORDER_YUYV } dc1394byte_order_t; +typedef enum { DC1394_BYTE_ORDER_UYVY = 800, DC1394_BYTE_ORDER_YUYV, } dc1394byte_order_t; #define DC1394_BYTE_ORDER_MIN DC1394_BYTE_ORDER_UYVY #define DC1394_BYTE_ORDER_MAX DC1394_BYTE_ORDER_YUYV #define DC1394_BYTE_ORDER_NUM (DC1394_BYTE_ORDER_MAX - DC1394_BYTE_ORDER_MIN + 1) @@ -191,12 +191,12 @@ typedef struct /** * Yet another boolean data type */ -typedef enum { DC1394_FALSE = 0, DC1394_TRUE } dc1394bool_t; +typedef enum { DC1394_FALSE = 0, DC1394_TRUE, } dc1394bool_t; /** * Yet another boolean data type, a bit more oriented towards electrical-engineers */ -typedef enum { DC1394_OFF = 0, DC1394_ON } dc1394switch_t; +typedef enum { DC1394_OFF = 0, DC1394_ON, } dc1394switch_t; /** * A list of de-mosaicing techniques for Bayer-patterns. @@ -211,7 +211,7 @@ typedef enum { DC1394_BAYER_METHOD_DOWNSAMPLE, DC1394_BAYER_METHOD_EDGESENSE, DC1394_BAYER_METHOD_VNG, - DC1394_BAYER_METHOD_AHD + DC1394_BAYER_METHOD_AHD, } dc1394bayer_method_t; #define DC1394_BAYER_METHOD_MIN DC1394_BAYER_METHOD_NEAREST #define DC1394_BAYER_METHOD_MAX DC1394_BAYER_METHOD_AHD diff --git a/lib/imageformats/fitsformat/fitsdata.h b/lib/imageformats/fitsformat/fitsdata.h index face6dba9..bd6ec89eb 100644 --- a/lib/imageformats/fitsformat/fitsdata.h +++ b/lib/imageformats/fitsformat/fitsdata.h @@ -24,7 +24,7 @@ Gwenview: an image viewer #include "bayer.h" -typedef enum { FITS_NORMAL, FITS_FOCUS, FITS_GUIDE, FITS_CALIBRATE, FITS_ALIGN } FITSMode; +typedef enum { FITS_NORMAL, FITS_FOCUS, FITS_GUIDE, FITS_CALIBRATE, FITS_ALIGN, } FITSMode; #ifdef WIN32 // This header must be included before fitsio.h to avoid compiler errors with Visual Studio diff --git a/lib/imagemetainfomodel.cpp b/lib/imagemetainfomodel.cpp index 504de8fbd..0ef632795 100644 --- a/lib/imagemetainfomodel.cpp +++ b/lib/imagemetainfomodel.cpp @@ -53,14 +53,14 @@ enum GroupRow { IptcGroup, XmpGroup, NoGroupSpace, // second last entry - NoGroup // last entry + NoGroup, // last entry }; class MetaInfoGroup { public: enum { - InvalidRow = -1 + InvalidRow = -1, }; class Entry diff --git a/lib/mimetypeutils.h b/lib/mimetypeutils.h index eb90a3ee1..f1b8365ea 100644 --- a/lib/mimetypeutils.h +++ b/lib/mimetypeutils.h @@ -50,7 +50,7 @@ enum Kind { KIND_FILE = 1 << 3, KIND_RASTER_IMAGE = 1 << 4, KIND_SVG_IMAGE = 1 << 5, - KIND_VIDEO = 1 << 6 + KIND_VIDEO = 1 << 6, }; Q_DECLARE_FLAGS(Kinds, Kind) @@ -60,7 +60,7 @@ GWENVIEWLIB_EXPORT Kind mimeTypeKind(const QString& mimeType); enum MimeTarget { ClipboardTarget, - DropTarget + DropTarget, }; /** diff --git a/lib/mousewheelbehavior.h b/lib/mousewheelbehavior.h index c4ccfc6fc..2639fcc4f 100644 --- a/lib/mousewheelbehavior.h +++ b/lib/mousewheelbehavior.h @@ -35,7 +35,7 @@ namespace MouseWheelBehavior enum Enum { Scroll, Browse, - Zoom + Zoom, }; } // namespace MouseWheelBehavior diff --git a/lib/orientation.h b/lib/orientation.h index 6a1d1d600..187bdf1a5 100644 --- a/lib/orientation.h +++ b/lib/orientation.h @@ -49,7 +49,7 @@ enum Orientation { TRANSPOSE = 5, ROT_90 = 6, TRANSVERSE = 7, - ROT_270 = 8 + ROT_270 = 8, }; } diff --git a/lib/print/printoptionspage.h b/lib/print/printoptionspage.h index 3cfd16778..a6d88ad79 100644 --- a/lib/print/printoptionspage.h +++ b/lib/print/printoptionspage.h @@ -39,14 +39,14 @@ class PrintOptionsPage : public QWidget enum ScaleMode { NoScale, ScaleToPage, - ScaleToCustomSize + ScaleToCustomSize, }; // Order should match the content of the unit combbox in the ui file enum Unit { Millimeters, Centimeters, - Inches + Inches, }; PrintOptionsPage(const QSize& imageSize); diff --git a/lib/redeyereduction/redeyereductiontool.h b/lib/redeyereduction/redeyereductiontool.h index 96eb65b8c..ab0076fbc 100644 --- a/lib/redeyereduction/redeyereductiontool.h +++ b/lib/redeyereduction/redeyereductiontool.h @@ -43,7 +43,7 @@ class GWENVIEWLIB_EXPORT RedEyeReductionTool : public AbstractRasterImageViewToo public: enum Status { NotSet, - Adjusting + Adjusting, }; explicit RedEyeReductionTool(RasterImageView* parent); diff --git a/lib/renderingintent.h b/lib/renderingintent.h index b1c1e06cd..14897cb48 100644 --- a/lib/renderingintent.h +++ b/lib/renderingintent.h @@ -33,7 +33,7 @@ namespace RenderingIntent */ enum Enum : cmsUInt32Number { Perceptual = INTENT_PERCEPTUAL, - Relative = INTENT_RELATIVE_COLORIMETRIC + Relative = INTENT_RELATIVE_COLORIMETRIC, }; } // namespace RenderingIntent diff --git a/lib/semanticinfo/fakesemanticinfobackend.h b/lib/semanticinfo/fakesemanticinfobackend.h index c3d7da12d..2136a5628 100644 --- a/lib/semanticinfo/fakesemanticinfobackend.h +++ b/lib/semanticinfo/fakesemanticinfobackend.h @@ -43,7 +43,7 @@ class GWENVIEWLIB_EXPORT FakeSemanticInfoBackEnd : public AbstractSemanticInfoBa { Q_OBJECT public: - enum InitializeMode { InitializeEmpty, InitializeRandom }; + enum InitializeMode { InitializeEmpty, InitializeRandom, }; FakeSemanticInfoBackEnd(QObject* parent, InitializeMode initializeMode); virtual TagSet allTags() const; diff --git a/lib/semanticinfo/semanticinfodirmodel.h b/lib/semanticinfo/semanticinfodirmodel.h index fe48eb286..d2ee2d661 100644 --- a/lib/semanticinfo/semanticinfodirmodel.h +++ b/lib/semanticinfo/semanticinfodirmodel.h @@ -47,7 +47,7 @@ class SemanticInfoDirModel : public KDirModel enum { RatingRole = 0x21a43a51, DescriptionRole = 0x26FB33FA, - TagsRole = 0x0462F0A8 + TagsRole = 0x0462F0A8, }; SemanticInfoDirModel(QObject* parent); ~SemanticInfoDirModel() override; diff --git a/lib/semanticinfo/tagmodel.h b/lib/semanticinfo/tagmodel.h index 09f49138c..90e723d89 100644 --- a/lib/semanticinfo/tagmodel.h +++ b/lib/semanticinfo/tagmodel.h @@ -49,12 +49,12 @@ class GWENVIEWLIB_EXPORT TagModel : public QStandardItemModel enum { TagRole = Qt::UserRole, SortRole, - AssignmentStatusRole + AssignmentStatusRole, }; enum AssignmentStatus { PartiallyAssigned, - FullyAssigned + FullyAssigned, }; void setSemanticInfoBackEnd(AbstractSemanticInfoBackEnd*); diff --git a/lib/shadowfilter.h b/lib/shadowfilter.h index 45c0ec836..902aea2bc 100644 --- a/lib/shadowfilter.h +++ b/lib/shadowfilter.h @@ -48,7 +48,7 @@ class GWENVIEWLIB_EXPORT ShadowFilter : public QObject LeftEdge, TopEdge, RightEdge, - BottomEdge + BottomEdge, }; explicit ShadowFilter(QWidget* parent); ~ShadowFilter() override; diff --git a/lib/slideshow.cpp b/lib/slideshow.cpp index d62655513..a43ac6716 100644 --- a/lib/slideshow.cpp +++ b/lib/slideshow.cpp @@ -50,7 +50,7 @@ namespace Gwenview enum State { Paused, Started, - WaitForEndOfUrl + WaitForEndOfUrl, }; /** diff --git a/lib/slideshow.h b/lib/slideshow.h index a1b75c562..8b3938381 100644 --- a/lib/slideshow.h +++ b/lib/slideshow.h @@ -42,7 +42,7 @@ class GWENVIEWLIB_EXPORT SlideShow : public QObject enum NavigationEndNotification { NeverWarn, WarnOnSlideshow, - AlwaysWarn + AlwaysWarn, }; Q_ENUM(NavigationEndNotification) diff --git a/lib/sorting.h b/lib/sorting.h index 1b887a73b..dfe41f7e0 100644 --- a/lib/sorting.h +++ b/lib/sorting.h @@ -40,7 +40,7 @@ enum Enum { Size, Date, #ifndef GWENVIEW_SEMANTICINFO_BACKEND_NONE - Rating + Rating, #endif }; diff --git a/lib/statusbartoolbutton.h b/lib/statusbartoolbutton.h index 29170afd8..ec581cec8 100644 --- a/lib/statusbartoolbutton.h +++ b/lib/statusbartoolbutton.h @@ -43,7 +43,7 @@ class GWENVIEWLIB_EXPORT StatusBarToolButton : public QToolButton NotGrouped = 0, GroupLeft = 1, GroupRight = 2, - GroupCenter = 3 + GroupCenter = 3, }; explicit StatusBarToolButton(QWidget* parent = nullptr); diff --git a/lib/thumbnailactions.h b/lib/thumbnailactions.h index 8268d715d..c6ce80883 100644 --- a/lib/thumbnailactions.h +++ b/lib/thumbnailactions.h @@ -38,7 +38,7 @@ namespace ThumbnailActions enum Enum { AllButtons, ShowSelectionButtonOnly, - None + None, }; } // namespace ThumbnailActions diff --git a/lib/thumbnailgroup.h b/lib/thumbnailgroup.h index 844be5a2a..8de10b0af 100644 --- a/lib/thumbnailgroup.h +++ b/lib/thumbnailgroup.h @@ -35,7 +35,7 @@ namespace ThumbnailGroup enum Enum { Normal, Large, - Large2x + Large2x, }; inline int pixelSize(const Enum value) diff --git a/lib/thumbnailprovider/thumbnailprovider.h b/lib/thumbnailprovider/thumbnailprovider.h index 09fef0a54..d0f7dde21 100644 --- a/lib/thumbnailprovider/thumbnailprovider.h +++ b/lib/thumbnailprovider/thumbnailprovider.h @@ -138,7 +138,7 @@ private Q_SLOTS: void emitThumbnailLoadingFailed(); private: - enum { STATE_STATORIG, STATE_DOWNLOADORIG, STATE_PREVIEWJOB, STATE_NEXTTHUMB } mState; + enum { STATE_STATORIG, STATE_DOWNLOADORIG, STATE_PREVIEWJOB, STATE_NEXTTHUMB, } mState; KFileItemList mItems; KFileItem mCurrentItem; diff --git a/lib/thumbnailview/dragpixmapgenerator.h b/lib/thumbnailview/dragpixmapgenerator.h index 1418ce338..e34dffd8c 100644 --- a/lib/thumbnailview/dragpixmapgenerator.h +++ b/lib/thumbnailview/dragpixmapgenerator.h @@ -38,7 +38,7 @@ namespace Gwenview namespace DragPixmapGenerator { -enum { MaxCount = 6 }; +enum { MaxCount = 6, }; struct DragPixmap { QPixmap pix; diff --git a/lib/thumbnailview/previewitemdelegate.h b/lib/thumbnailview/previewitemdelegate.h index ffa6bd4e9..99c396b38 100644 --- a/lib/thumbnailview/previewitemdelegate.h +++ b/lib/thumbnailview/previewitemdelegate.h @@ -54,7 +54,7 @@ class GWENVIEWLIB_EXPORT PreviewItemDelegate : public QItemDelegate NoAction = 0, SelectionAction = 1, FullScreenAction = 2, - RotateAction = 4 + RotateAction = 4, }; Q_DECLARE_FLAGS(ContextBarActions, ContextBarAction) @@ -63,7 +63,7 @@ class GWENVIEWLIB_EXPORT PreviewItemDelegate : public QItemDelegate DateDetail = 2, RatingDetail = 4, ImageSizeDetail = 8, - FileSizeDetail = 16 + FileSizeDetail = 16, }; // FIXME: Find out why this cause problems with Qt::Alignment in // PreviewItemDelegate! diff --git a/lib/thumbnailview/thumbnailview.h b/lib/thumbnailview/thumbnailview.h index 71e7500cb..597759061 100644 --- a/lib/thumbnailview/thumbnailview.h +++ b/lib/thumbnailview/thumbnailview.h @@ -48,14 +48,14 @@ class GWENVIEWLIB_EXPORT ThumbnailView : public QListView public: enum { MinThumbnailSize = 48, - MaxThumbnailSize = 512 + MaxThumbnailSize = 512, }; enum ThumbnailScaleMode { ScaleToSquare, ScaleToHeight, ScaleToWidth, - ScaleToFit + ScaleToFit, }; explicit ThumbnailView(QWidget* parent); ~ThumbnailView() override; diff --git a/lib/timeutils.h b/lib/timeutils.h index 84f7c4288..e065ad415 100644 --- a/lib/timeutils.h +++ b/lib/timeutils.h @@ -36,7 +36,7 @@ namespace TimeUtils enum CachePolicy { SkipCache, - UseCache + UseCache, }; QDateTime GWENVIEWLIB_EXPORT dateTimeForFileItem(const KFileItem& fileItem, Gwenview::TimeUtils::CachePolicy cachePolicy = UseCache); diff --git a/lib/zoommode.h b/lib/zoommode.h index 8e66f1bd5..9b4f81563 100644 --- a/lib/zoommode.h +++ b/lib/zoommode.h @@ -39,7 +39,7 @@ namespace ZoomMode enum Enum { Autofit, KeepSame, - Individual + Individual, }; } // namespace ZoomMode