author | leseb <leseb> | 2002-06-21 09:19:18 (UTC) |
---|---|---|
committer | leseb <leseb> | 2002-06-21 09:19:18 (UTC) |
commit | da8fdc855382e3b6e945aa1aeb429e5737e0792d (patch) (unidiff) | |
tree | a0656e9abf0131822c6fa01e70151ae47cad4e61 /noncore/unsupported/oipkg | |
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 | |||
@@ -396,25 +396,24 @@ void MainWindow::destShow(bool b) | |||
396 | void MainWindow::destClose() | 396 | void MainWindow::destClose() |
397 | { | 397 | { |
398 | destAction->setOn( false ); | 398 | destAction->setOn( false ); |
399 | } | 399 | } |
400 | 400 | ||
401 | void MainWindow::setDocument(const QString &fileName) | 401 | void MainWindow::setDocument(const QString &fileName) |
402 | { | 402 | { |
403 | if ( !QFile::exists( fileName ) ) return; | 403 | if ( !QFile::exists( fileName ) ) return; |
404 | ipkg->installFile( fileName ); | 404 | ipkg->installFile( fileName ); |
405 | QCopEnvelope e("QPE/System", "linkChanged(QString)"); | 405 | QCopEnvelope e("QPE/System", "linkChanged(QString)"); |
406 | QString lf = QString::null; | 406 | QString lf = QString::null; |
407 | e << lf; | 407 | e << lf; |
408 | exit; | ||
409 | } | 408 | } |
410 | 409 | ||
411 | 410 | ||
412 | void MainWindow::makeChannel() | 411 | void MainWindow::makeChannel() |
413 | { | 412 | { |
414 | channel = new QCopChannel( "QPE/Application/oipkg", this ); | 413 | channel = new QCopChannel( "QPE/Application/oipkg", this ); |
415 | connect( channel, SIGNAL(received(const QCString&, const QByteArray&)), | 414 | connect( channel, SIGNAL(received(const QCString&, const QByteArray&)), |
416 | this, SLOT(receive(const QCString&, const QByteArray&)) ); | 415 | this, SLOT(receive(const QCString&, const QByteArray&)) ); |
417 | } | 416 | } |
418 | 417 | ||
419 | 418 | ||
420 | 419 | ||
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 | |||
@@ -454,13 +454,13 @@ void PmIpkg::clearLists() | |||
454 | } | 454 | } |
455 | 455 | ||
456 | 456 | ||
457 | void PmIpkg::getIpkgOutput(OProcess *proc, char *buffer, int buflen) | 457 | void PmIpkg::getIpkgOutput(OProcess *proc, char *buffer, int buflen) |
458 | { | 458 | { |
459 | QString lineStr, lineStrOld; | 459 | QString lineStr, lineStrOld; |
460 | lineStr = buffer; | 460 | lineStr = buffer; |
461 | lineStr=lineStr.left(buflen); | 461 | lineStr=lineStr.left(buflen); |
462 | //Configuring opie-oipkg...Done | 462 | //Configuring opie-oipkg...Done |
463 | if (lineStr!=lineStrOld) | 463 | if (lineStr!=lineStrOld) |
464 | out(lineStr); | 464 | out(lineStr); |
465 | lineStrOld = lineStr; | 465 | lineStrOld = lineStr; |
466 | } \ No newline at end of file | 466 | } |
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 | |||
@@ -15,13 +15,13 @@ | |||
15 | * * | 15 | * * |
16 | ***************************************************************************/ | 16 | ***************************************************************************/ |
17 | 17 | ||
18 | #include <qcombobox.h> | 18 | #include <qcombobox.h> |
19 | #include <qstring.h> | 19 | #include <qstring.h> |
20 | #include "utils.h" | 20 | #include "utils.h" |
21 | 21 | ||
22 | void setComboName( QComboBox* combo, QString s) | 22 | void setComboName( QComboBox* combo, QString s) |
23 | { | 23 | { |
24 | for ( int i = 0; i < combo->count(); i++) | 24 | for ( int i = 0; i < combo->count(); i++) |
25 | if ( combo->text( i ) == s ) | 25 | if ( combo->text( i ) == s ) |
26 | combo->setCurrentItem( i ); | 26 | combo->setCurrentItem( i ); |
27 | } \ No newline at end of file | 27 | } |
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 | |||
@@ -6,13 +6,13 @@ | |||
6 | email : tille@handhelds.org | 6 | email : tille@handhelds.org |
7 | ***************************************************************************/ | 7 | ***************************************************************************/ |
8 | 8 | ||
9 | /*************************************************************************** | 9 | /*************************************************************************** |
10 | * * | 10 | * * |
11 | * This program is free software; you can redistribute it and/or modify * | 11 | * This program is free software; you can redistribute it and/or modify * |
12 | * it under the terms of the GNU General Public License as published by * | 12 | * it under the terms of the GNU General Public License as published by * |
13 | * the Free Software Foundation; either version 2 of the License, or * | 13 | * the Free Software Foundation; either version 2 of the License, or * |
14 | * (at your option) any later version. * | 14 | * (at your option) any later version. * |
15 | * * | 15 | * * |
16 | ***************************************************************************/ | 16 | ***************************************************************************/ |
17 | 17 | ||
18 | void setComboName( QComboBox*, QString ); \ No newline at end of file | 18 | void setComboName( QComboBox*, QString ); |