author | drw <drw> | 2003-02-01 18:39:12 (UTC) |
---|---|---|
committer | drw <drw> | 2003-02-01 18:39:12 (UTC) |
commit | 3e4dbe1619e26a4ee374e800a19ee5f4c2b6725b (patch) (unidiff) | |
tree | 549ff507ac10fa603956c902477f19f1911ff8cc /noncore/settings/aqpkg/installdlgimpl.cpp | |
parent | 48c90b56031a372bb3f822ad34b2c6857087aa69 (diff) | |
download | opie-3e4dbe1619e26a4ee374e800a19ee5f4c2b6725b.zip opie-3e4dbe1619e26a4ee374e800a19ee5f4c2b6725b.tar.gz opie-3e4dbe1619e26a4ee374e800a19ee5f4c2b6725b.tar.bz2 |
Fix for gcc 3.2...
Diffstat (limited to 'noncore/settings/aqpkg/installdlgimpl.cpp') (more/less context) (ignore whitespace changes)
-rw-r--r-- | noncore/settings/aqpkg/installdlgimpl.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/noncore/settings/aqpkg/installdlgimpl.cpp b/noncore/settings/aqpkg/installdlgimpl.cpp index 65aaa32..19fe46a 100644 --- a/noncore/settings/aqpkg/installdlgimpl.cpp +++ b/noncore/settings/aqpkg/installdlgimpl.cpp | |||
@@ -32,25 +32,25 @@ | |||
32 | #include <qlabel.h> | 32 | #include <qlabel.h> |
33 | #include <qlayout.h> | 33 | #include <qlayout.h> |
34 | #include <qpushbutton.h> | 34 | #include <qpushbutton.h> |
35 | 35 | ||
36 | #include "datamgr.h" | 36 | #include "datamgr.h" |
37 | #include "destination.h" | 37 | #include "destination.h" |
38 | #include "instoptionsimpl.h" | 38 | #include "instoptionsimpl.h" |
39 | #include "installdlgimpl.h" | 39 | #include "installdlgimpl.h" |
40 | #include "ipkg.h" | 40 | #include "ipkg.h" |
41 | #include "utils.h" | 41 | #include "utils.h" |
42 | #include "global.h" | 42 | #include "global.h" |
43 | 43 | ||
44 | InstallDlgImpl::InstallDlgImpl( vector<InstallData> &packageList, DataManager *dataManager, const char *title = 0 ) | 44 | InstallDlgImpl::InstallDlgImpl( vector<InstallData> &packageList, DataManager *dataManager, const char *title ) |
45 | : QWidget( 0, 0, 0 ) | 45 | : QWidget( 0, 0, 0 ) |
46 | { | 46 | { |
47 | setCaption( title ); | 47 | setCaption( title ); |
48 | init( TRUE ); | 48 | init( TRUE ); |
49 | 49 | ||
50 | pIpkg = 0; | 50 | pIpkg = 0; |
51 | upgradePackages = false; | 51 | upgradePackages = false; |
52 | dataMgr = dataManager; | 52 | dataMgr = dataManager; |
53 | vector<Destination>::iterator dit; | 53 | vector<Destination>::iterator dit; |
54 | 54 | ||
55 | QString defaultDest = "root"; | 55 | QString defaultDest = "root"; |
56 | #ifdef QWS | 56 | #ifdef QWS |
@@ -109,25 +109,25 @@ InstallDlgImpl::InstallDlgImpl( vector<InstallData> &packageList, DataManager *d | |||
109 | type = tr( "(ReInstall)" ); | 109 | type = tr( "(ReInstall)" ); |
110 | else | 110 | else |
111 | type = tr( "(Upgrade)" ); | 111 | type = tr( "(Upgrade)" ); |
112 | upgrade.append( QString( " %1 %2\n" ).arg( item.packageName ).arg( type ) ); | 112 | upgrade.append( QString( " %1 %2\n" ).arg( item.packageName ).arg( type ) ); |
113 | } | 113 | } |
114 | } | 114 | } |
115 | 115 | ||
116 | output->setText( QString( "%1\n%2\n%3\n" ).arg( remove ).arg( install ).arg( upgrade ) ); | 116 | output->setText( QString( "%1\n%2\n%3\n" ).arg( remove ).arg( install ).arg( upgrade ) ); |
117 | 117 | ||
118 | displayAvailableSpace( destination->currentText() ); | 118 | displayAvailableSpace( destination->currentText() ); |
119 | } | 119 | } |
120 | 120 | ||
121 | InstallDlgImpl::InstallDlgImpl( Ipkg *ipkg, QString initialText, const char *title = 0 ) | 121 | InstallDlgImpl::InstallDlgImpl( Ipkg *ipkg, QString initialText, const char *title ) |
122 | : QWidget( 0, 0, 0 ) | 122 | : QWidget( 0, 0, 0 ) |
123 | { | 123 | { |
124 | setCaption( title ); | 124 | setCaption( title ); |
125 | init( FALSE ); | 125 | init( FALSE ); |
126 | pIpkg = ipkg; | 126 | pIpkg = ipkg; |
127 | output->setText( initialText ); | 127 | output->setText( initialText ); |
128 | } | 128 | } |
129 | 129 | ||
130 | 130 | ||
131 | InstallDlgImpl::~InstallDlgImpl() | 131 | InstallDlgImpl::~InstallDlgImpl() |
132 | { | 132 | { |
133 | if ( pIpkg ) | 133 | if ( pIpkg ) |