summaryrefslogtreecommitdiff
path: root/noncore/settings/aqpkg/package.cpp
authorandyq <andyq>2002-11-19 17:31:00 (UTC)
committer andyq <andyq>2002-11-19 17:31:00 (UTC)
commitabeb38c25d2cfe90d1a17912a63c9518e602766c (patch) (side-by-side diff)
tree79df89e95a7dafc4a3bf9a7e377b41467396f20d /noncore/settings/aqpkg/package.cpp
parent638b671dce5eff05a2ec666492c060fa2fd021a2 (diff)
downloadopie-abeb38c25d2cfe90d1a17912a63c9518e602766c.zip
opie-abeb38c25d2cfe90d1a17912a63c9518e602766c.tar.gz
opie-abeb38c25d2cfe90d1a17912a63c9518e602766c.tar.bz2
Changed so that the size of a package is passed down into the local package
(as long as the package installed is the same version as the package available in the feed)
Diffstat (limited to 'noncore/settings/aqpkg/package.cpp') (more/less context) (ignore whitespace changes)
-rw-r--r--noncore/settings/aqpkg/package.cpp10
1 files changed, 5 insertions, 5 deletions
diff --git a/noncore/settings/aqpkg/package.cpp b/noncore/settings/aqpkg/package.cpp
index fd75450..526de5e 100644
--- a/noncore/settings/aqpkg/package.cpp
+++ b/noncore/settings/aqpkg/package.cpp
@@ -56,7 +56,7 @@ QString Package :: toString()
return ret;
}
-void Package :: setStatus( QString &s )
+void Package :: setStatus( const QString &s )
{
status = s;
@@ -75,7 +75,7 @@ void Package :: setLocalPackage( Package *p )
differentVersionAvailable = false;
}
-void Package :: setVersion( QString &v )
+void Package :: setVersion( const QString &v )
{
version = v;
@@ -86,17 +86,17 @@ void Package :: setVersion( QString &v )
differentVersionAvailable = false;
}
-void Package :: setPackageName( QString &name )
+void Package :: setPackageName( const QString &name )
{
packageName = name;
}
-void Package :: setDescription( QString &d )
+void Package :: setDescription( const QString &d )
{
description = d;
}
-void Package :: setFilename( QString &f )
+void Package :: setFilename( const QString &f )
{
filename = f;
}