summaryrefslogtreecommitdiff
path: root/noncore/unsupported
authortille <tille>2002-07-06 15:26:04 (UTC)
committer tille <tille>2002-07-06 15:26:04 (UTC)
commit7fcf35f1632134cc9f0b3d38949864df3df59c4c (patch) (unidiff)
tree1c3ef72622877e4d9b59fd73880fa8ffe7936897 /noncore/unsupported
parent76685f88ebcfd475c2d3c6d8c69271883053b09f (diff)
downloadopie-7fcf35f1632134cc9f0b3d38949864df3df59c4c.zip
opie-7fcf35f1632134cc9f0b3d38949864df3df59c4c.tar.gz
opie-7fcf35f1632134cc9f0b3d38949864df3df59c4c.tar.bz2
cmd line dialog
Diffstat (limited to 'noncore/unsupported') (more/less context) (ignore whitespace changes)
-rw-r--r--noncore/unsupported/oipkg/mainwindow.cpp4
-rw-r--r--noncore/unsupported/oipkg/pmipkg.cpp10
-rw-r--r--noncore/unsupported/oipkg/pmipkg.h2
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
@@ -53,5 +53,5 @@ MainWindow::MainWindow( QWidget *parent, const char *name, WFlags f ) :
53 setCentralWidget( listViewPackages ); 53 setCentralWidget( listViewPackages );
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 );
57 ipkg = new PmIpkg( settings, this ); 57 ipkg = new PmIpkg( settings, this );
@@ -193,5 +193,5 @@ void MainWindow::makeMenu()
193 searchBar = new QPEToolBar(this); 193 searchBar = new QPEToolBar(this);
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 );
197 searchBar->setHorizontalStretchable( TRUE ); 197 searchBar->setHorizontalStretchable( TRUE );
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
@@ -26,5 +26,5 @@
26#include <qtextstream.h> 26#include <qtextstream.h>
27#include <qtextview.h> 27#include <qtextview.h>
28 28#include <qmessagebox.h>
29#include <qprogressbar.h> 29#include <qprogressbar.h>
30#include <qpushbutton.h> 30#include <qpushbutton.h>
@@ -40,5 +40,5 @@
40 40
41PmIpkg::PmIpkg( PackageManagerSettings* s, QWidget* p, const char * name, WFlags f ) 41PmIpkg::PmIpkg( PackageManagerSettings* s, QWidget* p, const char * name, WFlags f )
42 : QObject ( p ) 42 : QObject ( p ), shellWarning(true)
43{ 43{
44 settings = s; 44 settings = s;
@@ -157,4 +157,10 @@ bool PmIpkg::runIpkg(const QString& args, const QString& dest )
157 } 157 }
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
160 //out( "Finished!"); 166 //out( "Finished!");
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
@@ -39,5 +39,4 @@ public:
39 void update(); 39 void update();
40 void show(); 40 void show();
41 /** No descriptions */
42 void clearLists(); 41 void clearLists();
43 42
@@ -55,4 +54,5 @@ public slots:
55 54
56private: 55private:
56 bool shellWarning;
57 OProcess *ipkgProcess; 57 OProcess *ipkgProcess;
58 PackageManagerSettings* settings; 58 PackageManagerSettings* settings;