diff options
author | Michele Calgaro <michele.calgaro@yahoo.it> | 2023-11-05 11:54:26 +0900 |
---|---|---|
committer | Michele Calgaro <michele.calgaro@yahoo.it> | 2023-11-16 23:40:13 +0900 |
commit | c8c5e11f05f023849896d09cf06917e9a2c016ca (patch) | |
tree | a62f00b0249b967528e115e2123b56d40633c17a /kspread/dialogs/kspread_dlg_layout.h | |
parent | c9973bfbf1091ef91f30b5ab456015676123aa47 (diff) | |
download | koffice-c8c5e11f.tar.gz koffice-c8c5e11f.zip |
Replace Qt with TQt
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
(cherry picked from commit ef06f14f2475bd08d3ea2ceec54a7b2238f3554e)
Diffstat (limited to 'kspread/dialogs/kspread_dlg_layout.h')
-rw-r--r-- | kspread/dialogs/kspread_dlg_layout.h | 26 |
1 files changed, 13 insertions, 13 deletions
diff --git a/kspread/dialogs/kspread_dlg_layout.h b/kspread/dialogs/kspread_dlg_layout.h index 84b6d241a..1360f1c88 100644 --- a/kspread/dialogs/kspread_dlg_layout.h +++ b/kspread/dialogs/kspread_dlg_layout.h @@ -101,14 +101,14 @@ class PatternSelect : public TQFrame public: PatternSelect( TQWidget *parent, const char *_name ); - void setPenStyle( Qt::PenStyle _pat ) { penStyle = _pat; repaint(); } - Qt::PenStyle getPenStyle() { return penStyle; } + void setPenStyle( TQt::PenStyle _pat ) { penStyle = _pat; repaint(); } + TQt::PenStyle getPenStyle() { return penStyle; } void setColor( const TQColor &_col ) { penColor = _col; repaint(); } const TQColor& getColor() { return penColor; } void setPenWidth( int _w ) { penWidth = _w; repaint(); } int getPenWidth() { return penWidth; } - void setPattern( const TQColor &_color, int _width, Qt::PenStyle _style ); + void setPattern( const TQColor &_color, int _width, TQt::PenStyle _style ); void setUndefined(); void setDefined() { undefined = FALSE; repaint(); } @@ -125,7 +125,7 @@ protected: virtual void paintEvent( TQPaintEvent *_ev ); virtual void mousePressEvent( TQMouseEvent *_ev ); - Qt::PenStyle penStyle; + TQt::PenStyle penStyle; TQColor penColor; int penWidth; @@ -303,8 +303,8 @@ class BorderButton : public TQPushButton public: BorderButton( TQWidget *parent, const char *_name ); - void setPenStyle( Qt::PenStyle _pat ) { penStyle = _pat;} - Qt::PenStyle getPenStyle() { return penStyle; } + void setPenStyle( TQt::PenStyle _pat ) { penStyle = _pat;} + TQt::PenStyle getPenStyle() { return penStyle; } void setColor( const TQColor &_col ) { penColor = _col; } const TQColor& getColor() { return penColor; } void setPenWidth( int _w ) { penWidth = _w; } @@ -317,7 +317,7 @@ public: void clicked(BorderButton *); protected: virtual void mousePressEvent( TQMouseEvent *_ev ); - Qt::PenStyle penStyle; + TQt::PenStyle penStyle; TQColor penColor; int penWidth; bool changed; @@ -389,11 +389,11 @@ class BrushSelect : public TQFrame public: BrushSelect( TQWidget *parent, const char *_name ); - void setBrushStyle( Qt::BrushStyle _pat ) { brushStyle = _pat; repaint(); } - Qt::BrushStyle getBrushStyle() const { return brushStyle; } + void setBrushStyle( TQt::BrushStyle _pat ) { brushStyle = _pat; repaint(); } + TQt::BrushStyle getBrushStyle() const { return brushStyle; } TQColor getBrushColor() const { return brushColor; } void setBrushColor(const TQColor &_c) { brushColor=_c;} - void setPattern( const TQColor &_color, Qt::BrushStyle _style ); + void setPattern( const TQColor &_color, TQt::BrushStyle _style ); signals: void clicked( BrushSelect *_this ); @@ -406,7 +406,7 @@ protected: virtual void paintEvent( TQPaintEvent *_ev ); virtual void mousePressEvent( TQMouseEvent *_ev ); - Qt::BrushStyle brushStyle; + TQt::BrushStyle brushStyle; TQColor brushColor; bool selected; }; @@ -527,13 +527,13 @@ public: bool bStyle; TQColor color; bool bColor; - Qt::PenStyle style; + TQt::PenStyle style; }; // The format of the selected area CellBorderFormat borders[BorderType_END]; - Qt::BrushStyle brushStyle; + TQt::BrushStyle brushStyle; TQColor brushColor; bool oneCol; |