-rw-r--r-- | core/launcher/documentlist.cpp | 15 |
1 files changed, 8 insertions, 7 deletions
diff --git a/core/launcher/documentlist.cpp b/core/launcher/documentlist.cpp index 033dd10..7f9366e 100644 --- a/core/launcher/documentlist.cpp +++ b/core/launcher/documentlist.cpp @@ -21,2 +21,3 @@ #include "serverinterface.h" +#include "launcherglobal.h" @@ -25,3 +26,3 @@ #include <qtopia/global.h> -#include <qtopia/categories.h> +#include <qtopia/private/categories.h> #include <qtopia/qpeapplication.h> @@ -244,3 +245,3 @@ void DocumentList::reloadAppLnks() - if ( d->sendAppLnks && d->serverGui ) + if ( d->sendAppLnks && d->serverGui ) d->serverGui->applicationScanningProgress( 100 ); @@ -265,3 +266,3 @@ void DocumentList::linkChanged( QString arg ) - if ( arg.isNull() || Global::isAppLnkFileName( arg ) ) { + if ( arg.isNull() || Opie::Global::isAppLnkFileName( arg ) ) { reloadAppLnks(); @@ -274,3 +275,3 @@ void DocumentList::linkChanged( QString arg ) ++it; - if ( ( doc->linkFileKnown() && doc->linkFile() == arg ) + if ( ( doc->linkFileKnown() && doc->linkFile() == arg ) || ( doc->fileKnown() && doc->file() == arg ) ) { @@ -458,4 +459,4 @@ DocumentListPrivate::~DocumentListPrivate() { - for ( int i = 0; i < MAX_SEARCH_DEPTH; i++ ) - if ( listDirs[i] ) + for ( int i = 0; i < MAX_SEARCH_DEPTH; i++ ) + if ( listDirs[i] ) delete listDirs[i]; @@ -624,3 +625,3 @@ const DocLnk *DocumentListPrivate::iterate() iterationI++; - if ( serverGui ) + if ( serverGui ) serverGui->documentScanningProgress( 75 + (25*iterationI)/iterationCount ); |