From 5e2923b49cf1b4341f46964748d1d6fe01a211cb Mon Sep 17 00:00:00 2001 From: ana Date: Tue, 7 Apr 2015 10:52:40 +0300 Subject: [PATCH] Windows compatibility --- src/PyEditor/PyEditor_Editor.h | 3 ++- src/PyEditor/PyEditor_Settings.h | 3 ++- src/PyEditor/PyEditor_SettingsDlg.h | 3 ++- src/PyViewer/resources/translations/PyViewer_msg_ja.ts | 1 - 4 files changed, 6 insertions(+), 4 deletions(-) diff --git a/src/PyEditor/PyEditor_Editor.h b/src/PyEditor/PyEditor_Editor.h index ced9467a4..a610ff9b0 100644 --- a/src/PyEditor/PyEditor_Editor.h +++ b/src/PyEditor/PyEditor_Editor.h @@ -24,12 +24,13 @@ #define PYEDITOR_EDITOR_H #include +#include "PyEditor.h" class PyEditor_PyHighlighter; class PyEditor_Settings; class QtxResourceMgr; -class PyEditor_Editor : public QPlainTextEdit +class PYEDITOR_EXPORT PyEditor_Editor : public QPlainTextEdit { Q_OBJECT diff --git a/src/PyEditor/PyEditor_Settings.h b/src/PyEditor/PyEditor_Settings.h index 5efa018c5..b5cbad183 100644 --- a/src/PyEditor/PyEditor_Settings.h +++ b/src/PyEditor/PyEditor_Settings.h @@ -24,6 +24,7 @@ #define PYEDITOR_SETTINGS_H #include +#include "PyEditor.h" class QSettings; class QtxResourceMgr; @@ -40,7 +41,7 @@ const char* const NUM_COLUMNS = "NumberColumns"; const char* const FONT_FAMILY = "FontFamily"; const char* const FONT_SIZE = "FontSize"; -class PyEditor_Settings +class PYEDITOR_EXPORT PyEditor_Settings { public: PyEditor_Settings( QtxResourceMgr* = 0 , bool isSingle = true ); diff --git a/src/PyEditor/PyEditor_SettingsDlg.h b/src/PyEditor/PyEditor_SettingsDlg.h index f585822ac..971f1e9e5 100644 --- a/src/PyEditor/PyEditor_SettingsDlg.h +++ b/src/PyEditor/PyEditor_SettingsDlg.h @@ -24,6 +24,7 @@ #define PYEDITOR_SETTINGSDLG_H #include +#include "PyEditor.h" class PyEditor_Editor; class QAbstractButton; @@ -34,7 +35,7 @@ class QFontComboBox; class QLabel; class QSpinBox; -class PyEditor_SettingsDlg : public QDialog +class PYEDITOR_EXPORT PyEditor_SettingsDlg : public QDialog { Q_OBJECT diff --git a/src/PyViewer/resources/translations/PyViewer_msg_ja.ts b/src/PyViewer/resources/translations/PyViewer_msg_ja.ts index 711b492f9..98c056d52 100644 --- a/src/PyViewer/resources/translations/PyViewer_msg_ja.ts +++ b/src/PyViewer/resources/translations/PyViewer_msg_ja.ts @@ -8,7 +8,6 @@ Pythonのエディタ:%M - ビューア:%V - PyViewer_ViewWindow -- 2.39.2