author | mickeyl <mickeyl> | 2003-05-07 21:11:29 (UTC) |
---|---|---|
committer | mickeyl <mickeyl> | 2003-05-07 21:11:29 (UTC) |
commit | 8344bbd32ca4ebfef275746de29cb3109b013cb6 (patch) (side-by-side diff) | |
tree | 7edd595d9acda25f7e752a38903f6102cbb55986 /noncore/net/wellenreiter/gui/protolistview.cpp | |
parent | 9e1040d8d3646c03e09fb3c55695e2df7f19420b (diff) | |
download | opie-8344bbd32ca4ebfef275746de29cb3109b013cb6.zip opie-8344bbd32ca4ebfef275746de29cb3109b013cb6.tar.gz opie-8344bbd32ca4ebfef275746de29cb3109b013cb6.tar.bz2 |
start with protocol event handling stuff
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 @@ -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 +} + + |