Diffstat (limited to 'inputmethods/pickboard/pickboardcfg.h') (more/less context) (ignore whitespace changes)
-rw-r--r-- | inputmethods/pickboard/pickboardcfg.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/inputmethods/pickboard/pickboardcfg.h b/inputmethods/pickboard/pickboardcfg.h index e0dc0dd..b1913df 100644 --- a/inputmethods/pickboard/pickboardcfg.h +++ b/inputmethods/pickboard/pickboardcfg.h @@ -83,65 +83,65 @@ public: virtual void pickPoint(const QPoint& p, bool press); virtual void draw(QPainter*)=0; virtual void fillMenu(QPopupMenu&); virtual void doMenu(int); protected: void updateRows(int from, int to); virtual void updateItem(int r, int i); virtual void pickInRow(int r, int xpos, bool press)=0; void changeMode(int m); virtual void generateText(const QString& s); void generateKey( int k ); virtual void pick(bool press, int row, int item)=0; protected: PickboardPicks* parent; int nrows; private: int pressrow, pressx; }; class StringConfig : public PickboardConfig { public: StringConfig(PickboardPicks* p) : PickboardConfig(p) { } void draw(QPainter* p); protected: virtual QString text(int r, int i)=0; virtual bool spreadRow(int i)=0; - virtual QColor rowColor(int) { return Qt::black; } + virtual QColor rowColor(int) { return ::Qt::black; } virtual void pickInRow(int r, int xpos, bool press); virtual void updateItem(int r, int i); virtual bool highlight(int,int) const; }; class CharStringConfig : public StringConfig { QString input; QStringList chars; public: CharStringConfig(PickboardPicks* p) : StringConfig(p) { } void addChar(const QString& s); virtual void doMenu(int); protected: QString text(int r, int i); bool spreadRow(int i); void pick(bool press, int row, int item); }; class DictFilterConfig : public StringConfig { QStringList matches; QStringList sets; QStringList othermodes; int lit0; int lit1; int shift; QString capitalize(const QString& s); QStringList capitalize(const QStringList& s); public: QStringList input; |