diff options
author | Andrea Diamantini <adjam7@gmail.com> | 2010-04-30 11:23:37 +0200 |
---|---|---|
committer | Andrea Diamantini <adjam7@gmail.com> | 2010-04-30 11:23:37 +0200 |
commit | c896cc340d7e6e0878b3249c5792e6d88a12cf42 (patch) | |
tree | fd0a7a61ff1d07f301f2188de5cb6fa473134897 /src/bookmarks/bookmarkstreemodel.h | |
parent | A tiny improvement in the error page, showing a fat icon.. :) (diff) | |
download | rekonq-c896cc340d7e6e0878b3249c5792e6d88a12cf42.tar.xz |
A coding style round
Diffstat (limited to 'src/bookmarks/bookmarkstreemodel.h')
-rw-r--r-- | src/bookmarks/bookmarkstreemodel.h | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/src/bookmarks/bookmarkstreemodel.h b/src/bookmarks/bookmarkstreemodel.h index b312ab2d..2cb78770 100644 --- a/src/bookmarks/bookmarkstreemodel.h +++ b/src/bookmarks/bookmarkstreemodel.h @@ -43,10 +43,10 @@ class BtmItem public: BtmItem(const KBookmark &bm); ~BtmItem(); - QVariant data( int role = Qt::DisplayRole ) const; + QVariant data(int role = Qt::DisplayRole) const; int row() const; int childCount() const; - BtmItem* child( int n ); + BtmItem* child(int n); BtmItem* parent() const; void appendChild(BtmItem *child); void clear(); @@ -78,10 +78,10 @@ public: virtual QModelIndex parent(const QModelIndex &index) const; virtual QVariant data(const QModelIndex &index, int role) const; - virtual QStringList mimeTypes () const; + virtual QStringList mimeTypes() const; virtual bool dropMimeData(const QMimeData * data, Qt::DropAction action, int row, int column, const QModelIndex & parent); - virtual Qt::DropActions supportedDropActions () const; - virtual QMimeData *mimeData( const QModelIndexList & indexes ) const; + virtual Qt::DropActions supportedDropActions() const; + virtual QMimeData *mimeData(const QModelIndexList & indexes) const; private slots: void bookmarksChanged(); @@ -96,7 +96,7 @@ private: void resetModel(); void setRoot(KBookmarkGroup bmg); - void populate( BtmItem *node, KBookmarkGroup bmg); + void populate(BtmItem *node, KBookmarkGroup bmg); KBookmark bookmarkForIndex(const QModelIndex index) const; }; |