Rev 105 | Rev 159 | Go to most recent revision | Details | Compare with Previous | Last modification | View Log | RSS feed
Rev | Author | Line No. | Line |
---|---|---|---|
3 | paul | 1 | #ifndef HYPLUG_H |
2 | #define HYPLUG_H |
||
3 | |||
4 | #include <qobject.h> |
||
106 | Franz | 5 | #include <qtextcodec.h> |
3 | paul | 6 | #include "hyphen.h" |
7 | class ScribusDoc; |
||
8 | class ScribusApp; |
||
9 | class PageItem; |
||
10 | |||
11 | class Hyphenator : public QObject |
||
12 | { |
||
13 | Q_OBJECT |
||
14 | |||
15 | public: |
||
16 | Hyphenator(QWidget* parent, ScribusDoc *dok, ScribusApp* app); |
||
17 | ~Hyphenator(); |
||
18 | int MinWordLen; |
||
19 | QString Language; |
||
20 | bool Automatic; |
||
21 | bool AutoCheck; |
||
22 | HyphenDict *hdict; |
||
23 | ScribusDoc *doc; |
||
24 | ScribusApp *Sap; |
||
105 | Franz | 25 | bool useAble; |
106 | Franz | 26 | QTextCodec *codec; |
3 | paul | 27 | |
28 | public slots: |
||
29 | void slotNewDict(QString name); |
||
30 | void slotNewSettings(int Wordlen, bool Autom, bool ACheck); |
||
31 | void slotHyphenateWord(PageItem* it, QString text, int firstC); |
||
32 | void slotHyphenate(PageItem *it); |
||
33 | }; |
||
34 | #endif |