diff --git a/klipper/configdialog.cpp b/klipper/configdialog.cpp --- a/klipper/configdialog.cpp +++ b/klipper/configdialog.cpp @@ -343,37 +343,6 @@ m_shortcutsWidget->allDefault(); } -// it does not make sense to port / enable this since KRegExpEditor is in a very bad shape. just keep this -// code here because it will probably help at a later point to port it when KRegExpEditor is again usable. -// 2007-10-20, uwolfer -#if 0 -void ListView::rename( Q3ListViewItem* item, int c ) -{ - bool gui = false; - if ( item->childCount() != 0 && c == 0) { - // This is the regular expression - if ( _configWidget->useGUIRegExpEditor() ) { - gui = true; - } - } - - if ( gui ) { - if ( ! _regExpEditor ) - _regExpEditor = KServiceTypeTrader::createInstanceFromQuery( "KRegExpEditor/KRegExpEditor", QString(), this ); - KRegExpEditorInterface *iface = qobject_cast(_regExpEditor); - - Q_ASSERT( iface ); - iface->setRegExp( item->text( 0 ) ); - - bool ok = _regExpEditor->exec(); - if ( ok ) - item->setText( 0, iface->regExp() ); - } - else - K3ListView::rename( item ,c ); -} -#endif - AdvancedWidget::AdvancedWidget( QWidget *parent ) : QWidget(parent) {