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

List:       kde-commits
Subject:    kdepim/knode
From:       Brad Hards <bradh () frogmouth ! net>
Date:       2003-09-08 9:59:50
[Download RAW message or body]

CVS commit by bhards: 

Add DCOP interface to expire articles in all groups.
Cleared by Zack.
[Yep, this is my first code commit]
[Yep, I'm nervous! ]


  M +5 -0      knmainwidget.cpp   1.8
  M +2 -0      knmainwidget.h   1.6
  M +5 -0      knodeiface.h   1.2


--- kdepim/knode/knmainwidget.cpp  #1.7:1.8
@@ -2376,4 +2376,9 @@ void KNMainWidget::fetchHeaders()
 }
 
+void KNMainWidget::expireArticles()
+{
+  slotAccExpireAll();
+}
+
 // Open the editor to post a new article in the selected group
 void KNMainWidget::postArticle()

--- kdepim/knode/knmainwidget.h  #1.5:1.6
@@ -142,4 +142,6 @@ public:
   /// Fetch all the new article headers
   virtual void fetchHeaders();
+  /// Expire articles in all groups
+  virtual void expireArticles();
 
   //end dcop interface

--- kdepim/knode/knodeiface.h  #1.1:1.2
@@ -135,4 +135,9 @@ k_dcop:
    */
   virtual void fetchHeaders() = 0;
+
+  /**
+   * Expire articles in all groups
+   */
+  virtual void expireArticles() = 0;
 };
 


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

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