author | drw <drw> | 2003-01-01 20:24:31 (UTC) |
---|---|---|
committer | drw <drw> | 2003-01-01 20:24:31 (UTC) |
commit | 0d5a0d775acbee43ac417e63c64126a4efc50d64 (patch) (unidiff) | |
tree | 0457679736ba2e72539b7538dde63c93a942f797 /noncore/graphics/drawpad/pageinformationdialog.cpp | |
parent | 2736ce30d565270495050cec2831d3f31b5c90a0 (diff) | |
download | opie-0d5a0d775acbee43ac417e63c64126a4efc50d64.zip opie-0d5a0d775acbee43ac417e63c64126a4efc50d64.tar.gz opie-0d5a0d775acbee43ac417e63c64126a4efc50d64.tar.bz2 |
Added QWhatsThis and some code optimizations to reduce executable size.
Diffstat (limited to 'noncore/graphics/drawpad/pageinformationdialog.cpp') (more/less context) (ignore whitespace changes)
-rw-r--r-- | noncore/graphics/drawpad/pageinformationdialog.cpp | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/noncore/graphics/drawpad/pageinformationdialog.cpp b/noncore/graphics/drawpad/pageinformationdialog.cpp index cb14d73..d769668 100644 --- a/noncore/graphics/drawpad/pageinformationdialog.cpp +++ b/noncore/graphics/drawpad/pageinformationdialog.cpp | |||
@@ -96,9 +96,9 @@ QString PageInformationDialog::dateTimeString(QDateTime dateTime) | |||
96 | case 0x0001: | 96 | case 0x0001: |
97 | result += QString().sprintf("%02d", dateTime.date().day()); | 97 | result.append( QString().sprintf("%02d", dateTime.date().day()) ); |
98 | break; | 98 | break; |
99 | case 0x0002: | 99 | case 0x0002: |
100 | result += QString().sprintf("%02d", dateTime.date().month()); | 100 | result.append( QString().sprintf("%02d", dateTime.date().month()) ); |
101 | break; | 101 | break; |
102 | case 0x0004: | 102 | case 0x0004: |
103 | result += QString().sprintf("%04d", dateTime.date().year()); | 103 | result.append( QString().sprintf("%04d", dateTime.date().year()) ); |
104 | break; | 104 | break; |
@@ -109,3 +109,3 @@ QString PageInformationDialog::dateTimeString(QDateTime dateTime) | |||
109 | if (i < 2) { | 109 | if (i < 2) { |
110 | result += separator; | 110 | result.append( separator ); |
111 | } | 111 | } |
@@ -113,3 +113,3 @@ QString PageInformationDialog::dateTimeString(QDateTime dateTime) | |||
113 | 113 | ||
114 | result += QString().sprintf(" %02d:%02d", dateTime.time().hour(), dateTime.time().minute()); | 114 | result.append( QString().sprintf(" %02d:%02d", dateTime.time().hour(), dateTime.time().minute()) ); |
115 | 115 | ||