gnunet-svn
[Top][All Lists]
Advanced

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

[GNUnet-SVN] r33453 - in gnunet-qt: . assets core core/gnunet core/ident


From: gnunet
Subject: [GNUnet-SVN] r33453 - in gnunet-qt: . assets core core/gnunet core/identity models preferences qml qml/images
Date: Sun, 1 Jun 2014 00:20:12 +0200

Author: bratao
Date: 2014-06-01 00:20:12 +0200 (Sun, 01 Jun 2014)
New Revision: 33453

Added:
   gnunet-qt/SecureShare.pro.user
   gnunet-qt/SecureShare.pro.user.16
   gnunet-qt/assets/
   gnunet-qt/assets/banner.png
   gnunet-qt/assets/icon.png
   gnunet-qt/core/
   gnunet-qt/core/gnunet/
   gnunet-qt/core/gnunet/gnunet.cpp
   gnunet-qt/core/gnunet/gnunet.h
   gnunet-qt/core/gnunet/gnunet_includes.h
   gnunet-qt/core/identity/
   gnunet-qt/core/identity/identityService.cpp
   gnunet-qt/core/identity/identityService.h
   gnunet-qt/core/place.cpp
   gnunet-qt/core/place.h
   gnunet-qt/core/psyccore.cpp
   gnunet-qt/core/psyccore.h
   gnunet-qt/deployment.pri
   gnunet-qt/main.cpp
   gnunet-qt/models/
   gnunet-qt/models/IdentityModel.cpp
   gnunet-qt/models/IdentityModel.h
   gnunet-qt/models/PlacesModel.cpp
   gnunet-qt/models/PlacesModel.h
   gnunet-qt/models/models.cpp
   gnunet-qt/models/models.h
   gnunet-qt/preferences/
   gnunet-qt/preferences/preferences.cpp
   gnunet-qt/preferences/preferences.h
   gnunet-qt/psyc.cpp
   gnunet-qt/psyc.h
   gnunet-qt/qml.qrc
   gnunet-qt/qml/
   gnunet-qt/qml/ConversationTab.qml
   gnunet-qt/qml/ConversationWindow.qml
   gnunet-qt/qml/Splash.qml
   gnunet-qt/qml/Splash.qml.autosave
   gnunet-qt/qml/images/
   gnunet-qt/qml/images/chat.png
   gnunet-qt/qml/images/person.png
   gnunet-qt/qml/main.qml
Log:
Initial Import of SecureShare/GNUnet social client

Added: gnunet-qt/SecureShare.pro.user
===================================================================
--- gnunet-qt/SecureShare.pro.user                              (rev 0)
+++ gnunet-qt/SecureShare.pro.user      2014-05-31 22:20:12 UTC (rev 33453)
@@ -0,0 +1,256 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE QtCreatorProject>
+<!-- Written by QtCreator 3.1.1, 2014-05-31T18:56:55. -->
+<qtcreator>
+ <data>
+  <variable>ProjectExplorer.Project.ActiveTarget</variable>
+  <value type="int">0</value>
+ </data>
+ <data>
+  <variable>ProjectExplorer.Project.EditorSettings</variable>
+  <valuemap type="QVariantMap">
+   <value type="bool" key="EditorConfiguration.AutoIndent">true</value>
+   <value type="bool" key="EditorConfiguration.AutoSpacesForTabs">false</value>
+   <value type="bool" 
key="EditorConfiguration.CamelCaseNavigation">true</value>
+   <valuemap type="QVariantMap" key="EditorConfiguration.CodeStyle.0">
+    <value type="QString" key="language">Cpp</value>
+    <valuemap type="QVariantMap" key="value">
+     <value type="QByteArray" key="CurrentPreferences">CppGlobal</value>
+    </valuemap>
+   </valuemap>
+   <valuemap type="QVariantMap" key="EditorConfiguration.CodeStyle.1">
+    <value type="QString" key="language">QmlJS</value>
+    <valuemap type="QVariantMap" key="value">
+     <value type="QByteArray" key="CurrentPreferences">QmlJSGlobal</value>
+    </valuemap>
+   </valuemap>
+   <value type="int" key="EditorConfiguration.CodeStyle.Count">2</value>
+   <value type="QByteArray" key="EditorConfiguration.Codec">UTF-8</value>
+   <value type="bool" key="EditorConfiguration.ConstrainTooltips">false</value>
+   <value type="int" key="EditorConfiguration.IndentSize">4</value>
+   <value type="bool" key="EditorConfiguration.KeyboardTooltips">false</value>
+   <value type="int" key="EditorConfiguration.MarginColumn">80</value>
+   <value type="bool" key="EditorConfiguration.MouseHiding">true</value>
+   <value type="bool" key="EditorConfiguration.MouseNavigation">true</value>
+   <value type="int" key="EditorConfiguration.PaddingMode">1</value>
+   <value type="bool" key="EditorConfiguration.ScrollWheelZooming">true</value>
+   <value type="bool" key="EditorConfiguration.ShowMargin">false</value>
+   <value type="int" key="EditorConfiguration.SmartBackspaceBehavior">0</value>
+   <value type="bool" key="EditorConfiguration.SpacesForTabs">true</value>
+   <value type="int" key="EditorConfiguration.TabKeyBehavior">0</value>
+   <value type="int" key="EditorConfiguration.TabSize">8</value>
+   <value type="bool" key="EditorConfiguration.UseGlobal">true</value>
+   <value type="int" key="EditorConfiguration.Utf8BomBehavior">1</value>
+   <value type="bool" key="EditorConfiguration.addFinalNewLine">true</value>
+   <value type="bool" key="EditorConfiguration.cleanIndentation">true</value>
+   <value type="bool" key="EditorConfiguration.cleanWhitespace">true</value>
+   <value type="bool" key="EditorConfiguration.inEntireDocument">false</value>
+  </valuemap>
+ </data>
+ <data>
+  <variable>ProjectExplorer.Project.PluginSettings</variable>
+  <valuemap type="QVariantMap">
+   <valuemap type="QVariantMap" key="ClangProjectSettings">
+    <value type="QString" key="CustomPchFile"></value>
+    <value type="int" key="PchUsage">1</value>
+   </valuemap>
+  </valuemap>
+ </data>
+ <data>
+  <variable>ProjectExplorer.Project.Target.0</variable>
+  <valuemap type="QVariantMap">
+   <value type="QString" 
key="ProjectExplorer.ProjectConfiguration.DefaultDisplayName">Qt 5.3.0 
(Qt32-5.3)</value>
+   <value type="QString" 
key="ProjectExplorer.ProjectConfiguration.DisplayName">Qt 5.3.0 
(Qt32-5.3)</value>
+   <value type="QString" 
key="ProjectExplorer.ProjectConfiguration.Id">{2df16ca3-6436-403d-92d4-5b6f5462a870}</value>
+   <value type="int" 
key="ProjectExplorer.Target.ActiveBuildConfiguration">0</value>
+   <value type="int" 
key="ProjectExplorer.Target.ActiveDeployConfiguration">0</value>
+   <value type="int" 
key="ProjectExplorer.Target.ActiveRunConfiguration">0</value>
+   <valuemap type="QVariantMap" 
key="ProjectExplorer.Target.BuildConfiguration.0">
+    <value type="QString" 
key="ProjectExplorer.BuildConfiguration.BuildDirectory">C:/GSOC/build-SecureShare-Qt_5_3_0_Qt32_5_3-Debug</value>
+    <valuemap type="QVariantMap" 
key="ProjectExplorer.BuildConfiguration.BuildStepList.0">
+     <valuemap type="QVariantMap" key="ProjectExplorer.BuildStepList.Step.0">
+      <value type="bool" key="ProjectExplorer.BuildStep.Enabled">true</value>
+      <value type="QString" 
key="ProjectExplorer.ProjectConfiguration.DefaultDisplayName">qmake</value>
+      <value type="QString" 
key="ProjectExplorer.ProjectConfiguration.DisplayName"></value>
+      <value type="QString" 
key="ProjectExplorer.ProjectConfiguration.Id">QtProjectManager.QMakeBuildStep</value>
+      <value type="bool" 
key="QtProjectManager.QMakeBuildStep.LinkQmlDebuggingLibrary">false</value>
+      <value type="bool" 
key="QtProjectManager.QMakeBuildStep.LinkQmlDebuggingLibraryAuto">true</value>
+      <value type="QString" 
key="QtProjectManager.QMakeBuildStep.QMakeArguments"></value>
+      <value type="bool" 
key="QtProjectManager.QMakeBuildStep.QMakeForced">false</value>
+     </valuemap>
+     <valuemap type="QVariantMap" key="ProjectExplorer.BuildStepList.Step.1">
+      <value type="bool" key="ProjectExplorer.BuildStep.Enabled">true</value>
+      <value type="QString" 
key="ProjectExplorer.ProjectConfiguration.DefaultDisplayName">Make</value>
+      <value type="QString" 
key="ProjectExplorer.ProjectConfiguration.DisplayName"></value>
+      <value type="QString" 
key="ProjectExplorer.ProjectConfiguration.Id">Qt4ProjectManager.MakeStep</value>
+      <valuelist type="QVariantList" 
key="Qt4ProjectManager.MakeStep.AutomaticallyAddedMakeArguments"/>
+      <value type="bool" key="Qt4ProjectManager.MakeStep.Clean">false</value>
+      <value type="QString" 
key="Qt4ProjectManager.MakeStep.MakeArguments"></value>
+      <value type="QString" 
key="Qt4ProjectManager.MakeStep.MakeCommand"></value>
+     </valuemap>
+     <value type="int" key="ProjectExplorer.BuildStepList.StepsCount">2</value>
+     <value type="QString" 
key="ProjectExplorer.ProjectConfiguration.DefaultDisplayName">Build</value>
+     <value type="QString" 
key="ProjectExplorer.ProjectConfiguration.DisplayName"></value>
+     <value type="QString" 
key="ProjectExplorer.ProjectConfiguration.Id">ProjectExplorer.BuildSteps.Build</value>
+    </valuemap>
+    <valuemap type="QVariantMap" 
key="ProjectExplorer.BuildConfiguration.BuildStepList.1">
+     <valuemap type="QVariantMap" key="ProjectExplorer.BuildStepList.Step.0">
+      <value type="bool" key="ProjectExplorer.BuildStep.Enabled">true</value>
+      <value type="QString" 
key="ProjectExplorer.ProjectConfiguration.DefaultDisplayName">Make</value>
+      <value type="QString" 
key="ProjectExplorer.ProjectConfiguration.DisplayName"></value>
+      <value type="QString" 
key="ProjectExplorer.ProjectConfiguration.Id">Qt4ProjectManager.MakeStep</value>
+      <valuelist type="QVariantList" 
key="Qt4ProjectManager.MakeStep.AutomaticallyAddedMakeArguments"/>
+      <value type="bool" key="Qt4ProjectManager.MakeStep.Clean">true</value>
+      <value type="QString" 
key="Qt4ProjectManager.MakeStep.MakeArguments">clean</value>
+      <value type="QString" 
key="Qt4ProjectManager.MakeStep.MakeCommand"></value>
+     </valuemap>
+     <value type="int" key="ProjectExplorer.BuildStepList.StepsCount">1</value>
+     <value type="QString" 
key="ProjectExplorer.ProjectConfiguration.DefaultDisplayName">Clean</value>
+     <value type="QString" 
key="ProjectExplorer.ProjectConfiguration.DisplayName"></value>
+     <value type="QString" 
key="ProjectExplorer.ProjectConfiguration.Id">ProjectExplorer.BuildSteps.Clean</value>
+    </valuemap>
+    <value type="int" 
key="ProjectExplorer.BuildConfiguration.BuildStepListCount">2</value>
+    <value type="bool" 
key="ProjectExplorer.BuildConfiguration.ClearSystemEnvironment">false</value>
+    <valuelist type="QVariantList" 
key="ProjectExplorer.BuildConfiguration.UserEnvironmentChanges"/>
+    <value type="QString" 
key="ProjectExplorer.ProjectConfiguration.DefaultDisplayName">Debug</value>
+    <value type="QString" 
key="ProjectExplorer.ProjectConfiguration.DisplayName"></value>
+    <value type="QString" 
key="ProjectExplorer.ProjectConfiguration.Id">Qt4ProjectManager.Qt4BuildConfiguration</value>
+    <value type="int" 
key="Qt4ProjectManager.Qt4BuildConfiguration.BuildConfiguration">2</value>
+    <value type="bool" 
key="Qt4ProjectManager.Qt4BuildConfiguration.UseShadowBuild">true</value>
+   </valuemap>
+   <valuemap type="QVariantMap" 
key="ProjectExplorer.Target.BuildConfiguration.1">
+    <value type="QString" 
key="ProjectExplorer.BuildConfiguration.BuildDirectory">C:/GSOC/build-SecureShare-Qt_5_3_0_Qt32_5_3-Release</value>
+    <valuemap type="QVariantMap" 
key="ProjectExplorer.BuildConfiguration.BuildStepList.0">
+     <valuemap type="QVariantMap" key="ProjectExplorer.BuildStepList.Step.0">
+      <value type="bool" key="ProjectExplorer.BuildStep.Enabled">true</value>
+      <value type="QString" 
key="ProjectExplorer.ProjectConfiguration.DefaultDisplayName">qmake</value>
+      <value type="QString" 
key="ProjectExplorer.ProjectConfiguration.DisplayName"></value>
+      <value type="QString" 
key="ProjectExplorer.ProjectConfiguration.Id">QtProjectManager.QMakeBuildStep</value>
+      <value type="bool" 
key="QtProjectManager.QMakeBuildStep.LinkQmlDebuggingLibrary">false</value>
+      <value type="bool" 
key="QtProjectManager.QMakeBuildStep.LinkQmlDebuggingLibraryAuto">true</value>
+      <value type="QString" 
key="QtProjectManager.QMakeBuildStep.QMakeArguments"></value>
+      <value type="bool" 
key="QtProjectManager.QMakeBuildStep.QMakeForced">false</value>
+     </valuemap>
+     <valuemap type="QVariantMap" key="ProjectExplorer.BuildStepList.Step.1">
+      <value type="bool" key="ProjectExplorer.BuildStep.Enabled">true</value>
+      <value type="QString" 
key="ProjectExplorer.ProjectConfiguration.DefaultDisplayName">Make</value>
+      <value type="QString" 
key="ProjectExplorer.ProjectConfiguration.DisplayName"></value>
+      <value type="QString" 
key="ProjectExplorer.ProjectConfiguration.Id">Qt4ProjectManager.MakeStep</value>
+      <valuelist type="QVariantList" 
key="Qt4ProjectManager.MakeStep.AutomaticallyAddedMakeArguments"/>
+      <value type="bool" key="Qt4ProjectManager.MakeStep.Clean">false</value>
+      <value type="QString" 
key="Qt4ProjectManager.MakeStep.MakeArguments"></value>
+      <value type="QString" 
key="Qt4ProjectManager.MakeStep.MakeCommand"></value>
+     </valuemap>
+     <value type="int" key="ProjectExplorer.BuildStepList.StepsCount">2</value>
+     <value type="QString" 
key="ProjectExplorer.ProjectConfiguration.DefaultDisplayName">Build</value>
+     <value type="QString" 
key="ProjectExplorer.ProjectConfiguration.DisplayName"></value>
+     <value type="QString" 
key="ProjectExplorer.ProjectConfiguration.Id">ProjectExplorer.BuildSteps.Build</value>
+    </valuemap>
+    <valuemap type="QVariantMap" 
key="ProjectExplorer.BuildConfiguration.BuildStepList.1">
+     <valuemap type="QVariantMap" key="ProjectExplorer.BuildStepList.Step.0">
+      <value type="bool" key="ProjectExplorer.BuildStep.Enabled">true</value>
+      <value type="QString" 
key="ProjectExplorer.ProjectConfiguration.DefaultDisplayName">Make</value>
+      <value type="QString" 
key="ProjectExplorer.ProjectConfiguration.DisplayName"></value>
+      <value type="QString" 
key="ProjectExplorer.ProjectConfiguration.Id">Qt4ProjectManager.MakeStep</value>
+      <valuelist type="QVariantList" 
key="Qt4ProjectManager.MakeStep.AutomaticallyAddedMakeArguments"/>
+      <value type="bool" key="Qt4ProjectManager.MakeStep.Clean">true</value>
+      <value type="QString" 
key="Qt4ProjectManager.MakeStep.MakeArguments">clean</value>
+      <value type="QString" 
key="Qt4ProjectManager.MakeStep.MakeCommand"></value>
+     </valuemap>
+     <value type="int" key="ProjectExplorer.BuildStepList.StepsCount">1</value>
+     <value type="QString" 
key="ProjectExplorer.ProjectConfiguration.DefaultDisplayName">Clean</value>
+     <value type="QString" 
key="ProjectExplorer.ProjectConfiguration.DisplayName"></value>
+     <value type="QString" 
key="ProjectExplorer.ProjectConfiguration.Id">ProjectExplorer.BuildSteps.Clean</value>
+    </valuemap>
+    <value type="int" 
key="ProjectExplorer.BuildConfiguration.BuildStepListCount">2</value>
+    <value type="bool" 
key="ProjectExplorer.BuildConfiguration.ClearSystemEnvironment">false</value>
+    <valuelist type="QVariantList" 
key="ProjectExplorer.BuildConfiguration.UserEnvironmentChanges"/>
+    <value type="QString" 
key="ProjectExplorer.ProjectConfiguration.DefaultDisplayName">Release</value>
+    <value type="QString" 
key="ProjectExplorer.ProjectConfiguration.DisplayName"></value>
+    <value type="QString" 
key="ProjectExplorer.ProjectConfiguration.Id">Qt4ProjectManager.Qt4BuildConfiguration</value>
+    <value type="int" 
key="Qt4ProjectManager.Qt4BuildConfiguration.BuildConfiguration">0</value>
+    <value type="bool" 
key="Qt4ProjectManager.Qt4BuildConfiguration.UseShadowBuild">true</value>
+   </valuemap>
+   <value type="int" 
key="ProjectExplorer.Target.BuildConfigurationCount">2</value>
+   <valuemap type="QVariantMap" 
key="ProjectExplorer.Target.DeployConfiguration.0">
+    <valuemap type="QVariantMap" 
key="ProjectExplorer.BuildConfiguration.BuildStepList.0">
+     <value type="int" key="ProjectExplorer.BuildStepList.StepsCount">0</value>
+     <value type="QString" 
key="ProjectExplorer.ProjectConfiguration.DefaultDisplayName">Deploy</value>
+     <value type="QString" 
key="ProjectExplorer.ProjectConfiguration.DisplayName"></value>
+     <value type="QString" 
key="ProjectExplorer.ProjectConfiguration.Id">ProjectExplorer.BuildSteps.Deploy</value>
+    </valuemap>
+    <value type="int" 
key="ProjectExplorer.BuildConfiguration.BuildStepListCount">1</value>
+    <value type="QString" 
key="ProjectExplorer.ProjectConfiguration.DefaultDisplayName">Deploy 
locally</value>
+    <value type="QString" 
key="ProjectExplorer.ProjectConfiguration.DisplayName"></value>
+    <value type="QString" 
key="ProjectExplorer.ProjectConfiguration.Id">ProjectExplorer.DefaultDeployConfiguration</value>
+   </valuemap>
+   <value type="int" 
key="ProjectExplorer.Target.DeployConfigurationCount">1</value>
+   <valuemap type="QVariantMap" key="ProjectExplorer.Target.PluginSettings"/>
+   <valuemap type="QVariantMap" 
key="ProjectExplorer.Target.RunConfiguration.0">
+    <valuelist type="QVariantList" 
key="Analyzer.Valgrind.AddedSuppressionFiles"/>
+    <value type="bool" 
key="Analyzer.Valgrind.Callgrind.CollectBusEvents">false</value>
+    <value type="bool" 
key="Analyzer.Valgrind.Callgrind.CollectSystime">false</value>
+    <value type="bool" 
key="Analyzer.Valgrind.Callgrind.EnableBranchSim">false</value>
+    <value type="bool" 
key="Analyzer.Valgrind.Callgrind.EnableCacheSim">false</value>
+    <value type="bool" 
key="Analyzer.Valgrind.Callgrind.EnableEventToolTips">true</value>
+    <value type="double" 
key="Analyzer.Valgrind.Callgrind.MinimumCostRatio">0.01</value>
+    <value type="double" 
key="Analyzer.Valgrind.Callgrind.VisualisationMinimumCostRatio">10</value>
+    <value type="bool" 
key="Analyzer.Valgrind.FilterExternalIssues">true</value>
+    <value type="int" key="Analyzer.Valgrind.LeakCheckOnFinish">1</value>
+    <value type="int" key="Analyzer.Valgrind.NumCallers">25</value>
+    <valuelist type="QVariantList" 
key="Analyzer.Valgrind.RemovedSuppressionFiles"/>
+    <value type="int" 
key="Analyzer.Valgrind.SelfModifyingCodeDetection">1</value>
+    <value type="bool" 
key="Analyzer.Valgrind.Settings.UseGlobalSettings">true</value>
+    <value type="bool" key="Analyzer.Valgrind.ShowReachable">false</value>
+    <value type="bool" key="Analyzer.Valgrind.TrackOrigins">true</value>
+    <value type="QString" 
key="Analyzer.Valgrind.ValgrindExecutable">valgrind</value>
+    <valuelist type="QVariantList" key="Analyzer.Valgrind.VisibleErrorKinds">
+     <value type="int">0</value>
+     <value type="int">1</value>
+     <value type="int">2</value>
+     <value type="int">3</value>
+     <value type="int">4</value>
+     <value type="int">5</value>
+     <value type="int">6</value>
+     <value type="int">7</value>
+     <value type="int">8</value>
+     <value type="int">9</value>
+     <value type="int">10</value>
+     <value type="int">11</value>
+     <value type="int">12</value>
+     <value type="int">13</value>
+     <value type="int">14</value>
+    </valuelist>
+    <value type="int" key="PE.EnvironmentAspect.Base">2</value>
+    <valuelist type="QVariantList" key="PE.EnvironmentAspect.Changes"/>
+    <value type="QString" 
key="ProjectExplorer.ProjectConfiguration.DefaultDisplayName">SecureShare</value>
+    <value type="QString" 
key="ProjectExplorer.ProjectConfiguration.DisplayName"></value>
+    <value type="QString" 
key="ProjectExplorer.ProjectConfiguration.Id">Qt4ProjectManager.Qt4RunConfiguration:C:/GSOC/SecureShare/SecureShare.pro</value>
+    <value type="QString" 
key="Qt4ProjectManager.Qt4RunConfiguration.CommandLineArguments"></value>
+    <value type="QString" 
key="Qt4ProjectManager.Qt4RunConfiguration.ProFile">SecureShare.pro</value>
+    <value type="bool" 
key="Qt4ProjectManager.Qt4RunConfiguration.UseDyldImageSuffix">false</value>
+    <value type="bool" 
key="Qt4ProjectManager.Qt4RunConfiguration.UseTerminal">false</value>
+    <value type="QString" 
key="Qt4ProjectManager.Qt4RunConfiguration.UserWorkingDirectory"></value>
+    <value type="uint" key="RunConfiguration.QmlDebugServerPort">3768</value>
+    <value type="bool" key="RunConfiguration.UseCppDebugger">false</value>
+    <value type="bool" key="RunConfiguration.UseCppDebuggerAuto">true</value>
+    <value type="bool" key="RunConfiguration.UseMultiProcess">false</value>
+    <value type="bool" key="RunConfiguration.UseQmlDebugger">false</value>
+    <value type="bool" key="RunConfiguration.UseQmlDebuggerAuto">true</value>
+   </valuemap>
+   <value type="int" 
key="ProjectExplorer.Target.RunConfigurationCount">1</value>
+  </valuemap>
+ </data>
+ <data>
+  <variable>ProjectExplorer.Project.TargetCount</variable>
+  <value type="int">1</value>
+ </data>
+ <data>
+  <variable>ProjectExplorer.Project.Updater.EnvironmentId</variable>
+  <value type="QByteArray">{6781a312-6fd1-420e-a8b5-87c86d1f5aac}</value>
+ </data>
+ <data>
+  <variable>ProjectExplorer.Project.Updater.FileVersion</variable>
+  <value type="int">15</value>
+ </data>
+</qtcreator>

Added: gnunet-qt/SecureShare.pro.user.16
===================================================================
--- gnunet-qt/SecureShare.pro.user.16                           (rev 0)
+++ gnunet-qt/SecureShare.pro.user.16   2014-05-31 22:20:12 UTC (rev 33453)
@@ -0,0 +1,445 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE QtCreatorProject>
+<!-- Written by QtCreator 3.1.81, 2014-05-31T18:49:35. -->
+<qtcreator>
+ <data>
+  <variable>EnvironmentId</variable>
+  <value type="QByteArray">{6781a312-6fd1-420e-a8b5-87c86d1f5aac}</value>
+ </data>
+ <data>
+  <variable>ProjectExplorer.Project.ActiveTarget</variable>
+  <value type="int">1</value>
+ </data>
+ <data>
+  <variable>ProjectExplorer.Project.EditorSettings</variable>
+  <valuemap type="QVariantMap">
+   <value type="bool" key="EditorConfiguration.AutoIndent">true</value>
+   <value type="bool" key="EditorConfiguration.AutoSpacesForTabs">false</value>
+   <value type="bool" 
key="EditorConfiguration.CamelCaseNavigation">true</value>
+   <valuemap type="QVariantMap" key="EditorConfiguration.CodeStyle.0">
+    <value type="QString" key="language">Cpp</value>
+    <valuemap type="QVariantMap" key="value">
+     <value type="QByteArray" key="CurrentPreferences">CppGlobal</value>
+    </valuemap>
+   </valuemap>
+   <valuemap type="QVariantMap" key="EditorConfiguration.CodeStyle.1">
+    <value type="QString" key="language">QmlJS</value>
+    <valuemap type="QVariantMap" key="value">
+     <value type="QByteArray" key="CurrentPreferences">QmlJSGlobal</value>
+    </valuemap>
+   </valuemap>
+   <value type="int" key="EditorConfiguration.CodeStyle.Count">2</value>
+   <value type="QByteArray" key="EditorConfiguration.Codec">UTF-8</value>
+   <value type="bool" key="EditorConfiguration.ConstrainTooltips">false</value>
+   <value type="int" key="EditorConfiguration.IndentSize">4</value>
+   <value type="bool" key="EditorConfiguration.KeyboardTooltips">false</value>
+   <value type="int" key="EditorConfiguration.MarginColumn">80</value>
+   <value type="bool" key="EditorConfiguration.MouseHiding">true</value>
+   <value type="bool" key="EditorConfiguration.MouseNavigation">true</value>
+   <value type="int" key="EditorConfiguration.PaddingMode">1</value>
+   <value type="bool" key="EditorConfiguration.ScrollWheelZooming">true</value>
+   <value type="bool" key="EditorConfiguration.ShowMargin">false</value>
+   <value type="int" key="EditorConfiguration.SmartBackspaceBehavior">0</value>
+   <value type="bool" key="EditorConfiguration.SpacesForTabs">true</value>
+   <value type="int" key="EditorConfiguration.TabKeyBehavior">0</value>
+   <value type="int" key="EditorConfiguration.TabSize">8</value>
+   <value type="bool" key="EditorConfiguration.UseGlobal">true</value>
+   <value type="int" key="EditorConfiguration.Utf8BomBehavior">1</value>
+   <value type="bool" key="EditorConfiguration.addFinalNewLine">true</value>
+   <value type="bool" key="EditorConfiguration.cleanIndentation">true</value>
+   <value type="bool" key="EditorConfiguration.cleanWhitespace">true</value>
+   <value type="bool" key="EditorConfiguration.inEntireDocument">false</value>
+  </valuemap>
+ </data>
+ <data>
+  <variable>ProjectExplorer.Project.PluginSettings</variable>
+  <valuemap type="QVariantMap">
+   <valuemap type="QVariantMap" key="ClangProjectSettings">
+    <value type="QString" key="CustomPchFile"></value>
+    <value type="int" key="PchUsage">1</value>
+   </valuemap>
+  </valuemap>
+ </data>
+ <data>
+  <variable>ProjectExplorer.Project.Target.0</variable>
+  <valuemap type="QVariantMap">
+   <value type="QString" 
key="ProjectExplorer.ProjectConfiguration.DefaultDisplayName">Qt 5.3 
Download</value>
+   <value type="QString" 
key="ProjectExplorer.ProjectConfiguration.DisplayName">Qt 5.3 Download</value>
+   <value type="QString" 
key="ProjectExplorer.ProjectConfiguration.Id">{fd7e039f-4da7-4f6a-84ff-88db2ad72899}</value>
+   <value type="int" 
key="ProjectExplorer.Target.ActiveBuildConfiguration">0</value>
+   <value type="int" 
key="ProjectExplorer.Target.ActiveDeployConfiguration">0</value>
+   <value type="int" 
key="ProjectExplorer.Target.ActiveRunConfiguration">0</value>
+   <valuemap type="QVariantMap" 
key="ProjectExplorer.Target.BuildConfiguration.0">
+    <value type="QString" 
key="ProjectExplorer.BuildConfiguration.BuildDirectory">C:/GSOC/build-SecureShare-Qt_5_3_Download-Debug</value>
+    <valuemap type="QVariantMap" 
key="ProjectExplorer.BuildConfiguration.BuildStepList.0">
+     <valuemap type="QVariantMap" key="ProjectExplorer.BuildStepList.Step.0">
+      <value type="bool" key="ProjectExplorer.BuildStep.Enabled">true</value>
+      <value type="QString" 
key="ProjectExplorer.ProjectConfiguration.DefaultDisplayName">qmake</value>
+      <value type="QString" 
key="ProjectExplorer.ProjectConfiguration.DisplayName"></value>
+      <value type="QString" 
key="ProjectExplorer.ProjectConfiguration.Id">QtProjectManager.QMakeBuildStep</value>
+      <value type="bool" 
key="QtProjectManager.QMakeBuildStep.LinkQmlDebuggingLibrary">false</value>
+      <value type="bool" 
key="QtProjectManager.QMakeBuildStep.LinkQmlDebuggingLibraryAuto">true</value>
+      <value type="QString" 
key="QtProjectManager.QMakeBuildStep.QMakeArguments"></value>
+      <value type="bool" 
key="QtProjectManager.QMakeBuildStep.QMakeForced">false</value>
+     </valuemap>
+     <valuemap type="QVariantMap" key="ProjectExplorer.BuildStepList.Step.1">
+      <value type="bool" key="ProjectExplorer.BuildStep.Enabled">true</value>
+      <value type="QString" 
key="ProjectExplorer.ProjectConfiguration.DefaultDisplayName">Make</value>
+      <value type="QString" 
key="ProjectExplorer.ProjectConfiguration.DisplayName"></value>
+      <value type="QString" 
key="ProjectExplorer.ProjectConfiguration.Id">Qt4ProjectManager.MakeStep</value>
+      <valuelist type="QVariantList" 
key="Qt4ProjectManager.MakeStep.AutomaticallyAddedMakeArguments"/>
+      <value type="bool" key="Qt4ProjectManager.MakeStep.Clean">false</value>
+      <value type="QString" 
key="Qt4ProjectManager.MakeStep.MakeArguments"></value>
+      <value type="QString" 
key="Qt4ProjectManager.MakeStep.MakeCommand"></value>
+     </valuemap>
+     <value type="int" key="ProjectExplorer.BuildStepList.StepsCount">2</value>
+     <value type="QString" 
key="ProjectExplorer.ProjectConfiguration.DefaultDisplayName">Build</value>
+     <value type="QString" 
key="ProjectExplorer.ProjectConfiguration.DisplayName"></value>
+     <value type="QString" 
key="ProjectExplorer.ProjectConfiguration.Id">ProjectExplorer.BuildSteps.Build</value>
+    </valuemap>
+    <valuemap type="QVariantMap" 
key="ProjectExplorer.BuildConfiguration.BuildStepList.1">
+     <valuemap type="QVariantMap" key="ProjectExplorer.BuildStepList.Step.0">
+      <value type="bool" key="ProjectExplorer.BuildStep.Enabled">true</value>
+      <value type="QString" 
key="ProjectExplorer.ProjectConfiguration.DefaultDisplayName">Make</value>
+      <value type="QString" 
key="ProjectExplorer.ProjectConfiguration.DisplayName"></value>
+      <value type="QString" 
key="ProjectExplorer.ProjectConfiguration.Id">Qt4ProjectManager.MakeStep</value>
+      <valuelist type="QVariantList" 
key="Qt4ProjectManager.MakeStep.AutomaticallyAddedMakeArguments"/>
+      <value type="bool" key="Qt4ProjectManager.MakeStep.Clean">true</value>
+      <value type="QString" 
key="Qt4ProjectManager.MakeStep.MakeArguments">clean</value>
+      <value type="QString" 
key="Qt4ProjectManager.MakeStep.MakeCommand"></value>
+     </valuemap>
+     <value type="int" key="ProjectExplorer.BuildStepList.StepsCount">1</value>
+     <value type="QString" 
key="ProjectExplorer.ProjectConfiguration.DefaultDisplayName">Clean</value>
+     <value type="QString" 
key="ProjectExplorer.ProjectConfiguration.DisplayName"></value>
+     <value type="QString" 
key="ProjectExplorer.ProjectConfiguration.Id">ProjectExplorer.BuildSteps.Clean</value>
+    </valuemap>
+    <value type="int" 
key="ProjectExplorer.BuildConfiguration.BuildStepListCount">2</value>
+    <value type="bool" 
key="ProjectExplorer.BuildConfiguration.ClearSystemEnvironment">false</value>
+    <valuelist type="QVariantList" 
key="ProjectExplorer.BuildConfiguration.UserEnvironmentChanges"/>
+    <value type="QString" 
key="ProjectExplorer.ProjectConfiguration.DefaultDisplayName">Debug</value>
+    <value type="QString" 
key="ProjectExplorer.ProjectConfiguration.DisplayName"></value>
+    <value type="QString" 
key="ProjectExplorer.ProjectConfiguration.Id">Qt4ProjectManager.Qt4BuildConfiguration</value>
+    <value type="int" 
key="Qt4ProjectManager.Qt4BuildConfiguration.BuildConfiguration">2</value>
+    <value type="bool" 
key="Qt4ProjectManager.Qt4BuildConfiguration.UseShadowBuild">true</value>
+   </valuemap>
+   <valuemap type="QVariantMap" 
key="ProjectExplorer.Target.BuildConfiguration.1">
+    <value type="QString" 
key="ProjectExplorer.BuildConfiguration.BuildDirectory">C:/GSOC/build-SecureShare-Qt_5_3_Download-Release</value>
+    <valuemap type="QVariantMap" 
key="ProjectExplorer.BuildConfiguration.BuildStepList.0">
+     <valuemap type="QVariantMap" key="ProjectExplorer.BuildStepList.Step.0">
+      <value type="bool" key="ProjectExplorer.BuildStep.Enabled">true</value>
+      <value type="QString" 
key="ProjectExplorer.ProjectConfiguration.DefaultDisplayName">qmake</value>
+      <value type="QString" 
key="ProjectExplorer.ProjectConfiguration.DisplayName"></value>
+      <value type="QString" 
key="ProjectExplorer.ProjectConfiguration.Id">QtProjectManager.QMakeBuildStep</value>
+      <value type="bool" 
key="QtProjectManager.QMakeBuildStep.LinkQmlDebuggingLibrary">false</value>
+      <value type="bool" 
key="QtProjectManager.QMakeBuildStep.LinkQmlDebuggingLibraryAuto">true</value>
+      <value type="QString" 
key="QtProjectManager.QMakeBuildStep.QMakeArguments"></value>
+      <value type="bool" 
key="QtProjectManager.QMakeBuildStep.QMakeForced">false</value>
+     </valuemap>
+     <valuemap type="QVariantMap" key="ProjectExplorer.BuildStepList.Step.1">
+      <value type="bool" key="ProjectExplorer.BuildStep.Enabled">true</value>
+      <value type="QString" 
key="ProjectExplorer.ProjectConfiguration.DefaultDisplayName">Make</value>
+      <value type="QString" 
key="ProjectExplorer.ProjectConfiguration.DisplayName"></value>
+      <value type="QString" 
key="ProjectExplorer.ProjectConfiguration.Id">Qt4ProjectManager.MakeStep</value>
+      <valuelist type="QVariantList" 
key="Qt4ProjectManager.MakeStep.AutomaticallyAddedMakeArguments"/>
+      <value type="bool" key="Qt4ProjectManager.MakeStep.Clean">false</value>
+      <value type="QString" 
key="Qt4ProjectManager.MakeStep.MakeArguments"></value>
+      <value type="QString" 
key="Qt4ProjectManager.MakeStep.MakeCommand"></value>
+     </valuemap>
+     <value type="int" key="ProjectExplorer.BuildStepList.StepsCount">2</value>
+     <value type="QString" 
key="ProjectExplorer.ProjectConfiguration.DefaultDisplayName">Build</value>
+     <value type="QString" 
key="ProjectExplorer.ProjectConfiguration.DisplayName"></value>
+     <value type="QString" 
key="ProjectExplorer.ProjectConfiguration.Id">ProjectExplorer.BuildSteps.Build</value>
+    </valuemap>
+    <valuemap type="QVariantMap" 
key="ProjectExplorer.BuildConfiguration.BuildStepList.1">
+     <valuemap type="QVariantMap" key="ProjectExplorer.BuildStepList.Step.0">
+      <value type="bool" key="ProjectExplorer.BuildStep.Enabled">true</value>
+      <value type="QString" 
key="ProjectExplorer.ProjectConfiguration.DefaultDisplayName">Make</value>
+      <value type="QString" 
key="ProjectExplorer.ProjectConfiguration.DisplayName"></value>
+      <value type="QString" 
key="ProjectExplorer.ProjectConfiguration.Id">Qt4ProjectManager.MakeStep</value>
+      <valuelist type="QVariantList" 
key="Qt4ProjectManager.MakeStep.AutomaticallyAddedMakeArguments"/>
+      <value type="bool" key="Qt4ProjectManager.MakeStep.Clean">true</value>
+      <value type="QString" 
key="Qt4ProjectManager.MakeStep.MakeArguments">clean</value>
+      <value type="QString" 
key="Qt4ProjectManager.MakeStep.MakeCommand"></value>
+     </valuemap>
+     <value type="int" key="ProjectExplorer.BuildStepList.StepsCount">1</value>
+     <value type="QString" 
key="ProjectExplorer.ProjectConfiguration.DefaultDisplayName">Clean</value>
+     <value type="QString" 
key="ProjectExplorer.ProjectConfiguration.DisplayName"></value>
+     <value type="QString" 
key="ProjectExplorer.ProjectConfiguration.Id">ProjectExplorer.BuildSteps.Clean</value>
+    </valuemap>
+    <value type="int" 
key="ProjectExplorer.BuildConfiguration.BuildStepListCount">2</value>
+    <value type="bool" 
key="ProjectExplorer.BuildConfiguration.ClearSystemEnvironment">false</value>
+    <valuelist type="QVariantList" 
key="ProjectExplorer.BuildConfiguration.UserEnvironmentChanges"/>
+    <value type="QString" 
key="ProjectExplorer.ProjectConfiguration.DefaultDisplayName">Release</value>
+    <value type="QString" 
key="ProjectExplorer.ProjectConfiguration.DisplayName"></value>
+    <value type="QString" 
key="ProjectExplorer.ProjectConfiguration.Id">Qt4ProjectManager.Qt4BuildConfiguration</value>
+    <value type="int" 
key="Qt4ProjectManager.Qt4BuildConfiguration.BuildConfiguration">0</value>
+    <value type="bool" 
key="Qt4ProjectManager.Qt4BuildConfiguration.UseShadowBuild">true</value>
+   </valuemap>
+   <value type="int" 
key="ProjectExplorer.Target.BuildConfigurationCount">2</value>
+   <valuemap type="QVariantMap" 
key="ProjectExplorer.Target.DeployConfiguration.0">
+    <valuemap type="QVariantMap" 
key="ProjectExplorer.BuildConfiguration.BuildStepList.0">
+     <value type="int" key="ProjectExplorer.BuildStepList.StepsCount">0</value>
+     <value type="QString" 
key="ProjectExplorer.ProjectConfiguration.DefaultDisplayName">Deploy</value>
+     <value type="QString" 
key="ProjectExplorer.ProjectConfiguration.DisplayName"></value>
+     <value type="QString" 
key="ProjectExplorer.ProjectConfiguration.Id">ProjectExplorer.BuildSteps.Deploy</value>
+    </valuemap>
+    <value type="int" 
key="ProjectExplorer.BuildConfiguration.BuildStepListCount">1</value>
+    <value type="QString" 
key="ProjectExplorer.ProjectConfiguration.DefaultDisplayName">Deploy 
locally</value>
+    <value type="QString" 
key="ProjectExplorer.ProjectConfiguration.DisplayName"></value>
+    <value type="QString" 
key="ProjectExplorer.ProjectConfiguration.Id">ProjectExplorer.DefaultDeployConfiguration</value>
+   </valuemap>
+   <value type="int" 
key="ProjectExplorer.Target.DeployConfigurationCount">1</value>
+   <valuemap type="QVariantMap" key="ProjectExplorer.Target.PluginSettings"/>
+   <valuemap type="QVariantMap" 
key="ProjectExplorer.Target.RunConfiguration.0">
+    <valuelist type="QVariantList" 
key="Analyzer.Valgrind.AddedSuppressionFiles"/>
+    <value type="bool" 
key="Analyzer.Valgrind.Callgrind.CollectBusEvents">false</value>
+    <value type="bool" 
key="Analyzer.Valgrind.Callgrind.CollectSystime">false</value>
+    <value type="bool" 
key="Analyzer.Valgrind.Callgrind.EnableBranchSim">false</value>
+    <value type="bool" 
key="Analyzer.Valgrind.Callgrind.EnableCacheSim">false</value>
+    <value type="bool" 
key="Analyzer.Valgrind.Callgrind.EnableEventToolTips">true</value>
+    <value type="double" 
key="Analyzer.Valgrind.Callgrind.MinimumCostRatio">0.01</value>
+    <value type="double" 
key="Analyzer.Valgrind.Callgrind.VisualisationMinimumCostRatio">10</value>
+    <value type="bool" 
key="Analyzer.Valgrind.FilterExternalIssues">true</value>
+    <value type="int" key="Analyzer.Valgrind.LeakCheckOnFinish">1</value>
+    <value type="int" key="Analyzer.Valgrind.NumCallers">25</value>
+    <valuelist type="QVariantList" 
key="Analyzer.Valgrind.RemovedSuppressionFiles"/>
+    <value type="int" 
key="Analyzer.Valgrind.SelfModifyingCodeDetection">1</value>
+    <value type="bool" 
key="Analyzer.Valgrind.Settings.UseGlobalSettings">true</value>
+    <value type="bool" key="Analyzer.Valgrind.ShowReachable">false</value>
+    <value type="bool" key="Analyzer.Valgrind.TrackOrigins">true</value>
+    <value type="QString" 
key="Analyzer.Valgrind.ValgrindExecutable">valgrind</value>
+    <valuelist type="QVariantList" key="Analyzer.Valgrind.VisibleErrorKinds">
+     <value type="int">0</value>
+     <value type="int">1</value>
+     <value type="int">2</value>
+     <value type="int">3</value>
+     <value type="int">4</value>
+     <value type="int">5</value>
+     <value type="int">6</value>
+     <value type="int">7</value>
+     <value type="int">8</value>
+     <value type="int">9</value>
+     <value type="int">10</value>
+     <value type="int">11</value>
+     <value type="int">12</value>
+     <value type="int">13</value>
+     <value type="int">14</value>
+    </valuelist>
+    <value type="int" key="PE.EnvironmentAspect.Base">2</value>
+    <valuelist type="QVariantList" key="PE.EnvironmentAspect.Changes"/>
+    <value type="QString" 
key="ProjectExplorer.ProjectConfiguration.DefaultDisplayName">SecureShare</value>
+    <value type="QString" 
key="ProjectExplorer.ProjectConfiguration.DisplayName"></value>
+    <value type="QString" 
key="ProjectExplorer.ProjectConfiguration.Id">Qt4ProjectManager.Qt4RunConfiguration:C:/GSOC/SecureShare/SecureShare.pro</value>
+    <value type="QString" 
key="Qt4ProjectManager.Qt4RunConfiguration.CommandLineArguments"></value>
+    <value type="QString" 
key="Qt4ProjectManager.Qt4RunConfiguration.ProFile">SecureShare.pro</value>
+    <value type="bool" 
key="Qt4ProjectManager.Qt4RunConfiguration.UseDyldImageSuffix">false</value>
+    <value type="bool" 
key="Qt4ProjectManager.Qt4RunConfiguration.UseTerminal">false</value>
+    <value type="QString" 
key="Qt4ProjectManager.Qt4RunConfiguration.UserWorkingDirectory"></value>
+    <value type="uint" key="RunConfiguration.QmlDebugServerPort">3768</value>
+    <value type="bool" key="RunConfiguration.UseCppDebugger">false</value>
+    <value type="bool" key="RunConfiguration.UseCppDebuggerAuto">true</value>
+    <value type="bool" key="RunConfiguration.UseMultiProcess">false</value>
+    <value type="bool" key="RunConfiguration.UseQmlDebugger">false</value>
+    <value type="bool" key="RunConfiguration.UseQmlDebuggerAuto">true</value>
+   </valuemap>
+   <value type="int" 
key="ProjectExplorer.Target.RunConfigurationCount">1</value>
+  </valuemap>
+ </data>
+ <data>
+  <variable>ProjectExplorer.Project.Target.1</variable>
+  <valuemap type="QVariantMap">
+   <value type="QString" 
key="ProjectExplorer.ProjectConfiguration.DefaultDisplayName">Qt 5.3.0 
(Qt32-5.3)</value>
+   <value type="QString" 
key="ProjectExplorer.ProjectConfiguration.DisplayName">Qt 5.3.0 
(Qt32-5.3)</value>
+   <value type="QString" 
key="ProjectExplorer.ProjectConfiguration.Id">{2df16ca3-6436-403d-92d4-5b6f5462a870}</value>
+   <value type="int" 
key="ProjectExplorer.Target.ActiveBuildConfiguration">0</value>
+   <value type="int" 
key="ProjectExplorer.Target.ActiveDeployConfiguration">0</value>
+   <value type="int" 
key="ProjectExplorer.Target.ActiveRunConfiguration">0</value>
+   <valuemap type="QVariantMap" 
key="ProjectExplorer.Target.BuildConfiguration.0">
+    <value type="QString" 
key="ProjectExplorer.BuildConfiguration.BuildDirectory">C:/GSOC/build-SecureShare-Qt_5_3_0_Qt32_5_3-Debug</value>
+    <valuemap type="QVariantMap" 
key="ProjectExplorer.BuildConfiguration.BuildStepList.0">
+     <valuemap type="QVariantMap" key="ProjectExplorer.BuildStepList.Step.0">
+      <value type="bool" key="ProjectExplorer.BuildStep.Enabled">true</value>
+      <value type="QString" 
key="ProjectExplorer.ProjectConfiguration.DefaultDisplayName">qmake</value>
+      <value type="QString" 
key="ProjectExplorer.ProjectConfiguration.DisplayName"></value>
+      <value type="QString" 
key="ProjectExplorer.ProjectConfiguration.Id">QtProjectManager.QMakeBuildStep</value>
+      <value type="bool" 
key="QtProjectManager.QMakeBuildStep.LinkQmlDebuggingLibrary">false</value>
+      <value type="bool" 
key="QtProjectManager.QMakeBuildStep.LinkQmlDebuggingLibraryAuto">true</value>
+      <value type="QString" 
key="QtProjectManager.QMakeBuildStep.QMakeArguments"></value>
+      <value type="bool" 
key="QtProjectManager.QMakeBuildStep.QMakeForced">false</value>
+     </valuemap>
+     <valuemap type="QVariantMap" key="ProjectExplorer.BuildStepList.Step.1">
+      <value type="bool" key="ProjectExplorer.BuildStep.Enabled">true</value>
+      <value type="QString" 
key="ProjectExplorer.ProjectConfiguration.DefaultDisplayName">Make</value>
+      <value type="QString" 
key="ProjectExplorer.ProjectConfiguration.DisplayName"></value>
+      <value type="QString" 
key="ProjectExplorer.ProjectConfiguration.Id">Qt4ProjectManager.MakeStep</value>
+      <valuelist type="QVariantList" 
key="Qt4ProjectManager.MakeStep.AutomaticallyAddedMakeArguments"/>
+      <value type="bool" key="Qt4ProjectManager.MakeStep.Clean">false</value>
+      <value type="QString" 
key="Qt4ProjectManager.MakeStep.MakeArguments"></value>
+      <value type="QString" 
key="Qt4ProjectManager.MakeStep.MakeCommand"></value>
+     </valuemap>
+     <value type="int" key="ProjectExplorer.BuildStepList.StepsCount">2</value>
+     <value type="QString" 
key="ProjectExplorer.ProjectConfiguration.DefaultDisplayName">Build</value>
+     <value type="QString" 
key="ProjectExplorer.ProjectConfiguration.DisplayName"></value>
+     <value type="QString" 
key="ProjectExplorer.ProjectConfiguration.Id">ProjectExplorer.BuildSteps.Build</value>
+    </valuemap>
+    <valuemap type="QVariantMap" 
key="ProjectExplorer.BuildConfiguration.BuildStepList.1">
+     <valuemap type="QVariantMap" key="ProjectExplorer.BuildStepList.Step.0">
+      <value type="bool" key="ProjectExplorer.BuildStep.Enabled">true</value>
+      <value type="QString" 
key="ProjectExplorer.ProjectConfiguration.DefaultDisplayName">Make</value>
+      <value type="QString" 
key="ProjectExplorer.ProjectConfiguration.DisplayName"></value>
+      <value type="QString" 
key="ProjectExplorer.ProjectConfiguration.Id">Qt4ProjectManager.MakeStep</value>
+      <valuelist type="QVariantList" 
key="Qt4ProjectManager.MakeStep.AutomaticallyAddedMakeArguments"/>
+      <value type="bool" key="Qt4ProjectManager.MakeStep.Clean">true</value>
+      <value type="QString" 
key="Qt4ProjectManager.MakeStep.MakeArguments">clean</value>
+      <value type="QString" 
key="Qt4ProjectManager.MakeStep.MakeCommand"></value>
+     </valuemap>
+     <value type="int" key="ProjectExplorer.BuildStepList.StepsCount">1</value>
+     <value type="QString" 
key="ProjectExplorer.ProjectConfiguration.DefaultDisplayName">Clean</value>
+     <value type="QString" 
key="ProjectExplorer.ProjectConfiguration.DisplayName"></value>
+     <value type="QString" 
key="ProjectExplorer.ProjectConfiguration.Id">ProjectExplorer.BuildSteps.Clean</value>
+    </valuemap>
+    <value type="int" 
key="ProjectExplorer.BuildConfiguration.BuildStepListCount">2</value>
+    <value type="bool" 
key="ProjectExplorer.BuildConfiguration.ClearSystemEnvironment">false</value>
+    <valuelist type="QVariantList" 
key="ProjectExplorer.BuildConfiguration.UserEnvironmentChanges"/>
+    <value type="QString" 
key="ProjectExplorer.ProjectConfiguration.DefaultDisplayName">Debug</value>
+    <value type="QString" 
key="ProjectExplorer.ProjectConfiguration.DisplayName"></value>
+    <value type="QString" 
key="ProjectExplorer.ProjectConfiguration.Id">Qt4ProjectManager.Qt4BuildConfiguration</value>
+    <value type="int" 
key="Qt4ProjectManager.Qt4BuildConfiguration.BuildConfiguration">2</value>
+    <value type="bool" 
key="Qt4ProjectManager.Qt4BuildConfiguration.UseShadowBuild">true</value>
+   </valuemap>
+   <valuemap type="QVariantMap" 
key="ProjectExplorer.Target.BuildConfiguration.1">
+    <value type="QString" 
key="ProjectExplorer.BuildConfiguration.BuildDirectory">C:/GSOC/build-SecureShare-Qt_5_3_0_Qt32_5_3-Release</value>
+    <valuemap type="QVariantMap" 
key="ProjectExplorer.BuildConfiguration.BuildStepList.0">
+     <valuemap type="QVariantMap" key="ProjectExplorer.BuildStepList.Step.0">
+      <value type="bool" key="ProjectExplorer.BuildStep.Enabled">true</value>
+      <value type="QString" 
key="ProjectExplorer.ProjectConfiguration.DefaultDisplayName">qmake</value>
+      <value type="QString" 
key="ProjectExplorer.ProjectConfiguration.DisplayName"></value>
+      <value type="QString" 
key="ProjectExplorer.ProjectConfiguration.Id">QtProjectManager.QMakeBuildStep</value>
+      <value type="bool" 
key="QtProjectManager.QMakeBuildStep.LinkQmlDebuggingLibrary">false</value>
+      <value type="bool" 
key="QtProjectManager.QMakeBuildStep.LinkQmlDebuggingLibraryAuto">true</value>
+      <value type="QString" 
key="QtProjectManager.QMakeBuildStep.QMakeArguments"></value>
+      <value type="bool" 
key="QtProjectManager.QMakeBuildStep.QMakeForced">false</value>
+     </valuemap>
+     <valuemap type="QVariantMap" key="ProjectExplorer.BuildStepList.Step.1">
+      <value type="bool" key="ProjectExplorer.BuildStep.Enabled">true</value>
+      <value type="QString" 
key="ProjectExplorer.ProjectConfiguration.DefaultDisplayName">Make</value>
+      <value type="QString" 
key="ProjectExplorer.ProjectConfiguration.DisplayName"></value>
+      <value type="QString" 
key="ProjectExplorer.ProjectConfiguration.Id">Qt4ProjectManager.MakeStep</value>
+      <valuelist type="QVariantList" 
key="Qt4ProjectManager.MakeStep.AutomaticallyAddedMakeArguments"/>
+      <value type="bool" key="Qt4ProjectManager.MakeStep.Clean">false</value>
+      <value type="QString" 
key="Qt4ProjectManager.MakeStep.MakeArguments"></value>
+      <value type="QString" 
key="Qt4ProjectManager.MakeStep.MakeCommand"></value>
+     </valuemap>
+     <value type="int" key="ProjectExplorer.BuildStepList.StepsCount">2</value>
+     <value type="QString" 
key="ProjectExplorer.ProjectConfiguration.DefaultDisplayName">Build</value>
+     <value type="QString" 
key="ProjectExplorer.ProjectConfiguration.DisplayName"></value>
+     <value type="QString" 
key="ProjectExplorer.ProjectConfiguration.Id">ProjectExplorer.BuildSteps.Build</value>
+    </valuemap>
+    <valuemap type="QVariantMap" 
key="ProjectExplorer.BuildConfiguration.BuildStepList.1">
+     <valuemap type="QVariantMap" key="ProjectExplorer.BuildStepList.Step.0">
+      <value type="bool" key="ProjectExplorer.BuildStep.Enabled">true</value>
+      <value type="QString" 
key="ProjectExplorer.ProjectConfiguration.DefaultDisplayName">Make</value>
+      <value type="QString" 
key="ProjectExplorer.ProjectConfiguration.DisplayName"></value>
+      <value type="QString" 
key="ProjectExplorer.ProjectConfiguration.Id">Qt4ProjectManager.MakeStep</value>
+      <valuelist type="QVariantList" 
key="Qt4ProjectManager.MakeStep.AutomaticallyAddedMakeArguments"/>
+      <value type="bool" key="Qt4ProjectManager.MakeStep.Clean">true</value>
+      <value type="QString" 
key="Qt4ProjectManager.MakeStep.MakeArguments">clean</value>
+      <value type="QString" 
key="Qt4ProjectManager.MakeStep.MakeCommand"></value>
+     </valuemap>
+     <value type="int" key="ProjectExplorer.BuildStepList.StepsCount">1</value>
+     <value type="QString" 
key="ProjectExplorer.ProjectConfiguration.DefaultDisplayName">Clean</value>
+     <value type="QString" 
key="ProjectExplorer.ProjectConfiguration.DisplayName"></value>
+     <value type="QString" 
key="ProjectExplorer.ProjectConfiguration.Id">ProjectExplorer.BuildSteps.Clean</value>
+    </valuemap>
+    <value type="int" 
key="ProjectExplorer.BuildConfiguration.BuildStepListCount">2</value>
+    <value type="bool" 
key="ProjectExplorer.BuildConfiguration.ClearSystemEnvironment">false</value>
+    <valuelist type="QVariantList" 
key="ProjectExplorer.BuildConfiguration.UserEnvironmentChanges"/>
+    <value type="QString" 
key="ProjectExplorer.ProjectConfiguration.DefaultDisplayName">Release</value>
+    <value type="QString" 
key="ProjectExplorer.ProjectConfiguration.DisplayName"></value>
+    <value type="QString" 
key="ProjectExplorer.ProjectConfiguration.Id">Qt4ProjectManager.Qt4BuildConfiguration</value>
+    <value type="int" 
key="Qt4ProjectManager.Qt4BuildConfiguration.BuildConfiguration">0</value>
+    <value type="bool" 
key="Qt4ProjectManager.Qt4BuildConfiguration.UseShadowBuild">true</value>
+   </valuemap>
+   <value type="int" 
key="ProjectExplorer.Target.BuildConfigurationCount">2</value>
+   <valuemap type="QVariantMap" 
key="ProjectExplorer.Target.DeployConfiguration.0">
+    <valuemap type="QVariantMap" 
key="ProjectExplorer.BuildConfiguration.BuildStepList.0">
+     <value type="int" key="ProjectExplorer.BuildStepList.StepsCount">0</value>
+     <value type="QString" 
key="ProjectExplorer.ProjectConfiguration.DefaultDisplayName">Deploy</value>
+     <value type="QString" 
key="ProjectExplorer.ProjectConfiguration.DisplayName"></value>
+     <value type="QString" 
key="ProjectExplorer.ProjectConfiguration.Id">ProjectExplorer.BuildSteps.Deploy</value>
+    </valuemap>
+    <value type="int" 
key="ProjectExplorer.BuildConfiguration.BuildStepListCount">1</value>
+    <value type="QString" 
key="ProjectExplorer.ProjectConfiguration.DefaultDisplayName">Deploy 
locally</value>
+    <value type="QString" 
key="ProjectExplorer.ProjectConfiguration.DisplayName"></value>
+    <value type="QString" 
key="ProjectExplorer.ProjectConfiguration.Id">ProjectExplorer.DefaultDeployConfiguration</value>
+   </valuemap>
+   <value type="int" 
key="ProjectExplorer.Target.DeployConfigurationCount">1</value>
+   <valuemap type="QVariantMap" key="ProjectExplorer.Target.PluginSettings"/>
+   <valuemap type="QVariantMap" 
key="ProjectExplorer.Target.RunConfiguration.0">
+    <valuelist type="QVariantList" 
key="Analyzer.Valgrind.AddedSuppressionFiles"/>
+    <value type="bool" 
key="Analyzer.Valgrind.Callgrind.CollectBusEvents">false</value>
+    <value type="bool" 
key="Analyzer.Valgrind.Callgrind.CollectSystime">false</value>
+    <value type="bool" 
key="Analyzer.Valgrind.Callgrind.EnableBranchSim">false</value>
+    <value type="bool" 
key="Analyzer.Valgrind.Callgrind.EnableCacheSim">false</value>
+    <value type="bool" 
key="Analyzer.Valgrind.Callgrind.EnableEventToolTips">true</value>
+    <value type="double" 
key="Analyzer.Valgrind.Callgrind.MinimumCostRatio">0.01</value>
+    <value type="double" 
key="Analyzer.Valgrind.Callgrind.VisualisationMinimumCostRatio">10</value>
+    <value type="bool" 
key="Analyzer.Valgrind.FilterExternalIssues">true</value>
+    <value type="int" key="Analyzer.Valgrind.LeakCheckOnFinish">1</value>
+    <value type="int" key="Analyzer.Valgrind.NumCallers">25</value>
+    <valuelist type="QVariantList" 
key="Analyzer.Valgrind.RemovedSuppressionFiles"/>
+    <value type="int" 
key="Analyzer.Valgrind.SelfModifyingCodeDetection">1</value>
+    <value type="bool" 
key="Analyzer.Valgrind.Settings.UseGlobalSettings">true</value>
+    <value type="bool" key="Analyzer.Valgrind.ShowReachable">false</value>
+    <value type="bool" key="Analyzer.Valgrind.TrackOrigins">true</value>
+    <value type="QString" 
key="Analyzer.Valgrind.ValgrindExecutable">valgrind</value>
+    <valuelist type="QVariantList" key="Analyzer.Valgrind.VisibleErrorKinds">
+     <value type="int">0</value>
+     <value type="int">1</value>
+     <value type="int">2</value>
+     <value type="int">3</value>
+     <value type="int">4</value>
+     <value type="int">5</value>
+     <value type="int">6</value>
+     <value type="int">7</value>
+     <value type="int">8</value>
+     <value type="int">9</value>
+     <value type="int">10</value>
+     <value type="int">11</value>
+     <value type="int">12</value>
+     <value type="int">13</value>
+     <value type="int">14</value>
+    </valuelist>
+    <value type="int" key="PE.EnvironmentAspect.Base">2</value>
+    <valuelist type="QVariantList" key="PE.EnvironmentAspect.Changes"/>
+    <value type="QString" 
key="ProjectExplorer.ProjectConfiguration.DefaultDisplayName">SecureShare</value>
+    <value type="QString" 
key="ProjectExplorer.ProjectConfiguration.DisplayName"></value>
+    <value type="QString" 
key="ProjectExplorer.ProjectConfiguration.Id">Qt4ProjectManager.Qt4RunConfiguration:C:/GSOC/SecureShare/SecureShare.pro</value>
+    <value type="QString" 
key="Qt4ProjectManager.Qt4RunConfiguration.CommandLineArguments"></value>
+    <value type="QString" 
key="Qt4ProjectManager.Qt4RunConfiguration.ProFile">SecureShare.pro</value>
+    <value type="bool" 
key="Qt4ProjectManager.Qt4RunConfiguration.UseDyldImageSuffix">false</value>
+    <value type="bool" 
key="Qt4ProjectManager.Qt4RunConfiguration.UseTerminal">false</value>
+    <value type="QString" 
key="Qt4ProjectManager.Qt4RunConfiguration.UserWorkingDirectory"></value>
+    <value type="uint" key="RunConfiguration.QmlDebugServerPort">3768</value>
+    <value type="bool" key="RunConfiguration.UseCppDebugger">false</value>
+    <value type="bool" key="RunConfiguration.UseCppDebuggerAuto">true</value>
+    <value type="bool" key="RunConfiguration.UseMultiProcess">false</value>
+    <value type="bool" key="RunConfiguration.UseQmlDebugger">false</value>
+    <value type="bool" key="RunConfiguration.UseQmlDebuggerAuto">true</value>
+   </valuemap>
+   <value type="int" 
key="ProjectExplorer.Target.RunConfigurationCount">1</value>
+  </valuemap>
+ </data>
+ <data>
+  <variable>ProjectExplorer.Project.TargetCount</variable>
+  <value type="int">2</value>
+ </data>
+ <data>
+  <variable>ProjectExplorer.Project.Updater.FileVersion</variable>
+  <value type="int">16</value>
+ </data>
+ <data>
+  <variable>Version</variable>
+  <value type="int">16</value>
+ </data>
+</qtcreator>

Added: gnunet-qt/assets/banner.png
===================================================================
(Binary files differ)

Index: gnunet-qt/assets/banner.png
===================================================================
--- gnunet-qt/assets/banner.png 2014-05-31 21:48:01 UTC (rev 33452)
+++ gnunet-qt/assets/banner.png 2014-05-31 22:20:12 UTC (rev 33453)

Property changes on: gnunet-qt/assets/banner.png
___________________________________________________________________
Added: svn:mime-type
## -0,0 +1 ##
+application/octet-stream
\ No newline at end of property
Added: gnunet-qt/assets/icon.png
===================================================================
(Binary files differ)

Index: gnunet-qt/assets/icon.png
===================================================================
--- gnunet-qt/assets/icon.png   2014-05-31 21:48:01 UTC (rev 33452)
+++ gnunet-qt/assets/icon.png   2014-05-31 22:20:12 UTC (rev 33453)

Property changes on: gnunet-qt/assets/icon.png
___________________________________________________________________
Added: svn:mime-type
## -0,0 +1 ##
+application/octet-stream
\ No newline at end of property
Added: gnunet-qt/core/gnunet/gnunet.cpp
===================================================================
--- gnunet-qt/core/gnunet/gnunet.cpp                            (rev 0)
+++ gnunet-qt/core/gnunet/gnunet.cpp    2014-05-31 22:20:12 UTC (rev 33453)
@@ -0,0 +1,207 @@
+/*
+     This file is part of SecureShare
+     (C) 2013 Bruno Cabral (and other contributing authors)
+
+     SecureShare is free software; you can redistribute it and/or modify
+     it under the terms of the GNU General Public License as published
+     by the Free Software Foundation; either version 3, or (at your
+     option) any later version.
+
+     SecureShare is distributed in the hope that it will be useful, but
+     WITHOUT ANY WARRANTY; without even the implied warranty of
+     MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
+     General Public License for more details.
+
+     You should have received a copy of the GNU General Public License
+     along with SecureShare; see the file COPYING.  If not, write to the
+     Free Software Foundation, Inc., 59 Temple Place - Suite 330,
+     Boston, MA 02111-1307, USA.
+*/
+
+#include "gnunet.h"
+
+#include "psyc.h"
+#include "core/psyccore.h"
+#include "preferences/preferences.h"
+#include "core/identity/identityService.h"
+
+#include <math.h>
+#include <QElapsedTimer>
+#include <QWaitCondition>
+
+
+/***********************************
+ * START STATIC CALLBACKS
+ ***********************************/
+
+/**
+ * Static function.
+ * The first function executed when GNUNet is running.
+ */
+void GNUNet::mainLoopCallback(void *cls, char *const *args, const char 
*cfgfile,
+                              const struct GNUNET_CONFIGURATION_Handle *cfg)
+{
+    //Retrive our main funtion
+    GNUNet* gnunetInstance = (GNUNet*)cls;
+    Q_ASSERT(gnunetInstance);
+
+
+    //Call our main loop
+    gnunetInstance->mainLoop(args,cfgfile,cfg);
+
+
+}
+
+
+/**
+ * Static function
+ * Called to process our internal messages
+ */
+void GNUNet::keepaliveTaskCallback (void *cls, const struct 
GNUNET_SCHEDULER_TaskContext *tc)
+{
+    Q_UNUSED(tc);
+
+    //Retrive our main funtion
+    Q_ASSERT(cls);
+    GNUNet* gnunetInstance = (GNUNet*)cls;
+
+    //Process the events
+    gnunetInstance->processEvents();
+
+    //Call again in 500 millisecond.
+    GNUNET_SCHEDULER_add_delayed (GNUNET_TIME_relative_multiply 
(GNUNET_TIME_UNIT_MILLISECONDS, 500), &keepaliveTaskCallback, gnunetInstance);
+}
+
+
+/***********************************
+ * END STATIC CALLBACKS
+ ***********************************/
+
+
+GNUNet::GNUNet(QObject *parent) :
+    QObject(parent)
+{
+
+    m_connected = false;
+    m_myPeer = new GNUNET_PeerIdentity;
+
+
+}
+
+GNUNet::~GNUNet()
+{
+  delete m_myPeer;
+}
+
+/**
+ * Start GNUnet
+ */
+
+void GNUNet::start()
+{
+
+
+    m_identity = new IdentityService(this);
+
+
+    static struct GNUNET_GETOPT_CommandLineOption options[] = {
+        GNUNET_GETOPT_OPTION_END
+    };
+
+
+   /*
+    QString gnunetConfig = thePrefs->getGNUNetConfig();
+    QByteArray byteArray = gnunetConfig.toUtf8();
+    const char* cString = byteArray.constData();
+*/
+
+    const char *const argv[] = {
+        "SecureShare",
+        // "-c", cString,
+        NULL
+    };
+
+    GNUNET_PROGRAM_run ((sizeof (argv) / sizeof (char *)) - 1,(char 
*const*)argv,
+                        "SecureShare", "SecureShare helper", options,
+                        mainLoopCallback, this);
+
+
+}
+
+/**
+ * It's the first function executed when GNUNet is running.
+ */
+void GNUNet::mainLoop(char *const *args, const char *cfgfile,
+                      const struct GNUNET_CONFIGURATION_Handle *cfg)
+{
+    Q_UNUSED(args);
+    Q_UNUSED(cfgfile);
+    Q_UNUSED(cfg);
+
+
+
+    char *privateKeyFileName;
+    GNUNET_CRYPTO_EddsaPrivateKey *priv;
+
+    //Create our configuration
+    m_config = GNUNET_CONFIGURATION_create ();
+    GNUNET_CONFIGURATION_load (m_config, cfgfile);
+
+    //Get my information
+
+    //load private key
+    if (GNUNET_OK !=
+            GNUNET_CONFIGURATION_get_value_filename (m_config, "PEER", 
"PRIVATE_KEY",
+                                                     &privateKeyFileName))
+    {
+        qWarning() << QString("Could not find option `GNUNETD:HOSTKEYFILE' in 
configuration.\n");
+        return;
+    }
+
+
+    //Get my own peer
+    GNUNET_CRYPTO_get_peer_identity(m_config,m_myPeer);
+
+    char* str = 
GNUNET_CRYPTO_eddsa_public_key_to_string(&m_myPeer->public_key);
+    setMyPublicKeyStr(QString(str));
+    GNUNET_free (str);
+
+
+    //A update function to process our messages
+    GNUNET_SCHEDULER_add_now ( keepaliveTaskCallback, this);
+
+
+    //Start arm
+    startServices();
+
+
+}
+
+
+/**
+ * Start the services such as filesharing
+ */
+
+void GNUNet::startServices()
+{
+    m_identity->start(m_config);
+
+
+    emit gnunetStarted();
+}
+
+/**
+ * Process our internal pending messages.
+ */
+void GNUNet::processEvents()
+{
+    QCoreApplication::processEvents();
+
+}
+
+
+GNUNET_PeerIdentity* GNUNet::myPeer() const
+{
+    return m_myPeer;
+}
+

Added: gnunet-qt/core/gnunet/gnunet.h
===================================================================
--- gnunet-qt/core/gnunet/gnunet.h                              (rev 0)
+++ gnunet-qt/core/gnunet/gnunet.h      2014-05-31 22:20:12 UTC (rev 33453)
@@ -0,0 +1,155 @@
+/*
+     This file is part of SecureShare
+     (C) 2013 Bruno Cabral (and other contributing authors)
+
+     SecureShare is free software; you can redistribute it and/or modify
+     it under the terms of the GNU General Public License as published
+     by the Free Software Foundation; either version 3, or (at your
+     option) any later version.
+
+     SecureShare is distributed in the hope that it will be useful, but
+     WITHOUT ANY WARRANTY; without even the implied warranty of
+     MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
+     General Public License for more details.
+
+     You should have received a copy of the GNU General Public License
+     along with SecureShare; see the file COPYING.  If not, write to the
+     Free Software Foundation, Inc., 59 Temple Place - Suite 330,
+     Boston, MA 02111-1307, USA.
+*/
+
+
+#ifndef GNUNET_H
+#define GNUNET_H
+#include <QtCore>
+#include <QString>
+
+
+#include "gnunet_includes.h"
+
+
+class IdentityService;
+class GNUNet : public QObject
+{
+  Q_OBJECT
+  Q_PROPERTY(IdentityService * identity READ identity CONSTANT)
+
+  Q_PROPERTY(GNUNET_CONFIGURATION_Handle * config READ config)
+
+  Q_PROPERTY(bool connected READ isConnected WRITE setConnected NOTIFY 
connectedChanged)
+
+  Q_PROPERTY(QString myPublicKeyStr READ myPublicKeyStr WRITE 
setMyPublicKeyStr NOTIFY myPublicKeyStrChanged)
+
+
+
+public:
+  explicit GNUNet(QObject *parent = 0);
+  ~GNUNet();
+
+  IdentityService* identity() const
+  { return m_identity; }
+
+
+
+
+  GNUNET_CONFIGURATION_Handle* config() const
+  { return m_config; }
+
+
+
+  bool isConnected() const
+  { return m_connected; }
+
+  void setConnected(bool connected)
+  {
+    m_connected = connected;
+    emit connectedChanged(m_connected);
+  }
+
+
+
+  //Public Key Str
+  QString myPublicKeyStr() const
+  { return m_myPublicKeyStr; }
+  void setMyPublicKeyStr(QString key)
+  {
+    m_myPublicKeyStr = key;
+    emit myPublicKeyStrChanged(key);
+  }
+
+
+
+  GNUNET_PeerIdentity* myPeer() const;
+
+
+
+private:
+
+  /**
+      Static Definitions
+     */
+  static void mainLoopCallback(void *cls, char *const *args, const char 
*cfgfile,
+                               const struct GNUNET_CONFIGURATION_Handle *cfg);
+
+  static void keepaliveTaskCallback (void *cls, const struct 
GNUNET_SCHEDULER_TaskContext *tc);
+
+public:
+  void armConnectionStateChange(int connected);
+
+
+signals:
+  void gnunetStarted();
+  void gnunetConnected();
+  void connectedChanged(bool connected);
+
+  void myPublicKeyStrChanged(QString key);
+
+
+public slots:
+  void start();
+
+private slots:
+  void startServices();
+
+private:
+
+  /**
+     * Pointer to GNUnet Identity Service.
+     */
+  IdentityService* m_identity;
+
+
+
+  /**
+     * @brief m_config
+     */
+  struct GNUNET_CONFIGURATION_Handle *m_config;
+
+  /**
+     * @brief m_connected
+     */
+  bool m_connected;
+
+
+
+  /**
+     * My peer.
+     */
+
+  struct GNUNET_PeerIdentity* m_myPeer;
+
+  /**
+     * My public key.
+     */
+  QString m_myPublicKeyStr;
+
+
+
+
+
+  void processEvents();
+  void mainLoop(char *const*args, const char *cfgfile, const 
GNUNET_CONFIGURATION_Handle *cfg);
+
+};
+
+#endif // GNUNET_H

Added: gnunet-qt/core/gnunet/gnunet_includes.h
===================================================================
--- gnunet-qt/core/gnunet/gnunet_includes.h                             (rev 0)
+++ gnunet-qt/core/gnunet/gnunet_includes.h     2014-05-31 22:20:12 UTC (rev 
33453)
@@ -0,0 +1,45 @@
+/*
+     This file is part of SecureShare
+     (C) 2013 Bruno Cabral (and other contributing authors)
+
+     SecureShare is free software; you can redistribute it and/or modify
+     it under the terms of the GNU General Public License as published
+     by the Free Software Foundation; either version 3, or (at your
+     option) any later version.
+
+     SecureShare is distributed in the hope that it will be useful, but
+     WITHOUT ANY WARRANTY; without even the implied warranty of
+     MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
+     General Public License for more details.
+
+     You should have received a copy of the GNU General Public License
+     along with SecureShare; see the file COPYING.  If not, write to the
+     Free Software Foundation, Inc., 59 Temple Place - Suite 330,
+     Boston, MA 02111-1307, USA.
+*/
+
+#ifndef GNUNET_INCLUDES_H
+#define GNUNET_INCLUDES_H
+
+
+#ifndef HAVE_USED_CONFIG_H
+#define HAVE_USED_CONFIG_H
+#include <gnunet/gnunet_config.h>
+#endif
+
+#include <gnunet/platform.h>
+#include <gnunet/gnunet_util_lib.h>
+
+#include <gnunet/gnunet_peerinfo_service.h>
+#include <gnunet/gnunet_transport_service.h>
+#include <gnunet/gnunet_ats_service.h>
+#include <gnunet/gnunet_fs_service.h>
+#include <gnunet/gnunet_nse_service.h>
+#include <gnunet/gnunet_core_service.h>
+#include <gnunet/gnunet_arm_service.h>
+#include <gnunet/gnunet_transport_plugin.h>
+#include <gnunet/gnunet_hello_lib.h>
+#include <gnunet/gnunet_identity_service.h>
+#include <gnunet/gnunet_friends_lib.h>
+
+#endif // GNUNET_INCLUDES_H

Added: gnunet-qt/core/identity/identityService.cpp
===================================================================
--- gnunet-qt/core/identity/identityService.cpp                         (rev 0)
+++ gnunet-qt/core/identity/identityService.cpp 2014-05-31 22:20:12 UTC (rev 
33453)
@@ -0,0 +1,96 @@
+#include "identityService.h"
+
+IdentityService::IdentityService(QObject *parent) :
+    QObject(parent)
+{
+}
+
+
+/**
+ * @brief Identity::start
+ * @param config
+ */
+void IdentityService::start(struct GNUNET_CONFIGURATION_Handle *config)
+{
+
+
+    this->m_config = config;
+
+    m_identityHandle = GNUNET_IDENTITY_connect (config,
+                                                &add_ego_callback,
+                                                NULL);
+}
+
+
+/**
+ * Add all updateable entries of the current namespace to the
+ * tree store.
+ *
+ * @param cls our 'struct MainPublishingDialogContext'
+ * @param ego identity of the namespace to add
+ * @param ego_ctx where to store context data
+ * @param name name of the namespace to add
+ */
+void
+IdentityService::add_ego_callback (void *cls,
+                            struct GNUNET_IDENTITY_Ego *ego,
+                            void **ego_ctx,
+                            const char *name)
+{
+
+
+    /*
+  GtkTreePath *path;
+  GtkTreeRowReference *rr;
+  GtkTreeIter iter;
+  char *id;
+  struct GNUNET_CRYPTO_EcdsaPublicKey pub;
+
+  if (NULL == ego)
+    return; // nothing to be done
+  rr = *ego_ctx;
+  if (NULL == rr)
+  {
+    // insert operation
+    GNUNET_assert (NULL != name);
+    GNUNET_IDENTITY_ego_get_public_key (ego, &pub);
+    id = GNUNET_CRYPTO_ecdsa_public_key_to_string (&pub);
+    gtk_list_store_insert_with_values (ls,
+                       &iter, G_MAXINT,
+                       IDENTITY_MC_NAME, name,
+                       IDENTITY_MC_IDENTIFIER, id,
+                       IDENTITY_MC_EGO, ego,
+                       -1);
+    GNUNET_free (id);
+    path = gtk_tree_model_get_path (GTK_TREE_MODEL (ls),
+                    &iter);
+    rr = gtk_tree_row_reference_new (GTK_TREE_MODEL (ls),
+                     path);
+    gtk_tree_path_free (path);
+    *ego_ctx = rr;
+  }
+  else if (NULL == name)
+  {
+    // delete operation
+    path = gtk_tree_row_reference_get_path (rr);
+    gtk_tree_row_reference_free (rr);
+    GNUNET_assert (gtk_tree_model_get_iter (GTK_TREE_MODEL (ls),
+                        &iter, path));
+    gtk_tree_path_free (path);
+    gtk_list_store_remove (ls, &iter);
+    *ego_ctx = NULL;
+  }
+  else
+  {
+    // rename operation
+    path = gtk_tree_row_reference_get_path (rr);
+    GNUNET_assert (gtk_tree_model_get_iter (GTK_TREE_MODEL (ls),
+                        &iter, path));
+    gtk_list_store_set (ls,
+            &iter,
+            IDENTITY_MC_NAME, name,
+            -1);
+    gtk_tree_path_free (path);
+  }
+  */
+}

Added: gnunet-qt/core/identity/identityService.h
===================================================================
--- gnunet-qt/core/identity/identityService.h                           (rev 0)
+++ gnunet-qt/core/identity/identityService.h   2014-05-31 22:20:12 UTC (rev 
33453)
@@ -0,0 +1,30 @@
+#ifndef IDENTITYSERVICE_H
+#define IDENTITYSERVICE_H
+
+#include <QObject>
+#include "core/gnunet/gnunet_includes.h"
+
+class IdentityService : public QObject
+{
+    Q_OBJECT
+public:
+    explicit IdentityService(QObject *parent = 0);
+
+    void start(GNUNET_CONFIGURATION_Handle *config);
+    static void add_ego_callback(void *cls, struct GNUNET_IDENTITY_Ego *ego, 
void **ego_ctx, const char *name);
+
+signals:
+
+public slots:
+
+
+private:
+        struct GNUNET_CONFIGURATION_Handle *m_config;
+        /**
+         * Handle to IDENTITY service.
+         */
+         struct GNUNET_IDENTITY_Handle *m_identityHandle;
+
+};
+
+#endif // IDENTITYSERVICE_H

Added: gnunet-qt/core/place.cpp
===================================================================
--- gnunet-qt/core/place.cpp                            (rev 0)
+++ gnunet-qt/core/place.cpp    2014-05-31 22:20:12 UTC (rev 33453)
@@ -0,0 +1,7 @@
+#include "place.h"
+
+Place::Place(QString key, QObject *parent) :
+    QObject(parent)
+{
+    m_key = key;
+}

Added: gnunet-qt/core/place.h
===================================================================
--- gnunet-qt/core/place.h                              (rev 0)
+++ gnunet-qt/core/place.h      2014-05-31 22:20:12 UTC (rev 33453)
@@ -0,0 +1,43 @@
+#ifndef PLACE_H
+#define PLACE_H
+
+#include <QObject>
+
+class Place : public QObject
+{
+    Q_OBJECT
+    Q_PROPERTY(QString name READ name WRITE setName NOTIFY nameChanged)
+public:
+    explicit Place(QString key, QObject *parent = 0);
+
+    //Index
+    int getIndex() const
+    { return m_index; }
+    void setIndex(int index)
+    {
+        m_index = index;
+    }
+
+    //Name
+    QString name() const
+    { return m_name; }
+    void setName(QString name)
+    {
+        m_name = name;
+    }
+
+private:
+    int m_index;
+    QString m_name;
+    QString m_key;
+
+signals:
+    void modifiedSignal(int index);
+    void nameChanged(QString name);
+
+
+public slots:
+
+};
+
+#endif // PLACE_H

Added: gnunet-qt/core/psyccore.cpp
===================================================================
--- gnunet-qt/core/psyccore.cpp                         (rev 0)
+++ gnunet-qt/core/psyccore.cpp 2014-05-31 22:20:12 UTC (rev 33453)
@@ -0,0 +1,114 @@
+#include "psyccore.h"
+#include "psyc.h"
+
+
+#include "models/models.h"
+#include "gnunet/gnunet.h"
+
+#include <QApplication>
+#include <QQuickWindow>
+#include <QMenu>
+
+
+/* Static member variables */
+PsycCore* theApp;
+
+PsycCore::PsycCore(QObject *parent) :
+    QObject(parent)
+{
+      theApp = this;
+      m_models = new Models(this);
+
+      //Finally start gnunet
+      startGNUNet();
+
+}
+
+/**
+ * @brief CangoteCore::startGNUNet Start the GNUNet part. It need to run in a 
different thread
+ */
+void PsycCore::startGNUNet()
+{
+  //Create the Gnunet object
+  m_gnunet = new GNUNet();
+
+  //New thread where the Gnunet will be run on.
+  m_gnunetThread = new QThread();
+
+  m_gnunet->moveToThread(m_gnunetThread);
+
+  // Call the start function after our thread is ready to run
+  connect(m_gnunetThread,
+          &QThread::started,
+          m_gnunet,
+          &GNUNet::start);
+
+  m_gnunetThread->start();
+
+  connect(m_gnunet, &GNUNet::connectedChanged, this, &PsycCore::setConnected, 
Qt::QueuedConnection);
+
+}
+
+
+void PsycCore::setupTray()
+{
+  // create the menu
+  m_trayMenu = new QMenu( QCoreApplication::instance()->applicationName() );
+  // add a horizontal line to the menu
+
+  m_trayMenu->addSeparator();
+  m_trayCloseAction = m_trayMenu->addAction("Close");
+  connect(m_trayCloseAction, &QAction::triggered, this, &PsycCore::close);
+
+
+
+  m_tray = new QSystemTrayIcon(QIcon(":/asserts/CangoteHead.ico"),theWindow); 
//Same as above
+  m_tray->setContextMenu(m_trayMenu);
+  m_tray->setVisible(true);
+
+  QObject::connect(m_tray, &QSystemTrayIcon::activated,this, 
&PsycCore::trayActivated );
+
+}
+
+
+void PsycCore::trayActivated(QSystemTrayIcon::ActivationReason reason)
+{
+  if(reason == QSystemTrayIcon::DoubleClick){
+      if(!theWindow->isVisible()){
+
+          theWindow->show();
+
+        }else{
+          onClose();
+        }
+    }
+}
+
+
+void PsycCore::setConnected(bool connected)
+{
+  m_connected = connected;
+
+  emit connectedChanged(m_connected);
+}
+
+
+/**
+ * @brief PsycCore::onClose
+ * Recivied close signal
+ */
+void PsycCore::onClose()
+{
+  theWindow->hide();
+
+}
+
+/**
+ * @brief PsycCore::close
+ * Actually close the applciation
+ */
+void PsycCore::close(){
+  //setAlive(false);
+  QApplication::quit();
+}
+

Added: gnunet-qt/core/psyccore.h
===================================================================
--- gnunet-qt/core/psyccore.h                           (rev 0)
+++ gnunet-qt/core/psyccore.h   2014-05-31 22:20:12 UTC (rev 33453)
@@ -0,0 +1,59 @@
+#ifndef PSYCCORE_H
+#define PSYCCORE_H
+
+#include <QObject>
+#include <QSystemTrayIcon>
+#include <QAction>
+
+class GNUNet;
+class Models;
+class PsycCore : public QObject
+{
+    Q_OBJECT
+    Q_PROPERTY(Models * models READ models CONSTANT)
+    Q_PROPERTY(bool connected READ isConnected WRITE setConnected NOTIFY 
connectedChanged)
+
+public:
+    explicit PsycCore(QObject *parent = 0);
+
+
+    Models* models() const
+        { return m_models; }
+
+
+    void setupTray();
+    Q_INVOKABLE void onClose();
+
+    void setConnected(bool connected);
+
+    bool isConnected() const
+    { return m_connected; }
+
+
+private:
+    Models* m_models;
+
+    GNUNet* m_gnunet;
+    QThread *m_gnunetThread;
+
+    QMenu* m_trayMenu;
+    QSystemTrayIcon* m_tray;
+    QAction* m_trayCloseAction;
+
+    //Store if the GNUNet service is connected
+    bool m_connected;
+
+
+    void close();
+    void startGNUNet();
+signals:
+    void connectedChanged(bool connected);
+
+public slots:
+    void trayActivated(QSystemTrayIcon::ActivationReason reason);
+};
+
+//Those are the externals visible to the whole application ( globals)
+
+extern PsycCore* theApp;
+#endif // PSYCCORE_H

Added: gnunet-qt/deployment.pri
===================================================================
--- gnunet-qt/deployment.pri                            (rev 0)
+++ gnunet-qt/deployment.pri    2014-05-31 22:20:12 UTC (rev 33453)
@@ -0,0 +1,27 @@
+android-no-sdk {
+    target.path = /data/user/qt
+    export(target.path)
+    INSTALLS += target
+} else:android {
+    x86 {
+        target.path = /libs/x86
+    } else: armeabi-v7a {
+        target.path = /libs/armeabi-v7a
+    } else {
+        target.path = /libs/armeabi
+    }
+    export(target.path)
+    INSTALLS += target
+} else:unix {
+    isEmpty(target.path) {
+        qnx {
+            target.path = /tmp/$${TARGET}/bin
+        } else {
+            target.path = /opt/$${TARGET}/bin
+        }
+        export(target.path)
+    }
+    INSTALLS += target
+}
+
+export(INSTALLS)

Added: gnunet-qt/main.cpp
===================================================================
--- gnunet-qt/main.cpp                          (rev 0)
+++ gnunet-qt/main.cpp  2014-05-31 22:20:12 UTC (rev 33453)
@@ -0,0 +1,44 @@
+#include <QApplication>
+#include <QQmlApplicationEngine>
+#include <QtQml>
+#include <QtQuick/QQuickView>
+
+#include "psyc.h"
+#include "core/psyccore.h"
+
+int main(int argc, char *argv[])
+{
+    QApplication app(argc, argv);
+    qWarning("Starting PSYC");
+
+    //Start our core object
+    Psyc psyc;
+
+
+    QQmlApplicationEngine 
engine(QUrl(QStringLiteral("qrc:///qml/Splash.qml")));
+
+
+    //Connect Window to quit signal
+    QObject *topLevel = engine.rootObjects().value(0);
+    theWindow = qobject_cast<QQuickWindow *>(topLevel);
+    if ( !theWindow ) {
+        qWarning("Error: Your root item has to be a Window.");
+        return -1;
+    }
+    QObject::connect(&engine, SIGNAL(quit()), &app, SLOT(quit()));
+
+
+    //Create the tray icon
+    theApp->setupTray();
+
+    theWindow->setTitle(QString("PSYC 2.0"));
+
+    theWindow->show();
+
+    return app.exec();
+
+
+
+
+
+}

Added: gnunet-qt/models/IdentityModel.cpp
===================================================================
--- gnunet-qt/models/IdentityModel.cpp                          (rev 0)
+++ gnunet-qt/models/IdentityModel.cpp  2014-05-31 22:20:12 UTC (rev 33453)
@@ -0,0 +1,174 @@
+/*
+     This file is part of SecureShare
+     (C) 2013 Bruno Cabral (and other contributing authors)
+
+     SecureShare is free software; you can redistribute it and/or modify
+     it under the terms of the GNU General Public License as published
+     by the Free Software Foundation; either version 3, or (at your
+     option) any later version.
+
+     SecureShare is distributed in the hope that it will be useful, but
+     WITHOUT ANY WARRANTY; without even the implied warranty of
+     MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
+     General Public License for more details.
+
+     You should have received a copy of the GNU General Public License
+     along with SecureShare; see the file COPYING.  If not, write to the
+     Free Software Foundation, Inc., 59 Temple Place - Suite 330,
+     Boston, MA 02111-1307, USA.
+*/
+
+
+#include <sstream>
+
+#include "models/PlacesModel.h"
+#include "core/place.h"
+
+#include <QQmlEngine>
+
+
+PlacesModel::PlacesModel(QObject *parent) :
+    QAbstractListModel(parent)
+{
+    //connect(this, &PlacesModel::addNewPeerSignal, this, 
&PlacesModel::addNewPeerSlot, Qt::BlockingQueuedConnection);
+    connect(this, &PlacesModel::addNewPeerSignal, this, 
&PlacesModel::addNewPeerSlot);
+}
+
+
+int PlacesModel::rowCount(const QModelIndex& parent) const
+{
+    return m_data.size();
+}
+
+
+bool PlacesModel::contains(QString id)
+{
+    return m_lookupIndex.contains(id);
+}
+
+
+QVariant PlacesModel::data(const QModelIndex& index, int role) const
+{
+    if (index.row() < 0 || index.row() >= m_data.count())
+        return QVariant();
+
+    Place* peer = m_data[index.row()];
+
+
+    switch(role)
+    {
+    case NAME:
+        return peer->name();
+        break;
+    default:
+        return QVariant::Invalid;
+    }
+
+
+    return QVariant::Invalid;
+}
+
+QHash<int, QByteArray> PlacesModel::roleNames() const {
+    QHash<int, QByteArray> roles;
+    roles[NAME]                   = "name";
+
+
+    return roles;
+}
+
+
+void PlacesModel::modifiedSlot(int indexRow)
+{
+    QModelIndex modelIndex = this->index(indexRow);
+
+    emit dataChanged(modelIndex, modelIndex);
+}
+
+/**
+ * @brief PlacesModel::add, add a new place to the model.
+ * @param key
+ * @return Return the new created place
+ */
+Place* PlacesModel::add(QString key)
+{
+    Place* peer = new Place(key);
+    peer->moveToThread(this->thread());
+    emit addNewPeerSignal(peer,key);
+    return peer;
+}
+
+
+/**
+ * @brief PlacesModel::addNewPeerSlot
+ * @param key, the place ID.
+ * @return return the same place as item
+ */
+Place* PlacesModel::addNewPeerSlot(Place* item, QString key)
+{
+
+    //Search if already exists
+    if (m_lookupIndex.contains(key))
+    {
+        return NULL;
+    }
+    else
+    {
+        int index = m_data.count();
+        beginInsertRows(QModelIndex(), index, index);
+        m_data.append(item);
+        item->setIndex(index);
+
+        //Notify modifications
+        connect(item, &Place::modifiedSignal,this, &PlacesModel::modifiedSlot);
+
+        m_lookupIndex[key] = index;
+        endInsertRows();
+        return item;
+    }
+
+
+}
+
+Place* PlacesModel::get(QString key)
+{
+    if (m_lookupIndex.contains(key))
+    {
+        Place* peer = m_data[m_lookupIndex[key]];
+        return peer;
+
+    }
+    else
+        return NULL;
+}
+
+Place* PlacesModel::get(QModelIndex index)
+{
+
+    if(getCount() < index.row())
+        return NULL;
+
+    return m_data[index.row()];
+}
+
+Place* PlacesModel::get(int index)
+{
+
+    if(getCount() < index)
+        return NULL;
+
+    Place *peer = m_data[index];
+
+    //Set he ownership so QML don't delete it.
+    QQmlEngine::setObjectOwnership(peer, QQmlEngine::CppOwnership);
+
+    return peer;
+}
+
+int PlacesModel::getCount()
+{
+    return m_data.count();
+}
+
+
+
+

Added: gnunet-qt/models/IdentityModel.h
===================================================================
--- gnunet-qt/models/IdentityModel.h                            (rev 0)
+++ gnunet-qt/models/IdentityModel.h    2014-05-31 22:20:12 UTC (rev 33453)
@@ -0,0 +1,72 @@
+/*
+     This file is part of SecureShare
+     (C) 2013 Bruno Cabral (and other contributing authors)
+
+     SecureShare is free software; you can redistribute it and/or modify
+     it under the terms of the GNU General Public License as published
+     by the Free Software Foundation; either version 3, or (at your
+     option) any later version.
+
+     SecureShare is distributed in the hope that it will be useful, but
+     WITHOUT ANY WARRANTY; without even the implied warranty of
+     MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
+     General Public License for more details.
+
+     You should have received a copy of the GNU General Public License
+     along with SecureShare; see the file COPYING.  If not, write to the
+     Free Software Foundation, Inc., 59 Temple Place - Suite 330,
+     Boston, MA 02111-1307, USA.
+*/
+
+#ifndef IDENTITYSMODEL_H
+#define IDENTITYMODEL_H
+
+#include <QAbstractTableModel>
+#include <QTimer>
+
+
+class Identity;
+class IdentityModel : public QAbstractListModel
+{
+    Q_OBJECT
+
+
+public:
+    enum IdentityRoles { NAME  = Qt::UserRole + 1, NB_PLACE_COLUMNS };
+
+
+public:
+    explicit IdentityModel(QObject *parent = 0);
+
+
+    Identity *add(QString key);
+    int getCount();
+    bool contains(QString id);
+
+    Q_INVOKABLE Identity *get(int index);
+    Identity *get(QModelIndex index);
+    Identity *get(QString key);
+
+signals:
+    void addNewIdentitySignal(Identity* item, QString key);
+    
+public slots:
+    void modifiedSlot(int indexRow);
+private slots:
+    Place *addNewIdentitySlot(Identity* item, QString name);
+
+
+private:
+    int rowCount(const QModelIndex& parent) const;
+    QVariant data(const QModelIndex& index, int role) const;
+    QHash<int, QByteArray> roleNames() const;
+
+private:
+    QHash<QString, int> m_lookupIndex;
+    QList<Place*> m_data;
+
+    
+
+};
+
+#endif // PLACESMODEL_H

Added: gnunet-qt/models/PlacesModel.cpp
===================================================================
--- gnunet-qt/models/PlacesModel.cpp                            (rev 0)
+++ gnunet-qt/models/PlacesModel.cpp    2014-05-31 22:20:12 UTC (rev 33453)
@@ -0,0 +1,174 @@
+/*
+     This file is part of SecureShare
+     (C) 2013 Bruno Cabral (and other contributing authors)
+
+     SecureShare is free software; you can redistribute it and/or modify
+     it under the terms of the GNU General Public License as published
+     by the Free Software Foundation; either version 3, or (at your
+     option) any later version.
+
+     SecureShare is distributed in the hope that it will be useful, but
+     WITHOUT ANY WARRANTY; without even the implied warranty of
+     MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
+     General Public License for more details.
+
+     You should have received a copy of the GNU General Public License
+     along with SecureShare; see the file COPYING.  If not, write to the
+     Free Software Foundation, Inc., 59 Temple Place - Suite 330,
+     Boston, MA 02111-1307, USA.
+*/
+
+
+#include <sstream>
+
+#include "models/PlacesModel.h"
+#include "core/place.h"
+
+#include <QQmlEngine>
+
+
+PlacesModel::PlacesModel(QObject *parent) :
+    QAbstractListModel(parent)
+{
+    //connect(this, &PlacesModel::addNewPeerSignal, this, 
&PlacesModel::addNewPeerSlot, Qt::BlockingQueuedConnection);
+    connect(this, &PlacesModel::addNewPeerSignal, this, 
&PlacesModel::addNewPeerSlot);
+}
+
+
+int PlacesModel::rowCount(const QModelIndex& parent) const
+{
+    return m_data.size();
+}
+
+
+bool PlacesModel::contains(QString id)
+{
+    return m_lookupIndex.contains(id);
+}
+
+
+QVariant PlacesModel::data(const QModelIndex& index, int role) const
+{
+    if (index.row() < 0 || index.row() >= m_data.count())
+        return QVariant();
+
+    Place* peer = m_data[index.row()];
+
+
+    switch(role)
+    {
+    case NAME:
+        return peer->name();
+        break;
+    default:
+        return QVariant::Invalid;
+    }
+
+
+    return QVariant::Invalid;
+}
+
+QHash<int, QByteArray> PlacesModel::roleNames() const {
+    QHash<int, QByteArray> roles;
+    roles[NAME]                   = "name";
+
+
+    return roles;
+}
+
+
+void PlacesModel::modifiedSlot(int indexRow)
+{
+    QModelIndex modelIndex = this->index(indexRow);
+
+    emit dataChanged(modelIndex, modelIndex);
+}
+
+/**
+ * @brief PlacesModel::add, add a new place to the model.
+ * @param key
+ * @return Return the new created place
+ */
+Place* PlacesModel::add(QString key)
+{
+    Place* peer = new Place(key);
+    peer->moveToThread(this->thread());
+    emit addNewPeerSignal(peer,key);
+    return peer;
+}
+
+
+/**
+ * @brief PlacesModel::addNewPeerSlot
+ * @param key, the place ID.
+ * @return return the same place as item
+ */
+Place* PlacesModel::addNewPeerSlot(Place* item, QString key)
+{
+
+    //Search if already exists
+    if (m_lookupIndex.contains(key))
+    {
+        return NULL;
+    }
+    else
+    {
+        int index = m_data.count();
+        beginInsertRows(QModelIndex(), index, index);
+        m_data.append(item);
+        item->setIndex(index);
+
+        //Notify modifications
+        connect(item, &Place::modifiedSignal,this, &PlacesModel::modifiedSlot);
+
+        m_lookupIndex[key] = index;
+        endInsertRows();
+        return item;
+    }
+
+
+}
+
+Place* PlacesModel::get(QString key)
+{
+    if (m_lookupIndex.contains(key))
+    {
+        Place* peer = m_data[m_lookupIndex[key]];
+        return peer;
+
+    }
+    else
+        return NULL;
+}
+
+Place* PlacesModel::get(QModelIndex index)
+{
+
+    if(getCount() < index.row())
+        return NULL;
+
+    return m_data[index.row()];
+}
+
+Place* PlacesModel::get(int index)
+{
+
+    if(getCount() < index)
+        return NULL;
+
+    Place *peer = m_data[index];
+
+    //Set he ownership so QML don't delete it.
+    QQmlEngine::setObjectOwnership(peer, QQmlEngine::CppOwnership);
+
+    return peer;
+}
+
+int PlacesModel::getCount()
+{
+    return m_data.count();
+}
+
+
+
+

Added: gnunet-qt/models/PlacesModel.h
===================================================================
--- gnunet-qt/models/PlacesModel.h                              (rev 0)
+++ gnunet-qt/models/PlacesModel.h      2014-05-31 22:20:12 UTC (rev 33453)
@@ -0,0 +1,72 @@
+/*
+     This file is part of SecureShare
+     (C) 2013 Bruno Cabral (and other contributing authors)
+
+     SecureShare is free software; you can redistribute it and/or modify
+     it under the terms of the GNU General Public License as published
+     by the Free Software Foundation; either version 3, or (at your
+     option) any later version.
+
+     SecureShare is distributed in the hope that it will be useful, but
+     WITHOUT ANY WARRANTY; without even the implied warranty of
+     MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
+     General Public License for more details.
+
+     You should have received a copy of the GNU General Public License
+     along with SecureShare; see the file COPYING.  If not, write to the
+     Free Software Foundation, Inc., 59 Temple Place - Suite 330,
+     Boston, MA 02111-1307, USA.
+*/
+
+#ifndef PLACESMODEL_H
+#define PLACESMODEL_H
+
+#include <QAbstractTableModel>
+#include <QTimer>
+
+
+class Place;
+class PlacesModel : public QAbstractListModel
+{
+    Q_OBJECT
+
+
+public:
+    enum PlaceRoles { NAME  = Qt::UserRole + 1, NB_PLACE_COLUMNS };
+
+
+public:
+    explicit PlacesModel(QObject *parent = 0);
+    struct Bandwidth_Info_Struct *getTotalBandwidth();
+
+    Place *add(QString key);
+    int getCount();
+    bool contains(QString id);
+
+    Q_INVOKABLE Place *get(int index);
+    Place *get(QModelIndex index);
+    Place *get(QString key);
+
+signals:
+    void addNewPeerSignal(Place* item, QString key);
+    
+public slots:
+    void modifiedSlot(int indexRow);
+private slots:
+    Place *addNewPeerSlot(Place* item, QString name);
+
+
+private:
+    int rowCount(const QModelIndex& parent) const;
+    QVariant data(const QModelIndex& index, int role) const;
+    QHash<int, QByteArray> roleNames() const;
+
+private:
+    QHash<QString, int> m_lookupIndex;
+    QList<Place*> m_data;
+
+    
+
+};
+
+#endif // PLACESMODEL_H

Added: gnunet-qt/models/models.cpp
===================================================================
--- gnunet-qt/models/models.cpp                         (rev 0)
+++ gnunet-qt/models/models.cpp 2014-05-31 22:20:12 UTC (rev 33453)
@@ -0,0 +1,46 @@
+/**************************************************************************
+** This file is part of SecureShare
+** (C)2/24/2013 2013 Bruno Cabral (and other contributing authors)
+**
+** SecureShare is free software; you can redistribute it and/or modify
+** it under the terms of the GNU General Public License as published
+** by the Free Software Foundation; either version 3, or (at your
+** option) any later version.
+**
+** SecureShare is distributed in the hope that it will be useful, but
+** WITHOUT ANY WARRANTY; without even the implied warranty of
+** MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
+** General Public License for more details.
+**
+** You should have received a copy of the GNU General Public License
+** along with SecureShare; see the file COPYING.  If not, write to the
+** Free Software Foundation, Inc., 59 Temple Place - Suite 330,
+** Boston, MA 02111-1307, USA.
+**************************************************************************/
+
+#include "models.h"
+#include "models/PlacesModel.h"
+#include "core/place.h"
+
+Models::Models(QObject *parent) :
+    QObject(parent)
+{
+
+    m_places = new PlacesModel(this);
+    test();
+}
+
+Models::~Models()
+{
+    delete m_places;
+    m_places = NULL;
+}
+
+
+void Models::test()
+{
+
+    Place* place = m_places->add("test");
+    place->setName("#test");
+
+}

Added: gnunet-qt/models/models.h
===================================================================
--- gnunet-qt/models/models.h                           (rev 0)
+++ gnunet-qt/models/models.h   2014-05-31 22:20:12 UTC (rev 33453)
@@ -0,0 +1,53 @@
+/**************************************************************************
+** This file is part of SecureShare
+** (C)2/24/2013 2013 Bruno Cabral (and other contributing authors)
+**
+** SecureShare is free software; you can redistribute it and/or modify
+** it under the terms of the GNU General Public License as published
+** by the Free Software Foundation; either version 3, or (at your
+** option) any later version.
+**
+** SecureShare is distributed in the hope that it will be useful, but
+** WITHOUT ANY WARRANTY; without even the implied warranty of
+** MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
+** General Public License for more details.
+**
+** You should have received a copy of the GNU General Public License
+** along with SecureShare; see the file COPYING.  If not, write to the
+** Free Software Foundation, Inc., 59 Temple Place - Suite 330,
+** Boston, MA 02111-1307, USA.
+**************************************************************************/
+
+#ifndef MODELS_H
+#define MODELS_H
+
+#include <QObject>
+
+
+class PlacesModel;
+class Models : public QObject
+{
+    Q_OBJECT
+    Q_PROPERTY(PlacesModel * placesModel READ placesModel NOTIFY 
placesModelChanged)
+
+public:
+    explicit Models(QObject *parent = 0);
+    ~Models();
+
+    PlacesModel* placesModel() const
+    { return m_places; }
+
+    void test();
+signals:
+    void placesModelChanged(PlacesModel*);
+public slots:
+
+private:
+
+    PlacesModel* m_places;
+
+};
+
+#endif // MODELS_H
+
+

Added: gnunet-qt/preferences/preferences.cpp
===================================================================
--- gnunet-qt/preferences/preferences.cpp                               (rev 0)
+++ gnunet-qt/preferences/preferences.cpp       2014-05-31 22:20:12 UTC (rev 
33453)
@@ -0,0 +1,45 @@
+/*
+     This file is part of PYSC
+     (C) 2014 Bruno Cabral (and other contributing authors)
+     
+     PYSC is free software; you can redistribute it and/or modify
+     it under the terms of the GNU General Public License as published
+     by the Free Software Foundation; either version 3, or (at your
+     option) any later version.
+     
+     PYSC is distributed in the hope that it will be useful, but
+     WITHOUT ANY WARRANTY; without even the implied warranty of
+     MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
+     General Public License for more details.
+     
+     You should have received a copy of the GNU General Public License
+     along with SecureShare; see the file COPYING.  If not, write to the
+     Free Software Foundation, Inc., 59 Temple Place - Suite 330,
+     Boston, MA 02111-1307, USA.
+*/
+
+#include "preferences.h"
+#include <QSettings>
+#include <QFile>
+#include <QFileInfo>
+#include <QDir>
+Preferences::Preferences(QObject *parent) :
+  QSettings(QSettings::IniFormat, QSettings::UserScope,"PYSC","PYSC", parent)
+{
+
+  sync();
+
+}
+
+void Preferences::save()
+{
+
+  sync();
+}
+
+
+
+
+
+
+

Added: gnunet-qt/preferences/preferences.h
===================================================================
--- gnunet-qt/preferences/preferences.h                         (rev 0)
+++ gnunet-qt/preferences/preferences.h 2014-05-31 22:20:12 UTC (rev 33453)
@@ -0,0 +1,94 @@
+/*
+     This file is part of PYSC
+     (C) 2014 Bruno Cabral (and other contributing authors)
+     
+     PYSC is free software; you can redistribute it and/or modify
+     it under the terms of the GNU General Public License as published
+     by the Free Software Foundation; either version 3, or (at your
+     option) any later version.
+     
+     SecureShare is distributed in the hope that it will be useful, but
+     WITHOUT ANY WARRANTY; without even the implied warranty of
+     MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
+     General Public License for more details.
+     
+     You should have received a copy of the GNU General Public License
+     along with SecureShare; see the file COPYING.  If not, write to the
+     Free Software Foundation, Inc., 59 Temple Place - Suite 330,
+     Boston, MA 02111-1307, USA.
+*/
+
+#ifndef PREFERENCES_H
+#define PREFERENCES_H
+
+#include <QObject>
+#include <QDebug>
+#include <QSettings>
+#include <QStandardPaths>
+#include <QDir>
+
+class Preferences : public QSettings
+{
+  Q_OBJECT
+  Q_DISABLE_COPY (Preferences)
+
+
+  /*
+   *
+   * GENERAL
+   *
+   *
+   */
+  Q_PROPERTY(bool minimizeToTray READ minimizeToTray WRITE setMinimizeToTray 
NOTIFY minimizeToTrayChangedSignal)
+
+
+
+
+public:
+  explicit Preferences(QObject *parent = 0);
+
+
+
+
+  /*
+   *
+   * GENERAL
+   *
+   *
+   */
+
+
+  bool minimizeToTray()
+  {
+
+    return value("core/minimizeToTray",true).toBool();
+  }
+
+  void setMinimizeToTray(bool flag)
+  {
+
+    setValue("core/minimizeToTray",flag);
+    emit minimizeToTrayChangedSignal(flag);
+  }
+
+
+  Q_INVOKABLE void save();
+
+signals:
+  /*
+   *
+   * GENERAL
+   *
+   *
+   */
+
+  void minimizeToTrayChangedSignal(bool flag);
+
+
+
+public slots:
+
+
+};
+
+#endif // PREFERENCES_H

Added: gnunet-qt/psyc.cpp
===================================================================
--- gnunet-qt/psyc.cpp                          (rev 0)
+++ gnunet-qt/psyc.cpp  2014-05-31 22:20:12 UTC (rev 33453)
@@ -0,0 +1,63 @@
+#include "psyc.h"
+
+#include "preferences/preferences.h"
+#include "core/psyccore.h"
+#include "models/models.h"
+#include "models/PlacesModel.h"
+
+
+#include <QQmlEngine>
+#include <QtQml/qqml.h>
+
+
+/* Static member variables */
+Preferences* thePrefs;
+QQuickWindow* theWindow;
+
+
+#define URI "Psyc"
+
+Psyc::Psyc(QObject *parent) :
+    QObject(parent)
+{
+    thePrefs = new Preferences(this);
+    m_core = new PsycCore(this);
+    registerQmlTypes();
+}
+
+
+//Define the theApp singleton type provider.
+static QObject *theApp_provider(QQmlEngine *engine, QJSEngine *scriptEngine)
+{
+    Q_UNUSED(engine);
+    Q_UNUSED(scriptEngine);
+
+
+    return theApp;
+}
+
+
+static QObject *thePrefs_provider(QQmlEngine *engine, QJSEngine *scriptEngine)
+{
+    Q_UNUSED(engine);
+    Q_UNUSED(scriptEngine);
+
+
+    return thePrefs;
+}
+
+
+
+
+void Psyc::registerQmlTypes()
+{
+
+    qmlRegisterSingletonType<PsycCore>(URI, 1, 0, "Preferences", 
thePrefs_provider);
+    qmlRegisterSingletonType<PsycCore>(URI, 1, 0, "Psyc", theApp_provider);
+
+    qmlRegisterUncreatableType<Models>(URI, 1, 0, "Models", QLatin1String("Use 
calling the psyc method."));
+    qmlRegisterUncreatableType<PlacesModel>(URI, 1, 0, "PlacesModel", 
QLatin1String("Use calling the psyc method."));
+
+
+
+}

Added: gnunet-qt/psyc.h
===================================================================
--- gnunet-qt/psyc.h                            (rev 0)
+++ gnunet-qt/psyc.h    2014-05-31 22:20:12 UTC (rev 33453)
@@ -0,0 +1,25 @@
+#ifndef PSYC_H
+#define PSYC_H
+
+#include <QObject>
+
+class Preferences;
+class QQuickWindow;
+class PsycCore;
+class Psyc : public QObject
+{
+    Q_OBJECT
+public:
+    explicit Psyc(QObject *parent = 0);
+    void registerQmlTypes();
+private:
+    PsycCore *m_core;
+
+signals:
+
+public slots:
+
+};
+extern Preferences* thePrefs;
+extern QQuickWindow* theWindow;
+#endif // PSYC_H

Added: gnunet-qt/qml/ConversationTab.qml
===================================================================
--- gnunet-qt/qml/ConversationTab.qml                           (rev 0)
+++ gnunet-qt/qml/ConversationTab.qml   2014-05-31 22:20:12 UTC (rev 33453)
@@ -0,0 +1,110 @@
+import QtQuick 2.1
+import QtQuick.Window 2.1
+import QtQuick.Controls 1.2
+import QtQuick.Layouts 1.1
+import QtQuick.Controls.Styles 1.2
+
+
+
+Tab {
+    anchors.fill: parent
+
+
+
+    ColumnLayout{
+        anchors.fill:parent
+
+        Item{
+            id:header
+            Layout.fillWidth: true
+            Layout.minimumHeight: 30
+
+            Image {
+                id: icon
+                source: "qrc:///qml/images/chat.png"
+                height: 16
+                width: 16
+                anchors.verticalCenter: parent.verticalCenter
+                anchors.left: parent.left
+                anchors.margins: 5
+            }
+            Text {
+                id: name
+                anchors.left: icon.right
+                text: qsTr("#PSYC2")
+            }
+            Text {
+                id: description
+                anchors.left: icon.right
+                anchors.top: name.bottom
+                text: qsTr("ENCRYPTION IS ANTISOCIAL! http://secushare.org";)
+                font.pointSize: 7
+                color: "lightgrey"
+            }
+
+        }
+
+
+        SplitView {
+            Layout.fillWidth: true
+            Layout.fillHeight: true
+            orientation: Qt.Horizontal
+
+
+
+
+                TextArea {
+                    id: centerItem
+                    Layout.minimumWidth: 50
+                    Layout.fillWidth: true
+                    textFormat: TextEdit.RichText
+                    readOnly: true
+                    text: "
+(12:23:22 PM) <b>lynX:</b> like me<br/>"+
+"(12:23:26 PM) <b>tg:</b> if you know qml it's easier to do it directly in qml"
+                }
+
+
+
+
+            Rectangle {
+                width: 200
+                color: "gray"
+                ColumnLayout{
+                    anchors.fill:parent
+                    Label {
+                        id: peopleNumber
+                        anchors.horizontalCenter: parent.horizontalCenter
+                        text: qsTr("3 people in room")
+                        color: "white"
+                    }
+                    TableView{
+                        id:users
+                        Layout.fillWidth: true
+                        Layout.fillHeight: true
+                        headerVisible:false
+
+                        TableViewColumn{ role: "title"  ; title: "Title" ; 
width: 100 }
+                        model:
+                            ListModel {
+                               ListElement{ title: "bratao1" }
+                               ListElement{ title: "lynX" }
+                               ListElement{ title: "tg"  }
+                            }
+
+                    }
+
+                }
+
+            }
+        }
+
+        TextArea{
+            Layout.fillWidth: true
+            Layout.minimumHeight: 70
+            Layout.preferredHeight: 70
+
+        }
+
+    }
+}

Added: gnunet-qt/qml/ConversationWindow.qml
===================================================================
--- gnunet-qt/qml/ConversationWindow.qml                                (rev 0)
+++ gnunet-qt/qml/ConversationWindow.qml        2014-05-31 22:20:12 UTC (rev 
33453)
@@ -0,0 +1,64 @@
+import QtQuick 2.1
+import QtQuick.Window 2.1
+import QtQuick.Controls 1.2
+import QtQuick.Layouts 1.1
+import QtQuick.Controls.Styles 1.2
+
+import Psyc 1.0
+
+ApplicationWindow {
+    id: conversationWnd
+    width: 950
+    height: 600
+    color: "lightgrey"
+    title: "All conversations"
+
+    menuBar: MenuBar {
+        Menu {
+            title: qsTr("Conversation")
+            MenuItem {
+                text: qsTr("Quit")
+            }
+        }
+        Menu {
+            title: qsTr("Options")
+            MenuItem {
+                text: qsTr("Quit")
+            }
+        }
+    }
+
+
+
+    TabView{
+        id: conversationTab
+        anchors.fill: parent
+
+        ConversationTab{
+            title: "test"
+
+        }
+
+        style: TabViewStyle {
+                frameOverlap: 1
+                tab: Rectangle {
+                    color: styleData.selected ? "steelblue" :"lightsteelblue"
+                    border.color:  "steelblue"
+                    implicitWidth: Math.max(text.width + 4, 80)
+                    implicitHeight: 20
+                    radius: 2
+                    Text {
+                        id: text
+                        anchors.centerIn: parent
+                        text: styleData.title
+                        color: styleData.selected ? "white" : "black"
+                    }
+                }
+                frame: Rectangle { color: "steelblue" }
+            }
+
+
+    }
+
+
+}

Added: gnunet-qt/qml/Splash.qml
===================================================================
--- gnunet-qt/qml/Splash.qml                            (rev 0)
+++ gnunet-qt/qml/Splash.qml    2014-05-31 22:20:12 UTC (rev 33453)
@@ -0,0 +1,22 @@
+import QtQuick 2.2
+import QtQuick.Controls 1.1
+import QtQuick.Layouts 1.1
+import Psyc 1.0
+
+ApplicationWindow {
+    visible: true
+    width: 444
+    height: 400
+    id:splashWnd
+
+
+    ColumnLayout{
+        Image {
+            id: imageSplash
+            source: "qrc:///assets/banner.png"
+        }
+
+    }
+
+
+}

Added: gnunet-qt/qml/Splash.qml.autosave
===================================================================
--- gnunet-qt/qml/Splash.qml.autosave                           (rev 0)
+++ gnunet-qt/qml/Splash.qml.autosave   2014-05-31 22:20:12 UTC (rev 33453)
@@ -0,0 +1,22 @@
+import QtQuick 2.2
+import QtQuick.Controls 1.1
+import QtQuick.Layouts 1.1
+import Psyc 1.0
+
+ApplicationWindow {
+    visible: true
+    width: 444
+    height: 400
+    id:splashWnd
+
+
+    ColumnLayout{
+        Image {
+            id: imageSplash
+            source: "qrc:///assets/banner.png"
+        }
+
+    }
+
+
+}

Added: gnunet-qt/qml/images/chat.png
===================================================================
(Binary files differ)

Index: gnunet-qt/qml/images/chat.png
===================================================================
--- gnunet-qt/qml/images/chat.png       2014-05-31 21:48:01 UTC (rev 33452)
+++ gnunet-qt/qml/images/chat.png       2014-05-31 22:20:12 UTC (rev 33453)

Property changes on: gnunet-qt/qml/images/chat.png
___________________________________________________________________
Added: svn:mime-type
## -0,0 +1 ##
+application/octet-stream
\ No newline at end of property
Added: gnunet-qt/qml/images/person.png
===================================================================
(Binary files differ)

Index: gnunet-qt/qml/images/person.png
===================================================================
--- gnunet-qt/qml/images/person.png     2014-05-31 21:48:01 UTC (rev 33452)
+++ gnunet-qt/qml/images/person.png     2014-05-31 22:20:12 UTC (rev 33453)

Property changes on: gnunet-qt/qml/images/person.png
___________________________________________________________________
Added: svn:mime-type
## -0,0 +1 ##
+application/octet-stream
\ No newline at end of property
Added: gnunet-qt/qml/main.qml
===================================================================
--- gnunet-qt/qml/main.qml                              (rev 0)
+++ gnunet-qt/qml/main.qml      2014-05-31 22:20:12 UTC (rev 33453)
@@ -0,0 +1,81 @@
+import QtQuick 2.2
+import QtQuick.Controls 1.1
+import QtQuick.Layouts 1.1
+import Psyc 1.0
+
+ApplicationWindow {
+    visible: true
+    width: 300
+    height: 600
+
+    menuBar: MenuBar {
+        Menu {
+            title: qsTr("File")
+            MenuItem {
+                text: qsTr("Exit")
+                onTriggered: Qt.quit();
+            }
+        }
+    }
+
+
+    ConversationWindow{
+        id: conversationWnd
+    }
+
+
+
+
+    TableView {
+        TableViewColumn{ role: "title"  ; title: "Title" ; width: 100 }
+        model: Psyc.models.placesModel
+        anchors.fill: parent
+        headerVisible: false
+
+        rowDelegate: BorderImage {
+            visible: styleData.selected || styleData.alternate
+            source: "image://__tablerow/" + (styleData.alternate ? 
"alternate_" : "")
+                    + (styleData.selected ? "selected_" : "")
+                    + (styleData.hasActiveFocus ? "active" : "")
+            height: 30
+            border.left: 4 ; border.right: 4
+        }
+
+        itemDelegate: Item {
+            anchors.fill: parent
+
+            Image {
+                id: icon
+                anchors.left: parent.left
+                anchors.verticalCenter: parent.verticalCenter
+                anchors.margins: 5
+
+                source: "qrc:///qml/images/chat.png"
+                fillMode: Image.PreserveAspectFit
+                clip: true
+            }
+
+            Text {
+                anchors.left: icon.right
+                anchors.verticalCenter: parent.verticalCenter
+                anchors.margins: 5
+
+                color: styleData.textColor
+                elide: styleData.elideMode
+                text: styleData.value
+            }
+
+
+        }
+
+        onDoubleClicked:{
+            conversationWnd.show()
+
+        }
+
+
+
+    }
+
+
+}

Added: gnunet-qt/qml.qrc
===================================================================
--- gnunet-qt/qml.qrc                           (rev 0)
+++ gnunet-qt/qml.qrc   2014-05-31 22:20:12 UTC (rev 33453)
@@ -0,0 +1,11 @@
+<RCC>
+    <qresource prefix="/">
+        <file>qml/main.qml</file>
+        <file>qml/images/chat.png</file>
+        <file>qml/images/person.png</file>
+        <file>qml/ConversationWindow.qml</file>
+        <file>qml/ConversationTab.qml</file>
+        <file>qml/Splash.qml</file>
+        <file>assets/banner.png</file>
+    </qresource>
+</RCC>




reply via email to

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