summaryrefslogtreecommitdiff
path: root/noncore/net/wellenreiter/gui/protolistview.cpp
Side-by-side diff
Diffstat (limited to 'noncore/net/wellenreiter/gui/protolistview.cpp') (more/less context) (ignore whitespace changes)
-rw-r--r--noncore/net/wellenreiter/gui/protolistview.cpp16
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
@@ -87,9 +87,25 @@ void ProtocolListView::addProtocol( const QString& name )
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
+}
+
+