[prev in list] [next in list] [prev in thread] [next in thread] 

List:       kde-commits
Subject:    playground/network/smb4k/core
From:       Alexander Reinholdt <alexander.reinholdt () kdemail ! net>
Date:       2011-02-12 13:55:04
Message-ID: 20110212135504.B8760AC8BE () svn ! kde ! org
[Download RAW message or body]

SVN commit 1220008 by areinholdt:

- Added global job tracker.
- Updated copyright statements.


 M  +9 -2      smb4kglobal.cpp  
 M  +9 -2      smb4kglobal.h  
 M  +2 -2      smb4kglobal_p.cpp  
 M  +10 -2     smb4kglobal_p.h  


--- trunk/playground/network/smb4k/core/smb4kglobal.cpp #1220007:1220008
@@ -2,8 +2,8 @@
     smb4kglobal  -  This is the global namespace for Smb4K.
                              -------------------
     begin                : Sa Apr 2 2005
-    copyright            : (C) 2005-2009 by Alexander Reinholdt
-    email                : dustpuppy@users.berlios.de
+    copyright            : (C) 2005-2011 by Alexander Reinholdt
+    email                : alexander.reinholdt@kdemail.net
  ***************************************************************************/
 
 /***************************************************************************
@@ -675,3 +675,10 @@
   }
 }
 
+
+KUiServerJobTracker *Smb4KGlobal::jobTracker()
+{
+  return &p.jobTracker;
+}
+
+
--- trunk/playground/network/smb4k/core/smb4kglobal.h #1220007:1220008
@@ -2,8 +2,8 @@
     smb4kglobal  -  This is the global namespace for Smb4K.
                              -------------------
     begin                : Sa Apr 2 2005
-    copyright            : (C) 2005-2009 by Alexander Reinholdt
-    email                : dustpuppy@users.berlios.de
+    copyright            : (C) 2005-2011 by Alexander Reinholdt
+    email                : alexander.reinholdt@kdemail.net
  ***************************************************************************/
 
 /***************************************************************************
@@ -32,6 +32,7 @@
 
 // KDE includes
 #include <kdemacros.h>
+#include <kuiserverjobtracker.h>
 
 // forward declarations
 class Smb4KWorkgroup;
@@ -319,6 +320,12 @@
    *                      application the share should be opened.
    */
   KDE_EXPORT void open( Smb4KShare *share, OpenWith openWith = FileManager );
+
+  /**
+   * This is Smb4K's global tracker for classes that inherit KJob and need a
+   * possibility to show their progress.
+   */
+  KDE_EXPORT KUiServerJobTracker *jobTracker();
 };
 
 #endif
--- trunk/playground/network/smb4k/core/smb4kglobal_p.cpp #1220007:1220008
@@ -3,8 +3,8 @@
     namespace.
                              -------------------
     begin                : Di Jul 24 2007
-    copyright            : (C) 2007-2008 by Alexander Reinholdt
-    email                : dustpuppy@users.berlios.de
+    copyright            : (C) 2007-2011 by Alexander Reinholdt
+    email                : alexander.reinholdt@kdemail.net
  ***************************************************************************/
 
 /***************************************************************************
--- trunk/playground/network/smb4k/core/smb4kglobal_p.h #1220007:1220008
@@ -3,8 +3,8 @@
     namespace.
                              -------------------
     begin                : Di Jul 24 2007
-    copyright            : (C) 2007-2008 by Alexander Reinholdt
-    email                : dustpuppy@users.berlios.de
+    copyright            : (C) 2007-2011 by Alexander Reinholdt
+    email                : alexander.reinholdt@kdemail.net
  ***************************************************************************/
 
 /***************************************************************************
@@ -31,6 +31,9 @@
 #include <config.h>
 #endif
 
+// KDE includes
+#include <kuiserverjobtracker.h>
+
 // Qt includes
 #include <QList>
 #include <QMap>
@@ -78,6 +81,11 @@
      * This is the global list of shares.
      */
     QList<Smb4KShare *> sharesList;
+
+    /**
+     * The job tracker for KJobs
+     */
+    KUiServerJobTracker jobTracker;
 };
 
 #endif
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic