#include </home/clem/local/src/opie/noncore/unsupported/oipkg/pmipkg.h>
Collaboration diagram for PmIpkg:

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) |
Public Member Functions | |
| PmIpkg (PackageManagerSettings *, QWidget *p=0, const char *name=0, WFlags f=0) | |
| ~PmIpkg () | |
| void | loadList (PackageList *) |
| void | commit () |
| void | update () |
| void | show () |
| void | clearLists () |
Public Attributes | |
| int | linkOpp |
Private Member Functions | |
| void | makeLinks (OipkgPackage *) |
| void | linkPackage (QString, QString) |
| void | processLinkDir (QString, QString) |
| bool | runIpkg (const QString &args, const QString &dest="") |
| void | out (QString) |
| QStringList * | getList (QString, QString) |
| void | processFileList (QStringList *, QString) |
Private Attributes | |
| QString | ipkg_cmd |
| PackageManagerSettings * | settings |
| RunWindow * | runwindow |
| InstallDialog * | installDialog |
| QList< OipkgPackage > | to_remove |
| QList< OipkgPackage > | to_install |
|
||||||||||||||||||||
|
Definition at line 40 of file pmipkg.cpp. References ipkg_cmd, Config::readEntry(), runwindow, Config::setGroup(), settings, and Config::User. |
|
|
Definition at line 51 of file pmipkg.cpp. |
|
|
Definition at line 438 of file pmipkg.cpp. References to_install, and to_remove. Referenced by MainWindow::runIpkg(). |
|
|
Definition at line 247 of file pmipkg.cpp. References doIt(), i, installDialog, InstallDialog::ListViewPackages, out(), qDebug(), runwindow, settings, to_install, to_remove, InstallDialog::toInstallItem, InstallDialog::toRemoveItem, and tr. Referenced by installFile(), removeFile(), and MainWindow::runIpkg(). |
|
|
Definition at line 365 of file pmipkg.cpp. References createLink, PackageManagerSettings::getDestinationUrlByName(), linkOpp, processLinkDir(), pvDebug, and settings. Referenced by MainWindow::createLinks(), and MainWindow::receive(). |
|
|
Definition at line 279 of file pmipkg.cpp. References install(), remove(), runwindow, and show(). Referenced by commit(). |
|
||||||||||||
|
Definition at line 124 of file pmipkg.cpp. References QFile::close(), Opie::MM::dest, QTextStream::eof(), f, PackageManagerSettings::getDestinationUrlByName(), IO_ReadOnly, QString::latin1(), QFile::open(), out(), qDebug(), Config::readEntry(), QTextStream::readLine(), Config::setGroup(), QFile::setName(), settings, statusDir, t, and Config::User. Referenced by linkPackage(), and remove(). |
|
|
Definition at line 324 of file pmipkg.cpp. References createLink, PackageManagerSettings::getDestinationUrlByName(), i, QString::latin1(), linkOpp, makeLinks(), out(), pvDebug, qDebug(), runIpkg(), runwindow, settings, to_install, and tr. Referenced by doIt(). |
|
||||||||||||
|
Definition at line 411 of file pmipkg.cpp. References commit(), p, pvDebug, OipkgPackage::setDest(), settings, to_install, and to_remove. Referenced by MainWindow::receive(). |
|
||||||||||||
|
Definition at line 161 of file pmipkg.cpp. References getList(), and processFileList(). Referenced by makeLinks(). |
|
|
Definition at line 233 of file pmipkg.cpp. References PackageList::first(), OipkgPackage::name(), PackageList::next(), to_install, to_remove, OipkgPackage::toInstall(), and OipkgPackage::toRemove(). Referenced by MainWindow::runIpkg(). |
|
|
Definition at line 117 of file pmipkg.cpp. References OipkgPackage::dest(), linkPackage(), OipkgPackage::name(), OipkgPackage::packageName(), and pvDebug. Referenced by install(). |
|
|
Definition at line 391 of file pmipkg.cpp. References FALSE, and runwindow. Referenced by commit(), getList(), install(), remove(), and runIpkg(). |
|
||||||||||||
|
Definition at line 169 of file pmipkg.cpp. References Opie::MM::dest, PackageManagerSettings::getDestinationUrlByName(), i, QValueList< T >::isEmpty(), processLinkDir(), and settings. Referenced by linkPackage(), and remove(). |
|
||||||||||||
|
Definition at line 181 of file pmipkg.cpp. References QFileInfo::absFilePath(), createLink, QPtrListIterator< type >::current(), d, QDir::entryInfoList(), QFile::exists(), QFileInfo::isDir(), QFileInfo::isFile(), QFileInfo::isSymLink(), linkOpp, list, QDir::mkdir(), pvDebug, and removeLink. Referenced by createLinks(), processFileList(), and removeLinks(). |
|
|
Definition at line 288 of file pmipkg.cpp. References getList(), i, linkOpp, QString::number(), out(), processFileList(), pvDebug, removeLink, runIpkg(), runwindow, to_remove, and tr. Referenced by doIt(). |
|
||||||||||||
|
Definition at line 424 of file pmipkg.cpp. References commit(), p, pvDebug, OipkgPackage::setDest(), settings, to_install, and to_remove. Referenced by MainWindow::receive(). |
|
|
Definition at line 375 of file pmipkg.cpp. References PackageManagerSettings::getDestinationUrlByName(), linkOpp, processLinkDir(), pvDebug, removeLink, and settings. Referenced by MainWindow::receive(), and MainWindow::removeLinks(). |
|
||||||||||||
|
args.contains("update") Definition at line 55 of file pmipkg.cpp. References InstallDialog::_force_depends, InstallDialog::_force_overwrite, InstallDialog::_force_reinstall, InstallDialog::_force_remove, QString::contains(), PackageManagerSettings::getDestinationName(), installDialog, ipkg_cmd, QString::left(), QString::length(), NULL, out(), pvDebug, qApp, qDebug(), QDir::setCurrent(), and settings. |
|
|
Definition at line 401 of file pmipkg.cpp. References runwindow. |
|
|
Definition at line 385 of file pmipkg.cpp. References runIpkg(), and show(). Referenced by MainWindow::updateList(). |
|
|
|
|
|
|
|
|
Definition at line 34 of file pmipkg.h. Referenced by createLinks(), install(), processLinkDir(), remove(), and removeLinks(). |
|
|
Definition at line 54 of file pmipkg.h. Referenced by commit(), doIt(), install(), out(), PmIpkg(), remove(), and show(). |
|
|
Definition at line 53 of file pmipkg.h. Referenced by commit(), createLinks(), getList(), install(), installFile(), PmIpkg(), processFileList(), removeFile(), removeLinks(), and runIpkg(). |
|
|
Definition at line 57 of file pmipkg.h. Referenced by clearLists(), commit(), install(), installFile(), loadList(), and removeFile(). |
|
|
Definition at line 56 of file pmipkg.h. Referenced by clearLists(), commit(), installFile(), loadList(), remove(), and removeFile(). |
1.4.2