From b794af4c50efffe239c94e5a015e90565ff991c3 Mon Sep 17 00:00:00 2001 From: tille Date: Mon, 29 Apr 2002 22:45:35 +0000 Subject: removes links again --- (limited to 'noncore/unsupported/oipkg/pmipkg.h') 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 @@ -11,6 +11,9 @@ #include "packagelist.h" #include "debug.h" +#define createLink 0 +#define removeLink 1 + class Package; class PmIpkg : public QObject { @@ -19,12 +22,22 @@ public: PmIpkg( PackageManagerSettings* , QWidget* p=0, const char * name=0, WFlags f=0 ); ~PmIpkg(); + int linkOpp; void commit( PackageList ); void update(); - PackageList* getPackageList(); + // PackageList* getPackageList(); void showButtons(bool b=true); void show( bool buttons=true ); +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: PackageManagerSettings* settings; RunWindow *runwindow; @@ -33,20 +46,19 @@ private: QList to_install; bool runwindowopen; QString fileNameToInstall; - + QCheckBox *_force_reinstall; + QCheckBox *_force_remove; + QCheckBox *_force_depends; void startDialog(); void makeLinks(Package*); 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 ); }; #endif -- cgit v0.9.0.2