Commit 328312c3 authored by Laurent Montel's avatar Laurent Montel 😁

not implemented => remove it

parent 9e7f963b
...@@ -222,7 +222,6 @@ AlarmDialog::AlarmDialog( const Akonadi::ETMCalendar::Ptr &calendar, QWidget *pa ...@@ -222,7 +222,6 @@ AlarmDialog::AlarmDialog( const Akonadi::ETMCalendar::Ptr &calendar, QWidget *pa
SLOT(update()) ); SLOT(update()) );
connect( mIncidenceTree, SIGNAL(itemDoubleClicked(QTreeWidgetItem*,int)), connect( mIncidenceTree, SIGNAL(itemDoubleClicked(QTreeWidgetItem*,int)),
SLOT(edit()) ); SLOT(edit()) );
connect( mIncidenceTree, SIGNAL(customContextMenuRequested(QPoint)), SLOT(popupItemMenu(QPoint)) );
mDetailView = new CalendarSupport::IncidenceViewer( mCalendar.data(), topBox ); mDetailView = new CalendarSupport::IncidenceViewer( mCalendar.data(), topBox );
QString s; QString s;
...@@ -837,20 +836,6 @@ void AlarmDialog::update() ...@@ -837,20 +836,6 @@ void AlarmDialog::update()
} }
} }
void AlarmDialog::popupItemMenu( const QPoint &point )
{
QTreeWidgetItem *item = mIncidenceTree->itemAt( point );
if ( !item ) {
return;
}
ReminderTreeItem *reminderItem = dynamic_cast<ReminderTreeItem *>( item );
if ( reminderItem ) {
Incidence::Ptr incidence = CalendarSupport::incidence( reminderItem->mIncidence );
}
}
void AlarmDialog::accept() void AlarmDialog::accept()
{ {
if ( activeCount() == 0 ) { if ( activeCount() == 0 ) {
......
...@@ -94,7 +94,6 @@ class AlarmDialog : public KDialog ...@@ -94,7 +94,6 @@ class AlarmDialog : public KDialog
private Q_SLOTS: private Q_SLOTS:
void update(); void update();
void popupItemMenu( const QPoint &point );
protected: protected:
void keyPressEvent( QKeyEvent *e ); void keyPressEvent( QKeyEvent *e );
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment