summaryrefslogtreecommitdiff
path: root/noncore/net/wellenreiter/gui/protolistview.cpp
authormickeyl <mickeyl>2003-05-07 21:53:35 (UTC)
committer mickeyl <mickeyl>2003-05-07 21:53:35 (UTC)
commit3d150d3dceb6f66930d487958af95a169462ea84 (patch) (side-by-side diff)
treef93c5754689afebb5be8e2affa57517a4bb4a825 /noncore/net/wellenreiter/gui/protolistview.cpp
parent8344bbd32ca4ebfef275746de29cb3109b013cb6 (diff)
downloadopie-3d150d3dceb6f66930d487958af95a169462ea84.zip
opie-3d150d3dceb6f66930d487958af95a169462ea84.tar.gz
opie-3d150d3dceb6f66930d487958af95a169462ea84.tar.bz2
first half of event system completed
Diffstat (limited to 'noncore/net/wellenreiter/gui/protolistview.cpp') (more/less context) (ignore whitespace changes)
-rw-r--r--noncore/net/wellenreiter/gui/protolistview.cpp12
1 files changed, 9 insertions, 3 deletions
diff --git a/noncore/net/wellenreiter/gui/protolistview.cpp b/noncore/net/wellenreiter/gui/protolistview.cpp
index 05ff5e7..d4b0dfe 100644
--- a/noncore/net/wellenreiter/gui/protolistview.cpp
+++ b/noncore/net/wellenreiter/gui/protolistview.cpp
@@ -103,9 +103,15 @@ bool ProtocolListView::isProtocolChecked( const QString& name )
}
-QString ProtocolListView::protocolAction( const QString& name ) const
+QString ProtocolListView::protocolAction( const QString& name )
{
- //FIXME
+ //QObject * child ( const char * objName, const char * inheritsClass = 0,
+ // bool recursiveSearch = TRUE )
+
+ QComboBox* combo = (QComboBox*) child( (const char*) name, "QComboBox" );
+ if ( combo )
+ return combo->currentText();
+ else
+ return "<unknown>";
}
-