From: Anne-Marie Mahfouf Date: Mon, 20 Feb 2006 21:14:21 +0000 (+0000) Subject: KNotifyClient is deprecated - use of KNotification instead X-Git-Tag: v3.80.2~161 X-Git-Url: https://git.rmz.fi/?a=commitdiff_plain;h=bde5e974035e2576789c083bba74eb77726dcea8;p=libqmvoc.git KNotifyClient is deprecated - use of KNotification instead svn path=/trunk/KDE/kdeedu/libkdeedu/; revision=511768 --- diff --git a/extdate/extdatepicker.cpp b/extdate/extdatepicker.cpp index 43e80c0..2ae010c 100644 --- a/extdate/extdatepicker.cpp +++ b/extdate/extdatepicker.cpp @@ -39,7 +39,7 @@ #include #include #include -#include +#include #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; } } diff --git a/extdate/extdatetbl.cpp b/extdate/extdatetbl.cpp index 391f0fa..d4d7e6d 100644 --- a/extdate/extdatetbl.cpp +++ b/extdate/extdatetbl.cpp @@ -45,7 +45,7 @@ #include #include -#include +#include #include "k3popupmenu.h" #include #include @@ -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;