summaryrefslogtreecommitdiff
path: root/noncore/unsupported/oipkg/pmipkg.h
authortille <tille>2002-04-29 22:45:35 (UTC)
committer tille <tille>2002-04-29 22:45:35 (UTC)
commitb794af4c50efffe239c94e5a015e90565ff991c3 (patch) (side-by-side diff)
treedd4e20851eba8052a07396b57388f9216f85ae7f /noncore/unsupported/oipkg/pmipkg.h
parente4d0908ec054b71a9b97e9c35efbd5a697d0b58d (diff)
downloadopie-b794af4c50efffe239c94e5a015e90565ff991c3.zip
opie-b794af4c50efffe239c94e5a015e90565ff991c3.tar.gz
opie-b794af4c50efffe239c94e5a015e90565ff991c3.tar.bz2
removes links again
Diffstat (limited to 'noncore/unsupported/oipkg/pmipkg.h') (more/less context) (ignore whitespace changes)
-rw-r--r--noncore/unsupported/oipkg/pmipkg.h30
1 files changed, 21 insertions, 9 deletions
diff --git a/noncore/unsupported/oipkg/pmipkg.h b/noncore/unsupported/oipkg/pmipkg.h
index c5e6255..0625032 100644
--- a/noncore/unsupported/oipkg/pmipkg.h
+++ b/noncore/unsupported/oipkg/pmipkg.h
@@ -13,2 +13,5 @@
+#define createLink 0
+#define removeLink 1
+
class Package;
@@ -21,5 +24,6 @@ public:
+ int linkOpp;
void commit( PackageList );
void update();
- PackageList* getPackageList();
+ // PackageList* getPackageList();
void showButtons(bool b=true);
@@ -27,2 +31,11 @@ public:
+public slots:
+ void doIt();
+ void install();
+ void remove();
+ void installFile(const QString &fileName, const QString &dest="");
+ void removeFile(const QString &fileName, const QString &dest="");
+ void createLinks( const QString &dest );
+ void removeLinks( const QString &dest );
+
private:
@@ -35,3 +48,5 @@ private:
QString fileNameToInstall;
-
+ QCheckBox *_force_reinstall;
+ QCheckBox *_force_remove;
+ QCheckBox *_force_depends;
void startDialog();
@@ -39,12 +54,9 @@ private:
void linkPackage( QString, QString );
- void processLinkDir( QString, QString );
+ void processLinkDir( QString , QString );
int runIpkg(const QString& args, const QString& dest="" );
void out( QString );
+ QStringList* getList( QString, QString );
+ void processFileList( QStringList*, QString );
+
-public slots:
- void doIt();
- void install();
- void remove();
- void installFile(const QString &fileName);
- void linkDestination( const QString, const QByteArray );
};