Diffstat (limited to 'noncore/net/wellenreiter/gui/protolistview.cpp') (more/less context) (show whitespace changes)
-rw-r--r-- | noncore/net/wellenreiter/gui/protolistview.cpp | 16 |
1 files changed, 16 insertions, 0 deletions
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 @@ -81,15 +81,31 @@ void ProtocolListView::addProtocol( const QString& name ) if ( actions ) { QComboBox* combo = new QComboBox( hbox, (const char*) name ); #ifdef QWS combo->setFixedWidth( 75 ); #endif combo->insertItem( "Ignore" ); combo->insertItem( "TouchSound" ); combo->insertItem( "AlarmSound" ); 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 +} + + |