gnunet-svn
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[GNUnet-SVN] r36657 - in gnunet-qt/secushare: core/gnunet models utils


From: gnunet
Subject: [GNUnet-SVN] r36657 - in gnunet-qt/secushare: core/gnunet models utils
Date: Thu, 12 Nov 2015 19:30:44 +0100

Author: tg
Date: 2015-11-12 19:30:43 +0100 (Thu, 12 Nov 2015)
New Revision: 36657

Modified:
   gnunet-qt/secushare/core/gnunet/gnunet.cpp
   gnunet-qt/secushare/models/IdentityModel.cpp
   gnunet-qt/secushare/models/PlacesModel.cpp
   gnunet-qt/secushare/utils/helpers.cpp
Log:
indent fixes

Modified: gnunet-qt/secushare/core/gnunet/gnunet.cpp
===================================================================
--- gnunet-qt/secushare/core/gnunet/gnunet.cpp  2015-11-12 18:30:41 UTC (rev 
36656)
+++ gnunet-qt/secushare/core/gnunet/gnunet.cpp  2015-11-12 18:30:43 UTC (rev 
36657)
@@ -201,7 +201,7 @@
 
 
 GNUNET_PeerIdentity *
-GNUNet::myPeer () const const
+GNUNet::myPeer () const
 {
   return m_myPeer;
 }

Modified: gnunet-qt/secushare/models/IdentityModel.cpp
===================================================================
--- gnunet-qt/secushare/models/IdentityModel.cpp        2015-11-12 18:30:41 UTC 
(rev 36656)
+++ gnunet-qt/secushare/models/IdentityModel.cpp        2015-11-12 18:30:43 UTC 
(rev 36657)
@@ -37,7 +37,7 @@
 
 
 int
-IdentityModel::rowCount (const QModelIndex & parent) const const
+IdentityModel::rowCount (const QModelIndex & parent) const
 {
   Q_UNUSED (parent);
   return m_data.size () + 1;    // PLus one is because the last one is a 
"<CREATE>"
@@ -52,7 +52,7 @@
 
 
 QVariant
-IdentityModel::data (const QModelIndex & index, int role) const const
+IdentityModel::data (const QModelIndex & index, int role) const
 {
   if (index.row () < 0 || index.row () > m_data.count ())
     return QVariant ();
@@ -77,7 +77,7 @@
 }
 
 QHash < int, QByteArray >
-IdentityModel::roleNames () const const
+IdentityModel::roleNames () const
 {
   QHash < int, QByteArray > roles;
 

Modified: gnunet-qt/secushare/models/PlacesModel.cpp
===================================================================
--- gnunet-qt/secushare/models/PlacesModel.cpp  2015-11-12 18:30:41 UTC (rev 
36656)
+++ gnunet-qt/secushare/models/PlacesModel.cpp  2015-11-12 18:30:43 UTC (rev 
36657)
@@ -115,7 +115,7 @@
 
 
 int
-PlacesModel::rowCount (const QModelIndex & parent) const const
+PlacesModel::rowCount (const QModelIndex & parent) const
 {
   Q_UNUSED (parent);
   return m_data.size ();
@@ -130,7 +130,7 @@
 
 
 QVariant
-PlacesModel::data (const QModelIndex & index, int role) const const
+PlacesModel::data (const QModelIndex & index, int role) const
 {
   if (index.row () < 0 || index.row () >= m_data.count ())
     return QVariant ();
@@ -157,7 +157,7 @@
 
 
 QHash < int, QByteArray >
-PlacesModel::roleNames () const const
+PlacesModel::roleNames () const
 {
   QHash < int, QByteArray > roles;
 

Modified: gnunet-qt/secushare/utils/helpers.cpp
===================================================================
--- gnunet-qt/secushare/utils/helpers.cpp       2015-11-12 18:30:41 UTC (rev 
36656)
+++ gnunet-qt/secushare/utils/helpers.cpp       2015-11-12 18:30:43 UTC (rev 
36657)
@@ -88,7 +88,7 @@
 
 
 QString
-Helpers::importLocation () const const
+Helpers::importLocation () const
 {
   QString imageLocation =
       QStandardPaths::writableLocation (QStandardPaths::TempLocation);




reply via email to

[Prev in Thread] Current Thread [Next in Thread]