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:37:57 +0900 |
commit | ef06f14f2475bd08d3ea2ceec54a7b2238f3554e (patch) | |
tree | 03df826633e4ba084d133ca977c4fc37c74f21ac /kspread/dialogs/kspread_dlg_layout.h | |
parent | 895081803a715ee89f4a90cfbf63d558ef2b2ebc (diff) | |
download | koffice-ef06f14f2475bd08d3ea2ceec54a7b2238f3554e.tar.gz koffice-ef06f14f2475bd08d3ea2ceec54a7b2238f3554e.zip |
Replace Qt with TQt
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
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 84b6d241..1360f1c8 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; |