From 8344bbd32ca4ebfef275746de29cb3109b013cb6 Mon Sep 17 00:00:00 2001 From: mickeyl Date: Wed, 07 May 2003 21:11:29 +0000 Subject: start with protocol event handling stuff --- (limited to 'noncore/net/wellenreiter/gui/protolistview.cpp') diff --git a/noncore/net/wellenreiter/gui/protolistview.cpp b/noncore/net/wellenreiter/gui/protolistview.cpp index 8b86072..05ff5e7 100644 --- a/noncore/net/wellenreiter/gui/protolistview.cpp +++ b/noncore/net/wellenreiter/gui/protolistview.cpp @@ -90,6 +90,22 @@ void ProtocolListView::addProtocol( const QString& name ) combo->insertItem( "KeySound" ); combo->insertItem( "LedOn" ); combo->insertItem( "LedOff" ); + combo->insertItem( "LogMessage" ); + combo->insertItem( "MessageBox" ); } } + +bool ProtocolListView::isProtocolChecked( const QString& name ) +{ + QCheckBox* box = (QCheckBox*) child( (const char*) name ); + return ( box && box->isOn() ); +} + + +QString ProtocolListView::protocolAction( const QString& name ) const +{ + //FIXME +} + + -- cgit v0.9.0.2