summaryrefslogtreecommitdiff
path: root/noncore/net/wellenreiter/gui/protolistview.cpp
Unidiff
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
@@ -81,15 +81,31 @@ void ProtocolListView::addProtocol( const QString& name )
81 if ( actions ) 81 if ( actions )
82 { 82 {
83 QComboBox* combo = new QComboBox( hbox, (const char*) name ); 83 QComboBox* combo = new QComboBox( hbox, (const char*) name );
84 #ifdef QWS 84 #ifdef QWS
85 combo->setFixedWidth( 75 ); 85 combo->setFixedWidth( 75 );
86 #endif 86 #endif
87 combo->insertItem( "Ignore" ); 87 combo->insertItem( "Ignore" );
88 combo->insertItem( "TouchSound" ); 88 combo->insertItem( "TouchSound" );
89 combo->insertItem( "AlarmSound" ); 89 combo->insertItem( "AlarmSound" );
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
99bool ProtocolListView::isProtocolChecked( const QString& name )
100{
101 QCheckBox* box = (QCheckBox*) child( (const char*) name );
102 return ( box && box->isOn() );
103}
104
105
106QString ProtocolListView::protocolAction( const QString& name ) const
107{
108 //FIXME
109}
110
111