From 6fed7c662ee6a569b7b78fc69dfcb194ac3d4df1 Mon Sep 17 00:00:00 2001 From: Tobias Hunger Date: Fri, 13 Aug 2010 12:53:36 +0200 Subject: Replace some struct with classes * Fixes warnings about struct/class mixup in windows Reviewed-by: thorbjorn --- src/plugins/texteditor/tabsettings.h | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'src/plugins/texteditor/tabsettings.h') diff --git a/src/plugins/texteditor/tabsettings.h b/src/plugins/texteditor/tabsettings.h index edccbbe1986..75ec461f0c1 100644 --- a/src/plugins/texteditor/tabsettings.h +++ b/src/plugins/texteditor/tabsettings.h @@ -42,8 +42,9 @@ namespace TextEditor { // Tab settings: Data type the GeneralSettingsPage acts on // with some convenience functions for formatting. -struct TEXTEDITOR_EXPORT TabSettings +class TEXTEDITOR_EXPORT TabSettings { +public: // This enum must match the indexes of tabKeyBehavior widget enum TabKeyBehavior { TabNeverIndents = 0, -- cgit v1.2.3