[prev in list] [next in list] [prev in thread] [next in thread]
List: kde-commits
Subject: KDE/kdebase/apps/keditbookmarks
From: Stephen Leaf <smileaf () smileaf ! org>
Date: 2007-05-16 18:52:57
Message-ID: 1179341577.257710.14828.nullmailer () svn ! kde ! org
[Download RAW message or body]
SVN commit 665379 by smileaf:
EBN Fixes
M +1 -1 commands.cpp
M +1 -1 commands.h
M +2 -2 dcop.cpp
M +1 -1 dcop.h
M +1 -1 toplevel.cpp
M +1 -1 toplevel.h
--- trunk/KDE/kdebase/apps/keditbookmarks/commands.cpp #665378:665379
@@ -231,7 +231,7 @@
BookmarkModel::self()->emitDataChanged(bk);
}
-void EditCommand::modify(QString newValue)
+void EditCommand::modify(const QString &newValue)
{
if(mCol == 1)
{
--- trunk/KDE/kdebase/apps/keditbookmarks/commands.h #665378:665379
@@ -119,7 +119,7 @@
static QString getNodeText(KBookmark bk, const QStringList &nodehier);
static QString setNodeText(KBookmark bk, const QStringList &nodehier,
const QString newValue);
- void modify(QString newValue);
+ void modify(const QString &newValue);
private:
QString mAddress;
int mCol;
--- trunk/KDE/kdebase/apps/keditbookmarks/dcop.cpp #665378:665379
@@ -36,9 +36,9 @@
this, SLOT(slotDcopUpdatedAccessMetadata(QString,QString)) );
}
-void KBookmarkEditorIface::slotDcopUpdatedAccessMetadata(QString filename, QString url) {
+void KBookmarkEditorIface::slotDcopUpdatedAccessMetadata(const QString &filename, const QString &url) {
// evil hack, konqi gets updates by way of historymgr,
- // therefore konqi does'nt want "save" notification,
+ // therefore konqi doesn't want "save" notification,
// unfortunately to stop konqi getting it is difficult
// and probably not needed until more notifier events
// are added. therefore, we always updateaccessmetadata
--- trunk/KDE/kdebase/apps/keditbookmarks/dcop.h #665378:665379
@@ -29,7 +29,7 @@
public:
KBookmarkEditorIface();
private Q_SLOTS:
- void slotDcopUpdatedAccessMetadata(QString filename, QString url);
+ void slotDcopUpdatedAccessMetadata(const QString &filename, const QString &url);
};
#endif
--- trunk/KDE/kdebase/apps/keditbookmarks/toplevel.cpp #665378:665379
@@ -432,7 +432,7 @@
}
}
-void KEBApp::updateStatus(QString url)
+void KEBApp::updateStatus(const QString &url)
{
if(m_bkinfo->bookmark().url() == url)
m_bkinfo->updateStatus();
--- trunk/KDE/kdebase/apps/keditbookmarks/toplevel.h #665378:665379
@@ -111,7 +111,7 @@
void reset(const QString & caption, const QString & bookmarksFileName);
void updateActions();
- void updateStatus(QString url);
+ void updateStatus(const QString &url);
void setActionsEnabled(SelcAbilities);
void setCancelFavIconUpdatesEnabled(bool);
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic