diff options
| author | Oscar Blumberg <[email protected]> | 2007-02-22 16:45:53 +0000 |
|---|---|---|
| committer | Oscar Blumberg <[email protected]> | 2007-02-22 16:45:53 +0000 |
| commit | cefcbf0ef0e960db68021715d1c600b901be8501 (patch) | |
| tree | b225829718a48f7920fb14578460fcdb6aae242a /src/dolphinapplication.cpp | |
| parent | bf50ced73473a225d681de6b62bc05571d969664 (diff) | |
* Starts to add Nepomuk supports to dolphin (currently, only annotations are supported)
* Little changes in InfoSidebarPage (no more multiple label for infos & Q3Layout>QLayout)
* Support infos for multiple files (only total size, what else ?)
svn path=/trunk/KDE/kdebase/apps/; revision=636272
Diffstat (limited to 'src/dolphinapplication.cpp')
| -rw-r--r-- | src/dolphinapplication.cpp | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/src/dolphinapplication.cpp b/src/dolphinapplication.cpp index cad005630..b426ec1b8 100644 --- a/src/dolphinapplication.cpp +++ b/src/dolphinapplication.cpp @@ -20,6 +20,7 @@ #include "dolphinapplication.h" #include "dolphinmainwindow.h" +#include "metadataloader.h" #include <applicationadaptor.h> #include <kurl.h> @@ -55,6 +56,12 @@ DolphinMainWindow* DolphinApplication::createMainWindow() return mainWindow; } +MetadataLoader* DolphinApplication::metadataLoader() +{ + static MetadataLoader loader; + return &loader; +} + int DolphinApplication::openWindow(const QString& url) { DolphinMainWindow* win = createMainWindow(); @@ -62,6 +69,7 @@ int DolphinApplication::openWindow(const QString& url) win->activeView()->setUrl(KUrl(url)); } win->show(); + //TODO find how to raise a window (as if we've launched a new dolphin process) return win->getId(); } |
