-rw-r--r-- | noncore/apps/opie-sheet/Excel.cpp | 3 | ||||
-rw-r--r-- | noncore/apps/opie-sheet/mainwindow.cpp | 4 | ||||
-rw-r--r-- | noncore/apps/opie-sheet/sheet.cpp | 1 |
3 files changed, 0 insertions, 8 deletions
diff --git a/noncore/apps/opie-sheet/Excel.cpp b/noncore/apps/opie-sheet/Excel.cpp index 225c3e1..fc49d56 100644 --- a/noncore/apps/opie-sheet/Excel.cpp +++ b/noncore/apps/opie-sheet/Excel.cpp | |||
@@ -1,23 +1,20 @@ | |||
1 | 1 | ||
2 | 2 | ||
3 | #include <stdio.h> | 3 | #include <stdio.h> |
4 | #include <stdlib.h> | 4 | #include <stdlib.h> |
5 | #include <math.h> | 5 | #include <math.h> |
6 | #include <time.h> | 6 | #include <time.h> |
7 | #include <sys/types.h> | 7 | #include <sys/types.h> |
8 | #include <strings.h> | 8 | #include <strings.h> |
9 | #include <qstring.h> | ||
10 | #include <qlist.h> | ||
11 | #include <qarray.h> | ||
12 | #include "Excel.h" | 9 | #include "Excel.h" |
13 | 10 | ||
14 | static xfrecord formatter[] = { | 11 | static xfrecord formatter[] = { |
15 | { 0xe , DATEFORMAT, "%m/%d/%y"}, | 12 | { 0xe , DATEFORMAT, "%m/%d/%y"}, |
16 | { 0xf , DATEFORMAT, "%d-%b-%y"}, | 13 | { 0xf , DATEFORMAT, "%d-%b-%y"}, |
17 | { 0x10, DATEFORMAT, "%d-%b"}, | 14 | { 0x10, DATEFORMAT, "%d-%b"}, |
18 | { 0x11, DATEFORMAT, "%b-%y"}, | 15 | { 0x11, DATEFORMAT, "%b-%y"}, |
19 | { 0x12, DATEFORMAT, "%I:%M %p"}, | 16 | { 0x12, DATEFORMAT, "%I:%M %p"}, |
20 | { 0x13, DATEFORMAT, "%I:%M:%S %p"}, | 17 | { 0x13, DATEFORMAT, "%I:%M:%S %p"}, |
21 | { 0x14, DATEFORMAT, "%H:%M"}, | 18 | { 0x14, DATEFORMAT, "%H:%M"}, |
22 | { 0x15, DATEFORMAT, "%H:%M:%S"}, | 19 | { 0x15, DATEFORMAT, "%H:%M:%S"}, |
23 | { 0x16, DATEFORMAT, "%m/%d/%y %H:%M"}, | 20 | { 0x16, DATEFORMAT, "%m/%d/%y %H:%M"}, |
diff --git a/noncore/apps/opie-sheet/mainwindow.cpp b/noncore/apps/opie-sheet/mainwindow.cpp index 3d3c688..1fb2a3d 100644 --- a/noncore/apps/opie-sheet/mainwindow.cpp +++ b/noncore/apps/opie-sheet/mainwindow.cpp | |||
@@ -5,32 +5,28 @@ | |||
5 | * the Free Software Foundation; either version 2 of the License, or * | 5 | * the Free Software Foundation; either version 2 of the License, or * |
6 | * (at your option) any later version. * | 6 | * (at your option) any later version. * |
7 | * * | 7 | * * |
8 | ***************************************************************************/ | 8 | ***************************************************************************/ |
9 | 9 | ||
10 | /* | 10 | /* |
11 | * Opie Sheet (formerly Sheet/Qt) | 11 | * Opie Sheet (formerly Sheet/Qt) |
12 | * by Serdar Ozler <sozler@sitebest.com> | 12 | * by Serdar Ozler <sozler@sitebest.com> |
13 | */ | 13 | */ |
14 | 14 | ||
15 | #include "mainwindow.h" | 15 | #include "mainwindow.h" |
16 | 16 | ||
17 | #include <qpe/filemanager.h> | ||
18 | #include <qpe/qcopenvelope_qws.h> | ||
19 | #include <qpe/resource.h> | 17 | #include <qpe/resource.h> |
20 | #include <qpe/qpeapplication.h> | 18 | #include <qpe/qpeapplication.h> |
21 | 19 | ||
22 | #include <qmessagebox.h> | 20 | #include <qmessagebox.h> |
23 | #include <qfile.h> | ||
24 | #include <qtranslator.h> | ||
25 | #include <qradiobutton.h> | 21 | #include <qradiobutton.h> |
26 | 22 | ||
27 | #include "cellformat.h" | 23 | #include "cellformat.h" |
28 | #include "numberdlg.h" | 24 | #include "numberdlg.h" |
29 | #include "textdlg.h" | 25 | #include "textdlg.h" |
30 | #include "sortdlg.h" | 26 | #include "sortdlg.h" |
31 | #include "finddlg.h" | 27 | #include "finddlg.h" |
32 | 28 | ||
33 | #define DEFAULT_NUM_ROWS 300 | 29 | #define DEFAULT_NUM_ROWS 300 |
34 | #define DEFAULT_NUM_COLS (26*3) | 30 | #define DEFAULT_NUM_COLS (26*3) |
35 | #define DEFAULT_NUM_SHEETS 3 | 31 | #define DEFAULT_NUM_SHEETS 3 |
36 | 32 | ||
diff --git a/noncore/apps/opie-sheet/sheet.cpp b/noncore/apps/opie-sheet/sheet.cpp index e1e4744..f303d33 100644 --- a/noncore/apps/opie-sheet/sheet.cpp +++ b/noncore/apps/opie-sheet/sheet.cpp | |||
@@ -5,25 +5,24 @@ | |||
5 | * the Free Software Foundation; either version 2 of the License, or * | 5 | * the Free Software Foundation; either version 2 of the License, or * |
6 | * (at your option) any later version. * | 6 | * (at your option) any later version. * |
7 | * * | 7 | * * |
8 | ***************************************************************************/ | 8 | ***************************************************************************/ |
9 | 9 | ||
10 | /* | 10 | /* |
11 | * Opie Sheet (formerly Sheet/Qt) | 11 | * Opie Sheet (formerly Sheet/Qt) |
12 | * by Serdar Ozler <sozler@sitebest.com> | 12 | * by Serdar Ozler <sozler@sitebest.com> |
13 | */ | 13 | */ |
14 | 14 | ||
15 | #include "sheet.h" | 15 | #include "sheet.h" |
16 | 16 | ||
17 | #include <qmainwindow.h> | ||
18 | #include <qmessagebox.h> | 17 | #include <qmessagebox.h> |
19 | #include <math.h> | 18 | #include <math.h> |
20 | #include <stdlib.h> | 19 | #include <stdlib.h> |
21 | #include <stdio.h> | 20 | #include <stdio.h> |
22 | #include <time.h> | 21 | #include <time.h> |
23 | 22 | ||
24 | #define DEFAULT_COL_WIDTH 50 | 23 | #define DEFAULT_COL_WIDTH 50 |
25 | 24 | ||
26 | Sheet::Sheet(int numRows, int numCols, QWidget *parent) | 25 | Sheet::Sheet(int numRows, int numCols, QWidget *parent) |
27 | :QTable(numRows, numCols, parent) | 26 | :QTable(numRows, numCols, parent) |
28 | { | 27 | { |
29 | defaultBorders.right=defaultBorders.bottom=QPen(Qt::gray, 1, Qt::SolidLine); | 28 | defaultBorders.right=defaultBorders.bottom=QPen(Qt::gray, 1, Qt::SolidLine); |