~ubuntu-branches/ubuntu/wily/scribus/wily-proposed

« back to all changes in this revision

Viewing changes to scribus/plugins/scriptplugin/pconsole.h

  • Committer: Package Import Robot
  • Author(s): Oleksandr Moskalenko
  • Date: 2012-02-09 21:50:56 UTC
  • mfrom: (1.1.6)
  • Revision ID: package-import@ubuntu.com-20120209215056-2wrx1ara0jbm7fi5
Tags: 1.4.0.dfsg+r17287-1
* New upstream stable release upload into Debian (Closes: #654703).
* Applied the Ubuntu armel patch.
* Removed non-free color swatches from resources.
* debian/control:
  - Moved icc-profiles from Recommends to Suggests (Closes: #655885).
  - Updated Standards-Version to 3.9.2.
  - Updated extended description per lintian warning.
* debian/rules:
  - Update mailcap (Closes: #630751). A request for mime.types update has
    been sent to the mime-support maintainer.
  - Added build-arch and build-indep targets per lintian warning.
* debian/patches:
  - top_cmakelists.patch - don't copy extra docs and changelogs.
  - scribus_cmakelists.patch - don't copy extra docs and changelogs.
  - scribus_cmakelists.patch - don't install the non-free "doc" dir.
  - profiles_cmakelists.patch - don't install non-free sRGB profile.
* debian/copyright: 
  - Converted to the DEP5 machine readable foramt.
  - Added licenses for free color swatches.

Show diffs side-by-side

added added

removed removed

Lines of Context:
15
15
#define PCONSOLE_H
16
16
 
17
17
#include <QLabel>
 
18
#include <QMainWindow>
18
19
#include <QSyntaxHighlighter>
19
20
#include "ui_pconsole.h"
20
21
 
43
44
                //! \brief Close event for turning the action off
44
45
                void closeEvent(QCloseEvent *);
45
46
 
 
47
                void updateSyntaxHighlighter();
 
48
 
46
49
        public slots:
47
50
                //! menu operations
48
51
                virtual void slot_runScript();
86
89
{
87
90
        public:
88
91
                SyntaxColors();
89
 
                ~SyntaxColors();
 
92
 
90
93
                QColor errorColor;
91
94
                QColor commentColor;
92
95
                QColor keywordColor;
94
97
                QColor numberColor;
95
98
                QColor stringColor;
96
99
                QColor textColor;
 
100
 
 
101
                void saveToPrefs();
 
102
 
97
103
        private:
98
104
                /*! \brief Converts QColor into #rrggbb string.
99
105
                \param color a QColor to convert. */
113
119
                SyntaxHighlighter(QTextEdit *textEdit);
114
120
 
115
121
        protected:
116
 
                void highlightBlock(const QString &text);
 
122
                virtual void highlightBlock(const QString &text);
117
123
 
118
124
                struct HighlightingRule
119
125
                {