author | tille <tille> | 2002-07-06 15:26:04 (UTC) |
---|---|---|
committer | tille <tille> | 2002-07-06 15:26:04 (UTC) |
commit | 7fcf35f1632134cc9f0b3d38949864df3df59c4c (patch) (unidiff) | |
tree | 1c3ef72622877e4d9b59fd73880fa8ffe7936897 | |
parent | 76685f88ebcfd475c2d3c6d8c69271883053b09f (diff) | |
download | opie-7fcf35f1632134cc9f0b3d38949864df3df59c4c.zip opie-7fcf35f1632134cc9f0b3d38949864df3df59c4c.tar.gz opie-7fcf35f1632134cc9f0b3d38949864df3df59c4c.tar.bz2 |
cmd line dialog
-rw-r--r-- | noncore/unsupported/oipkg/mainwindow.cpp | 4 | ||||
-rw-r--r-- | noncore/unsupported/oipkg/pmipkg.cpp | 10 | ||||
-rw-r--r-- | noncore/unsupported/oipkg/pmipkg.h | 2 |
3 files changed, 11 insertions, 5 deletions
diff --git a/noncore/unsupported/oipkg/mainwindow.cpp b/noncore/unsupported/oipkg/mainwindow.cpp index 53db477..d1be8d0 100644 --- a/noncore/unsupported/oipkg/mainwindow.cpp +++ b/noncore/unsupported/oipkg/mainwindow.cpp | |||
@@ -54,3 +54,3 @@ MainWindow::MainWindow( QWidget *parent, const char *name, WFlags f ) : | |||
54 | listViewPackages->addList( tr("feeds"), &packageListServers ); | 54 | listViewPackages->addList( tr("feeds"), &packageListServers ); |
55 | listViewPackages->addList( tr("ipkgfind"), &packageListSearch ); | 55 | listViewPackages->addList( tr("ipkgfind&killefiz"), &packageListSearch ); |
56 | listViewPackages->addList( tr("documents"), &packageListDocLnk ); | 56 | listViewPackages->addList( tr("documents"), &packageListDocLnk ); |
@@ -194,3 +194,3 @@ void MainWindow::makeMenu() | |||
194 | addToolBar( searchBar, "Search", QMainWindow::Top, TRUE ); | 194 | addToolBar( searchBar, "Search", QMainWindow::Top, TRUE ); |
195 | label = new QLabel( tr("ipkgfind: "), searchBar ); | 195 | label = new QLabel( tr("Search: "), searchBar ); |
196 | // label->setBackgroundMode( PaletteForeground ); | 196 | // label->setBackgroundMode( PaletteForeground ); |
diff --git a/noncore/unsupported/oipkg/pmipkg.cpp b/noncore/unsupported/oipkg/pmipkg.cpp index d29036b..71e9b88 100644 --- a/noncore/unsupported/oipkg/pmipkg.cpp +++ b/noncore/unsupported/oipkg/pmipkg.cpp | |||
@@ -27,3 +27,3 @@ | |||
27 | #include <qtextview.h> | 27 | #include <qtextview.h> |
28 | 28 | #include <qmessagebox.h> | |
29 | #include <qprogressbar.h> | 29 | #include <qprogressbar.h> |
@@ -41,3 +41,3 @@ | |||
41 | PmIpkg::PmIpkg( PackageManagerSettings* s, QWidget* p, const char * name, WFlags f ) | 41 | PmIpkg::PmIpkg( PackageManagerSettings* s, QWidget* p, const char * name, WFlags f ) |
42 | : QObject ( p ) | 42 | : QObject ( p ), shellWarning(true) |
43 | { | 43 | { |
@@ -158,2 +158,8 @@ bool PmIpkg::runIpkg(const QString& args, const QString& dest ) | |||
158 | pclose(fp); | 158 | pclose(fp); |
159 | if (!ret && shellWarning) | ||
160 | { | ||
161 | shellWarning = false; | ||
162 | QMessageBox::critical( runwindow, tr("install failure"), | ||
163 | tr("<p>Did you start me from the command line?</p>")); | ||
164 | } | ||
159 | #endif | 165 | #endif |
diff --git a/noncore/unsupported/oipkg/pmipkg.h b/noncore/unsupported/oipkg/pmipkg.h index 28bc5dd..662800a 100644 --- a/noncore/unsupported/oipkg/pmipkg.h +++ b/noncore/unsupported/oipkg/pmipkg.h | |||
@@ -40,3 +40,2 @@ public: | |||
40 | void show(); | 40 | void show(); |
41 | /** No descriptions */ | ||
42 | void clearLists(); | 41 | void clearLists(); |
@@ -56,2 +55,3 @@ public slots: | |||
56 | private: | 55 | private: |
56 | bool shellWarning; | ||
57 | OProcess *ipkgProcess; | 57 | OProcess *ipkgProcess; |