]> Git trees. - libqmvoc.git/commitdiff
KNotifyClient is deprecated - use of KNotification instead
authorAnne-Marie Mahfouf <annma@kde.org>
Mon, 20 Feb 2006 21:14:21 +0000 (21:14 +0000)
committerAnne-Marie Mahfouf <annma@kde.org>
Mon, 20 Feb 2006 21:14:21 +0000 (21:14 +0000)
svn path=/trunk/KDE/kdeedu/libkdeedu/; revision=511768

extdate/extdatepicker.cpp
extdate/extdatetbl.cpp

index 43e80c0f36855d3f40c60a8235e103a5dad1d4eb..2ae010c41762ad64ce42b1bab7cdf47d616ea9b4 100644 (file)
@@ -39,7 +39,7 @@
 #include <kiconloader.h>
 #include <ktoolbar.h>
 #include <kdebug.h>
-#include <knotifyclient.h>
+#include <knotification.h>
 
 #include "extdatepicker.h"
 #include "extdatetbl.h"
@@ -409,7 +409,7 @@ ExtDatePicker::selectYearClicked()
       // ----- set this month
       setDate(date);
     } else {
-      KNotifyClient::beep();
+      KNotification::beep();
     }
   delete popup;
 }
@@ -441,7 +441,7 @@ ExtDatePicker::lineEnterPressed()
         emit(dateEntered(temp));
         setDate(temp);
     } else {
-      KNotifyClient::beep();
+      KNotification::beep();
       kDebug(298) << "ExtDatePicker::lineEnterPressed: invalid date entered." << endl;
     }
 }
index 391f0faae3345584b335984a93de9eb4e46dd820..d4d7e6d1e425831f294d46dc2fa1e2005cb88cb9 100644 (file)
@@ -45,7 +45,7 @@
 
 #include <kapplication.h>
 #include <kdebug.h>
-#include <knotifyclient.h>
+#include <knotification.h>
 #include "k3popupmenu.h"
 #include <QPainter>
 #include <Q3Dict>
@@ -366,7 +366,7 @@ ExtDateTable::keyPressEvent( QKeyEvent *e )
         break;
     }
 
-    KNotifyClient::beep();
+    KNotification::beep();
 }
 
 void
@@ -421,7 +421,7 @@ ExtDateTable::contentsMousePressEvent(QMouseEvent *e)
     }
   if(!isEnabled())
     {
-      KNotifyClient::beep();
+      KNotification::beep();
       return;
     }
 
@@ -597,7 +597,7 @@ ExtDateInternalWeekSelector::weekEnteredSlot()
   week=text().toInt(&ok);
   if(!ok)
     {
-      KNotifyClient::beep();
+      KNotification::beep();
       return;
     }
   result=week;
@@ -731,7 +731,7 @@ ExtDateInternalMonthPicker::contentsMousePressEvent(QMouseEvent *e)
 {
   if(!isEnabled() || e->button() != Qt::LeftButton)
     {
-      KNotifyClient::beep();
+      KNotification::beep();
       return;
     }
   // -----
@@ -853,14 +853,14 @@ ExtDateInternalYearSelector::yearEnteredSlot()
   year=text().toInt(&ok);
   if(!ok)
     {
-      KNotifyClient::beep();
+      KNotification::beep();
       return;
     }
   //date.setYMD(year, 1, 1);
   d->calendar->setYMD(date, year, 1, 1);
   if(!date.isValid())
     {
-      KNotifyClient::beep();
+      KNotification::beep();
       return;
     }
   result=year;