author | leseb <leseb> | 2002-06-21 09:19:18 (UTC) |
---|---|---|
committer | leseb <leseb> | 2002-06-21 09:19:18 (UTC) |
commit | da8fdc855382e3b6e945aa1aeb429e5737e0792d (patch) (side-by-side diff) | |
tree | a0656e9abf0131822c6fa01e70151ae47cad4e61 | |
parent | b5c57220c9a7b685418c8e8e0e02906659dd8b47 (diff) | |
download | opie-da8fdc855382e3b6e945aa1aeb429e5737e0792d.zip opie-da8fdc855382e3b6e945aa1aeb429e5737e0792d.tar.gz opie-da8fdc855382e3b6e945aa1aeb429e5737e0792d.tar.bz2 |
Missing EOL
-rw-r--r-- | noncore/unsupported/oipkg/mainwindow.cpp | 1 | ||||
-rw-r--r-- | noncore/unsupported/oipkg/pmipkg.cpp | 2 | ||||
-rw-r--r-- | noncore/unsupported/oipkg/utils.cpp | 2 | ||||
-rw-r--r-- | noncore/unsupported/oipkg/utils.h | 2 |
4 files changed, 3 insertions, 4 deletions
diff --git a/noncore/unsupported/oipkg/mainwindow.cpp b/noncore/unsupported/oipkg/mainwindow.cpp index 11ab406..233eae6 100644 --- a/noncore/unsupported/oipkg/mainwindow.cpp +++ b/noncore/unsupported/oipkg/mainwindow.cpp @@ -376,65 +376,64 @@ void MainWindow::findClose() void MainWindow::searchShow(bool b) { if (b) searchBar->show(); else searchBar->hide(); searchAction->setOn( b ); } void MainWindow::searchClose() { searchAction->setOn( false ); } void MainWindow::destShow(bool b) { if (b) destBar->show(); else destBar->hide(); destAction->setOn( b ); } void MainWindow::destClose() { destAction->setOn( false ); } void MainWindow::setDocument(const QString &fileName) { if ( !QFile::exists( fileName ) ) return; ipkg->installFile( fileName ); QCopEnvelope e("QPE/System", "linkChanged(QString)"); QString lf = QString::null; e << lf; - exit; } void MainWindow::makeChannel() { channel = new QCopChannel( "QPE/Application/oipkg", this ); connect( channel, SIGNAL(received(const QCString&, const QByteArray&)), this, SLOT(receive(const QCString&, const QByteArray&)) ); } void MainWindow::receive(const QCString &msg, const QByteArray &arg) { pvDebug(3, "QCop "+msg+" "+QCString(arg)); if ( msg == "installFile(QString)" ) { ipkg->installFile( QString(arg) ); }else if( msg == "removeFile(QString)" ) { ipkg->removeFile( QString(arg) ); }else if( msg == "createLinks(QString)" ) { ipkg->createLinks( QString(arg) ); }else if( msg == "removeLinks(QString)" ) { ipkg->removeLinks( QString(arg) ); }else{ pvDebug(2,"Huh what do ya want") } } diff --git a/noncore/unsupported/oipkg/pmipkg.cpp b/noncore/unsupported/oipkg/pmipkg.cpp index 2a534d2..0817247 100644 --- a/noncore/unsupported/oipkg/pmipkg.cpp +++ b/noncore/unsupported/oipkg/pmipkg.cpp @@ -434,33 +434,33 @@ void PmIpkg::installFile(const QString &fileName, const QString &dest) } void PmIpkg::removeFile(const QString &fileName, const QString &dest) { to_install.clear(); to_remove.clear(); pvDebug( 2,"PmIpkg::removeFile "+ fileName); Package *p = new Package(fileName,settings); if ( dest!="") p->setDest( dest ); to_remove.append( p ); commit(); delete p; } void PmIpkg::clearLists() { to_remove.clear(); to_install.clear(); } void PmIpkg::getIpkgOutput(OProcess *proc, char *buffer, int buflen) { QString lineStr, lineStrOld; lineStr = buffer; lineStr=lineStr.left(buflen); //Configuring opie-oipkg...Done if (lineStr!=lineStrOld) out(lineStr); lineStrOld = lineStr; -}
\ No newline at end of file +} diff --git a/noncore/unsupported/oipkg/utils.cpp b/noncore/unsupported/oipkg/utils.cpp index 13b17fb..66dcf10 100644 --- a/noncore/unsupported/oipkg/utils.cpp +++ b/noncore/unsupported/oipkg/utils.cpp @@ -1,27 +1,27 @@ /*************************************************************************** utils.cpp - description ------------------- begin : Sun Apr 28 2002 copyright : (C) 2002 by tille email : tille@handhelds.org ***************************************************************************/ /*************************************************************************** * * * This program is free software; you can redistribute it and/or modify * * it under the terms of the GNU General Public License as published by * * the Free Software Foundation; either version 2 of the License, or * * (at your option) any later version. * * * ***************************************************************************/ #include <qcombobox.h> #include <qstring.h> #include "utils.h" void setComboName( QComboBox* combo, QString s) { for ( int i = 0; i < combo->count(); i++) if ( combo->text( i ) == s ) combo->setCurrentItem( i ); -}
\ No newline at end of file +} diff --git a/noncore/unsupported/oipkg/utils.h b/noncore/unsupported/oipkg/utils.h index bb033c5..ecc70dc 100644 --- a/noncore/unsupported/oipkg/utils.h +++ b/noncore/unsupported/oipkg/utils.h @@ -1,18 +1,18 @@ /*************************************************************************** utils.h - description ------------------- begin : Sun Apr 28 2002 copyright : (C) 2002 by tille email : tille@handhelds.org ***************************************************************************/ /*************************************************************************** * * * This program is free software; you can redistribute it and/or modify * * it under the terms of the GNU General Public License as published by * * the Free Software Foundation; either version 2 of the License, or * * (at your option) any later version. * * * ***************************************************************************/ -void setComboName( QComboBox*, QString );
\ No newline at end of file +void setComboName( QComboBox*, QString ); |