summaryrefslogtreecommitdiff
authorleseb <leseb>2002-06-21 09:19:18 (UTC)
committer leseb <leseb>2002-06-21 09:19:18 (UTC)
commitda8fdc855382e3b6e945aa1aeb429e5737e0792d (patch) (side-by-side diff)
treea0656e9abf0131822c6fa01e70151ae47cad4e61
parentb5c57220c9a7b685418c8e8e0e02906659dd8b47 (diff)
downloadopie-da8fdc855382e3b6e945aa1aeb429e5737e0792d.zip
opie-da8fdc855382e3b6e945aa1aeb429e5737e0792d.tar.gz
opie-da8fdc855382e3b6e945aa1aeb429e5737e0792d.tar.bz2
Missing EOL
Diffstat (more/less context) (ignore whitespace changes)
-rw-r--r--noncore/unsupported/oipkg/mainwindow.cpp1
-rw-r--r--noncore/unsupported/oipkg/pmipkg.cpp2
-rw-r--r--noncore/unsupported/oipkg/utils.cpp2
-rw-r--r--noncore/unsupported/oipkg/utils.h2
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
@@ -392,33 +392,32 @@ void MainWindow::destShow(bool b)
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)" )
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
@@ -450,17 +450,17 @@ void PmIpkg::removeFile(const QString &fileName, const QString &dest)
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
@@ -11,17 +11,17 @@
* 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
@@ -2,17 +2,17 @@
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 );