diff options
Diffstat (limited to 'filters/kspread/gnumeric')
-rw-r--r-- | filters/kspread/gnumeric/gnumericimport.cpp | 68 | ||||
-rw-r--r-- | filters/kspread/gnumeric/status.html | 10 |
2 files changed, 39 insertions, 39 deletions
diff --git a/filters/kspread/gnumeric/gnumericimport.cpp b/filters/kspread/gnumeric/gnumericimport.cpp index f437aad00..4b037ad15 100644 --- a/filters/kspread/gnumeric/gnumericimport.cpp +++ b/filters/kspread/gnumeric/gnumericimport.cpp @@ -488,63 +488,63 @@ void convertToPen( TQPen & pen, int style ) case 0: break; case 1: - pen.setStyle( Qt::SolidLine ); + pen.setStyle( TQt::SolidLine ); pen.setWidth( 1 ); break; case 2: - pen.setStyle( Qt::SolidLine ); + pen.setStyle( TQt::SolidLine ); pen.setWidth( 2 ); break; case 3: - pen.setStyle( Qt::DashLine ); + pen.setStyle( TQt::DashLine ); pen.setWidth( 1 ); break; case 4: // width should be 1 but otherwise it would be the same as 7 - pen.setStyle( Qt::DotLine ); + pen.setStyle( TQt::DotLine ); pen.setWidth( 2 ); break; case 5: - pen.setStyle( Qt::SolidLine ); + pen.setStyle( TQt::SolidLine ); pen.setWidth( 3 ); break; case 6: // TODO should be double - pen.setStyle( Qt::SolidLine ); + pen.setStyle( TQt::SolidLine ); pen.setWidth( 1 ); break; case 7: // very thin dots => no match in KSpread - pen.setStyle( Qt::DotLine ); + pen.setStyle( TQt::DotLine ); pen.setWidth( 1 ); break; case 8: - pen.setStyle( Qt::DashLine ); + pen.setStyle( TQt::DashLine ); pen.setWidth( 2 ); break; case 9: - pen.setStyle( Qt::DashDotLine ); + pen.setStyle( TQt::DashDotLine ); pen.setWidth( 1 ); break; case 10: - pen.setStyle( Qt::DashDotLine ); + pen.setStyle( TQt::DashDotLine ); pen.setWidth( 2 ); break; case 11: - pen.setStyle( Qt::DashDotDotLine ); + pen.setStyle( TQt::DashDotDotLine ); pen.setWidth( 1 ); break; case 12: - pen.setStyle( Qt::DashDotDotLine ); + pen.setStyle( TQt::DashDotDotLine ); pen.setWidth( 2 ); break; case 13: // TODO: long dash, short dash, long dash,... - pen.setStyle( Qt::DashDotLine ); + pen.setStyle( TQt::DashDotLine ); pen.setWidth( 3 ); break; default: - pen.setStyle( Qt::SolidLine ); + pen.setStyle( TQt::SolidLine ); pen.setWidth( 1 ); } } @@ -1178,7 +1178,7 @@ void GNUMERICFilter::setStyleInfo(TQDomNode * sheet, Sheet * table) else if (shade == "1") { /* 1 Solid */ - //kspread_cell->format()->setBackGroundBrushStyle(Qt::SolidPattern); + //kspread_cell->format()->setBackGroundBrushStyle(TQt::SolidPattern); //This is as empty /* What should this be? */ @@ -1186,86 +1186,86 @@ void GNUMERICFilter::setStyleInfo(TQDomNode * sheet, Sheet * table) else if (shade == "2") { /* 2 75% */ - kspread_cell->format()->setBackGroundBrushStyle(Qt::Dense2Pattern); + kspread_cell->format()->setBackGroundBrushStyle(TQt::Dense2Pattern); } else if (shade == "3") { /* 3 50% */ - kspread_cell->format()->setBackGroundBrushStyle(Qt::Dense4Pattern); + kspread_cell->format()->setBackGroundBrushStyle(TQt::Dense4Pattern); } else if (shade == "4") { - kspread_cell->format()->setBackGroundBrushStyle(Qt::Dense5Pattern); + kspread_cell->format()->setBackGroundBrushStyle(TQt::Dense5Pattern); /* This should be 25%... All qt has is 37% */ /* 4 25% */ } else if (shade == "5") { - kspread_cell->format()->setBackGroundBrushStyle(Qt::Dense6Pattern); + kspread_cell->format()->setBackGroundBrushStyle(TQt::Dense6Pattern); /* 5 12.5% */ } else if (shade == "6") { - kspread_cell->format()->setBackGroundBrushStyle(Qt::Dense7Pattern); + kspread_cell->format()->setBackGroundBrushStyle(TQt::Dense7Pattern); /* 6 6.25% */ } else if (shade == "7") { - kspread_cell->format()->setBackGroundBrushStyle(Qt::HorPattern); + kspread_cell->format()->setBackGroundBrushStyle(TQt::HorPattern); /* 7 Horizontal Stripe */ } else if (shade == "8") { - kspread_cell->format()->setBackGroundBrushStyle(Qt::VerPattern); + kspread_cell->format()->setBackGroundBrushStyle(TQt::VerPattern); /* 8 Vertical Stripe */ } else if (shade == "9") { - kspread_cell->format()->setBackGroundBrushStyle(Qt::BDiagPattern); + kspread_cell->format()->setBackGroundBrushStyle(TQt::BDiagPattern); /* 9 Reverse Diagonal Stripe */ } else if (shade == "10") { /* 10 Diagonal Stripe */ - kspread_cell->format()->setBackGroundBrushStyle(Qt::FDiagPattern); + kspread_cell->format()->setBackGroundBrushStyle(TQt::FDiagPattern); } else if (shade == "11") { /* 11 Diagonal Crosshatch */ - kspread_cell->format()->setBackGroundBrushStyle(Qt::DiagCrossPattern); + kspread_cell->format()->setBackGroundBrushStyle(TQt::DiagCrossPattern); } else if (shade == "12") { /* 12 Thick Diagonal Crosshatch TODO!*/ - kspread_cell->format()->setBackGroundBrushStyle(Qt::DiagCrossPattern); + kspread_cell->format()->setBackGroundBrushStyle(TQt::DiagCrossPattern); } else if (shade == "13") { /* 13 Thin Horizontal Stripe TODO: wrong: this is thick!*/ - kspread_cell->format()->setBackGroundBrushStyle(Qt::HorPattern); + kspread_cell->format()->setBackGroundBrushStyle(TQt::HorPattern); } else if (shade == "14") { - kspread_cell->format()->setBackGroundBrushStyle(Qt::VerPattern); + kspread_cell->format()->setBackGroundBrushStyle(TQt::VerPattern); } else if (shade == "15") { - kspread_cell->format()->setBackGroundBrushStyle(Qt::FDiagPattern); + kspread_cell->format()->setBackGroundBrushStyle(TQt::FDiagPattern); } else if (shade == "16") { /* 16 Thick Reverse Stripe TODO:*/ - kspread_cell->format()->setBackGroundBrushStyle(Qt::BDiagPattern); + kspread_cell->format()->setBackGroundBrushStyle(TQt::BDiagPattern); } else if (shade == "17") { - kspread_cell->format()->setBackGroundBrushStyle(Qt::DiagCrossPattern); + kspread_cell->format()->setBackGroundBrushStyle(TQt::DiagCrossPattern); } else if (shade == "18") { - kspread_cell->format()->setBackGroundBrushStyle(Qt::DiagCrossPattern); + kspread_cell->format()->setBackGroundBrushStyle(TQt::DiagCrossPattern); } else if (shade == "19") { @@ -1290,12 +1290,12 @@ void GNUMERICFilter::setStyleInfo(TQDomNode * sheet, Sheet * table) else if (shade == "24") { /* 24 100% */ - kspread_cell->format()->setBackGroundBrushStyle(Qt::SolidPattern); + kspread_cell->format()->setBackGroundBrushStyle(TQt::SolidPattern); } else if (shade == "25") { /* 25 87.5% */ - kspread_cell->format()->setBackGroundBrushStyle(Qt::Dense2Pattern); + kspread_cell->format()->setBackGroundBrushStyle(TQt::Dense2Pattern); } } diff --git a/filters/kspread/gnumeric/status.html b/filters/kspread/gnumeric/status.html index a25cdf4b6..c6c9ef89a 100644 --- a/filters/kspread/gnumeric/status.html +++ b/filters/kspread/gnumeric/status.html @@ -39,7 +39,7 @@ KOffice filters status: GNUmeric (GNOME spreadsheet)</h1></center> <tr BGCOLOR="#CCCCFF"> <td VALIGN=TOP><b><font size="+1">Features</font></b></td> -<td>Vertical &Qt::Horizontal Alignment, text wrapping, indention +<td>Vertical & Horizontal Alignment, text wrapping, indention <br>Background, Patter & Foreground color <br>Fonts: <br> @@ -61,7 +61,7 @@ Family <br>Page: size, orientation, borders, header and footer <br>Border: color, style, width for all 6 types <br>Background pattern: style, color -<br>Cell Size:Qt::Horizontal &Qt::Vertical +<br>Cell Size: horizontal & vertical <br>Hidden Columns <br>Default row heights and column widths <br>Area name @@ -81,7 +81,7 @@ Family <tr BGCOLOR="#EEEEFF"> <td VALIGN=TOP><b><font size="+1">Todo</font></b></td> -<td>Cell Size:Qt::Horizontal &Qt::Vertical (Export) (kspread doesn't +<td>Cell Size: horizontal & vertical (Export) (kspread doesn't support retriving the first "rowFormat" and colFormat".) <br> <br> @@ -194,7 +194,7 @@ Faure</a> <a href="mailto:trobin@kde.org">Werner Trobin</a></td> <tr BGCOLOR="#CCCCFF"> <td VALIGN=TOP><b><font size="+1">Features</font></b></td> -<td>Vertical &Qt::Horizontal Alignment +<td>Vertical & Horizontal Alignment <br>Background & Foreground color <br>Fonts: <br> @@ -208,7 +208,7 @@ Bold <br>Multiple Sheets (Tables) <br>Formulas!!! (ExprID) <br>Selections -<br>Cell Size:Qt::Horizontal &Qt::Vertical +<br>Cell Size: horizontal & vertical <br>Hidden columns/rows <br>Selected Tab <br>Paper layout |