Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
openSUSE:Evergreen:11.1:kernel-2.6.32
kdebase3
konq-combo-editor.diff
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File konq-combo-editor.diff of Package kdebase3
--- konqueror/konq_combo.h 2007/07/13 09:31:21 1.1 +++ konqueror/konq_combo.h 2007/07/13 09:31:26 @@ -87,6 +87,7 @@ private slots: void slotCleared(); + void slotRemoved( const QString& item ); void slotSetIcon( int index ); void slotActivated( const QString& text ); --- konqueror/konq_combo.cc 2007/07/13 09:31:19 1.1 +++ konqueror/konq_combo.cc 2007/07/13 09:31:26 @@ -128,6 +128,9 @@ connect( this, SIGNAL(activated( const QString& )), SLOT(slotActivated( const QString& )) ); + setHistoryEditorEnabled( true ); + connect( this, SIGNAL(removed( const QString&) ), SLOT(slotRemoved( const QString& )) ); + if ( !kapp->dcopClient()->isAttached() ) kapp->dcopClient()->attach(); } @@ -503,6 +506,15 @@ kapp->dcopClient()->send( "konqueror*", "KonquerorIface", "comboCleared(QCString)", data); } +void KonqCombo::slotRemoved( const QString& item ) +{ + QByteArray data; + QDataStream s( data, IO_WriteOnly ); + s << item << kapp->dcopClient()->defaultObject(); + kapp->dcopClient()->send( "konqueror*", "KonquerorIface", + "removeFromCombo(QString,QCString)", data); +} + void KonqCombo::removeURL( const QString& url ) { setUpdatesEnabled( false );
Locations
Projects
Search
Status Monitor
Help
OpenBuildService.org
Documentation
API Documentation
Code of Conduct
Contact
Support
@OBShq
Terms
openSUSE Build Service is sponsored by
The Open Build Service is an
openSUSE project
.
Sign Up
Log In
Places
Places
All Projects
Status Monitor