summaryrefslogtreecommitdiff
path: root/noncore/unsupported/oipkg/package.cpp
authortille <tille>2002-04-23 22:41:02 (UTC)
committer tille <tille>2002-04-23 22:41:02 (UTC)
commitf90935204b16126b40d4c562b26e37148ca03536 (patch) (unidiff)
tree40a3e25d9e5078a3871ae7ba5b1fb86245ead187 /noncore/unsupported/oipkg/package.cpp
parentab7037fb8c10cc2ee37a3728caab7d4da4cdc1b3 (diff)
downloadopie-f90935204b16126b40d4c562b26e37148ca03536.zip
opie-f90935204b16126b40d4c562b26e37148ca03536.tar.gz
opie-f90935204b16126b40d4c562b26e37148ca03536.tar.bz2
fixes: update and link creation
Diffstat (limited to 'noncore/unsupported/oipkg/package.cpp') (more/less context) (show whitespace changes)
-rw-r--r--noncore/unsupported/oipkg/package.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/noncore/unsupported/oipkg/package.cpp b/noncore/unsupported/oipkg/package.cpp
index 82ea1c8..e317308 100644
--- a/noncore/unsupported/oipkg/package.cpp
+++ b/noncore/unsupported/oipkg/package.cpp
@@ -147,25 +147,25 @@ bool Package::toRemove()
147 if ( _toProcess && installed() ) return true; 147 if ( _toProcess && installed() ) return true;
148 else return false; 148 else return false;
149} 149}
150 150
151bool Package::toInstall() 151bool Package::toInstall()
152{ 152{
153 if ( _toProcess && !installed() ) return true; 153 if ( _toProcess && !installed() ) return true;
154 else return false; 154 else return false;
155} 155}
156 156
157void Package::toggleProcess() 157void Package::toggleProcess()
158{ 158{
159 _toProcess = !(_toProcess); 159 _toProcess = ! _toProcess;
160} 160}
161 161
162 162
163 163
164void Package::copyValues( Package* pack ) 164void Package::copyValues( Package* pack )
165{ 165{
166 if (_size.isEmpty() && !pack->_size.isEmpty()) _size = QString( pack->_size ); 166 if (_size.isEmpty() && !pack->_size.isEmpty()) _size = QString( pack->_size );
167 if (_section.isEmpty() && !pack->_section.isEmpty()) _section = QString( pack->_section ); 167 if (_section.isEmpty() && !pack->_section.isEmpty()) _section = QString( pack->_section );
168 if (_subsection.isEmpty()&& !pack->_subsection.isEmpty()) _subsection = QString( pack->_subsection ); 168 if (_subsection.isEmpty()&& !pack->_subsection.isEmpty()) _subsection = QString( pack->_subsection );
169 if (_shortDesc.isEmpty() && !pack->_shortDesc.isEmpty()) _shortDesc = QString( pack->_shortDesc ); 169 if (_shortDesc.isEmpty() && !pack->_shortDesc.isEmpty()) _shortDesc = QString( pack->_shortDesc );
170 if (_desc.isEmpty() && !pack->_desc.isEmpty()) _desc = QString( pack->_desc ); 170 if (_desc.isEmpty() && !pack->_desc.isEmpty()) _desc = QString( pack->_desc );
171 if (_name.isEmpty() && !pack->_name.isEmpty()) _name = QString( pack->_name ); 171 if (_name.isEmpty() && !pack->_name.isEmpty()) _name = QString( pack->_name );