author | mickeyl <mickeyl> | 2003-05-07 21:11:29 (UTC) |
---|---|---|
committer | mickeyl <mickeyl> | 2003-05-07 21:11:29 (UTC) |
commit | 8344bbd32ca4ebfef275746de29cb3109b013cb6 (patch) (unidiff) | |
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) (ignore 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 | |||
@@ -90,6 +90,22 @@ void ProtocolListView::addProtocol( const QString& name ) | |||
90 | combo->insertItem( "KeySound" ); | 90 | combo->insertItem( "KeySound" ); |
91 | combo->insertItem( "LedOn" ); | 91 | combo->insertItem( "LedOn" ); |
92 | combo->insertItem( "LedOff" ); | 92 | combo->insertItem( "LedOff" ); |
93 | combo->insertItem( "LogMessage" ); | ||
94 | combo->insertItem( "MessageBox" ); | ||
93 | } | 95 | } |
94 | } | 96 | } |
95 | 97 | ||
98 | |||
99 | bool ProtocolListView::isProtocolChecked( const QString& name ) | ||
100 | { | ||
101 | QCheckBox* box = (QCheckBox*) child( (const char*) name ); | ||
102 | return ( box && box->isOn() ); | ||
103 | } | ||
104 | |||
105 | |||
106 | QString ProtocolListView::protocolAction( const QString& name ) const | ||
107 | { | ||
108 | //FIXME | ||
109 | } | ||
110 | |||
111 | |||