summaryrefslogtreecommitdiff
path: root/noncore/unsupported/oipkg/pmipkg.h
blob: 98efaa613747208588b10216af8a09358aeade8d (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
#ifndef PMIPKG_H
#define PMIPKG_H


#include <qobject.h>
#include <qstring.h>
#include <qwidget.h>
#include "pksettings.h"
#include "runwindow.h"
#include "packagelist.h"
#include "debug.h"


#include <qpe/qcopenvelope_qws.h>

class PmIpkg : public RunWindow
//class PmIpkg : public QObject
{
  Q_OBJECT
public:
  PmIpkg( PackageManagerSettings* , QWidget* p=0,  const char * name=0, WFlags f=0 );
  //	PmIpkg( QObject*, PackageManagerSettings* );
  ~PmIpkg();

  PackageList* getPackageList();

private:
  PackageManagerSettings* settings;
  QCopChannel *linkDest;
  void processLinkDir( QString, QString );


public:
  void makeLinks(QString);
  int runIpkg(const QString& args);
  void commit( PackageList );

public slots:
  void linkDestination( QString, QString );
};

#endif