[prev in list] [next in list] [prev in thread] [next in thread]
List: kde-commits
Subject: branches/KDE/4.0/kdelibs/kfile
From: Laurent Montel <montel () kde ! org>
Date: 2008-01-06 16:06:39
Message-ID: 1199635599.089051.27700.nullmailer () svn ! kde ! org
[Download RAW message or body]
SVN commit 757952 by mlaurent:
Backport: don't use deprecated signal
M +3 -3 kfilewidget.cpp
--- branches/KDE/4.0/kdelibs/kfile/kfilewidget.cpp #757951:757952
@@ -392,7 +392,7 @@
// the Location label/edit
d->locationLabel = new QLabel(i18n("&Location:"), this);
d->locationEdit = new KUrlComboBox(KUrlComboBox::Files, true, this);
- connect( d->locationEdit, SIGNAL( textChanged( const QString& ) ),
+ connect( d->locationEdit, SIGNAL( editTextChanged( const QString& ) ),
SLOT( _k_slotLocationChanged( const QString& )) );
d->updateLocationWhatsThis();
@@ -989,10 +989,10 @@
// setCurrentItem() will cause textChanged() being emitted,
// so slotLocationChanged() will be called. Make sure we don't clear
// the KDirOperator's view-selection in there
- QObject::disconnect( locationEdit, SIGNAL( textChanged( const QString& ) ),
+ QObject::disconnect( locationEdit, SIGNAL( editTextChanged( const QString& ) ),
q, SLOT( _k_slotLocationChanged( const QString& ) ) );
locationEdit->setCurrentIndex( 0 );
- QObject::connect( locationEdit, SIGNAL( textChanged( const QString& ) ),
+ QObject::connect( locationEdit, SIGNAL( editTextChanged ( const QString& ) ),
q, SLOT( _k_slotLocationChanged( const QString& )) );
locationEdit->setEditText( text );
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic