浏览代码

clean

master
Robin Thoni 10 年前
父节点
当前提交
4c5e6a0882
共有 5 个文件被更改,包括 0 次插入705 次删除
  1. 0
    245
      intrabocal/intrabocal.pro.user
  2. 0
    13
      intrabocal/main.cpp~
  3. 0
    176
      netsoul/usertreewidget.cpp~
  4. 0
    245
      ns_finder/ns_finder.pro.user
  5. 0
    26
      usermgr/widget.h~

+ 0
- 245
intrabocal/intrabocal.pro.user 查看文件

@@ -1,245 +0,0 @@
1
-<?xml version="1.0" encoding="UTF-8"?>
2
-<!DOCTYPE QtCreatorProject>
3
-<!-- Written by QtCreator 2.8.0, 2013-09-18T22:21:50. -->
4
-<qtcreator>
5
- <data>
6
-  <variable>ProjectExplorer.Project.ActiveTarget</variable>
7
-  <value type="int">0</value>
8
- </data>
9
- <data>
10
-  <variable>ProjectExplorer.Project.EditorSettings</variable>
11
-  <valuemap type="QVariantMap">
12
-   <value type="bool" key="EditorConfiguration.AutoIndent">true</value>
13
-   <value type="bool" key="EditorConfiguration.AutoSpacesForTabs">false</value>
14
-   <value type="bool" key="EditorConfiguration.CamelCaseNavigation">true</value>
15
-   <valuemap type="QVariantMap" key="EditorConfiguration.CodeStyle.0">
16
-    <value type="QString" key="language">Cpp</value>
17
-    <valuemap type="QVariantMap" key="value">
18
-     <value type="QString" key="CurrentPreferences">CppGlobal</value>
19
-    </valuemap>
20
-   </valuemap>
21
-   <valuemap type="QVariantMap" key="EditorConfiguration.CodeStyle.1">
22
-    <value type="QString" key="language">QmlJS</value>
23
-    <valuemap type="QVariantMap" key="value">
24
-     <value type="QString" key="CurrentPreferences">QmlJSGlobal</value>
25
-    </valuemap>
26
-   </valuemap>
27
-   <value type="int" key="EditorConfiguration.CodeStyle.Count">2</value>
28
-   <value type="QByteArray" key="EditorConfiguration.Codec">UTF-8</value>
29
-   <value type="bool" key="EditorConfiguration.ConstrainTooltips">false</value>
30
-   <value type="int" key="EditorConfiguration.IndentSize">4</value>
31
-   <value type="bool" key="EditorConfiguration.KeyboardTooltips">false</value>
32
-   <value type="bool" key="EditorConfiguration.MouseNavigation">true</value>
33
-   <value type="int" key="EditorConfiguration.PaddingMode">1</value>
34
-   <value type="bool" key="EditorConfiguration.ScrollWheelZooming">true</value>
35
-   <value type="int" key="EditorConfiguration.SmartBackspaceBehavior">0</value>
36
-   <value type="bool" key="EditorConfiguration.SpacesForTabs">true</value>
37
-   <value type="int" key="EditorConfiguration.TabKeyBehavior">0</value>
38
-   <value type="int" key="EditorConfiguration.TabSize">8</value>
39
-   <value type="bool" key="EditorConfiguration.UseGlobal">true</value>
40
-   <value type="int" key="EditorConfiguration.Utf8BomBehavior">1</value>
41
-   <value type="bool" key="EditorConfiguration.addFinalNewLine">true</value>
42
-   <value type="bool" key="EditorConfiguration.cleanIndentation">true</value>
43
-   <value type="bool" key="EditorConfiguration.cleanWhitespace">true</value>
44
-   <value type="bool" key="EditorConfiguration.inEntireDocument">false</value>
45
-  </valuemap>
46
- </data>
47
- <data>
48
-  <variable>ProjectExplorer.Project.PluginSettings</variable>
49
-  <valuemap type="QVariantMap"/>
50
- </data>
51
- <data>
52
-  <variable>ProjectExplorer.Project.Target.0</variable>
53
-  <valuemap type="QVariantMap">
54
-   <value type="QString" key="ProjectExplorer.ProjectConfiguration.DefaultDisplayName">Desktop</value>
55
-   <value type="QString" key="ProjectExplorer.ProjectConfiguration.DisplayName">Desktop</value>
56
-   <value type="QString" key="ProjectExplorer.ProjectConfiguration.Id">{996ad625-e724-4eb7-9ef9-5382382aeea5}</value>
57
-   <value type="int" key="ProjectExplorer.Target.ActiveBuildConfiguration">0</value>
58
-   <value type="int" key="ProjectExplorer.Target.ActiveDeployConfiguration">0</value>
59
-   <value type="int" key="ProjectExplorer.Target.ActiveRunConfiguration">0</value>
60
-   <valuemap type="QVariantMap" key="ProjectExplorer.Target.BuildConfiguration.0">
61
-    <valuemap type="QVariantMap" key="ProjectExplorer.BuildConfiguration.BuildStepList.0">
62
-     <valuemap type="QVariantMap" key="ProjectExplorer.BuildStepList.Step.0">
63
-      <value type="bool" key="ProjectExplorer.BuildStep.Enabled">true</value>
64
-      <value type="QString" key="ProjectExplorer.ProjectConfiguration.DefaultDisplayName">qmake</value>
65
-      <value type="QString" key="ProjectExplorer.ProjectConfiguration.DisplayName"></value>
66
-      <value type="QString" key="ProjectExplorer.ProjectConfiguration.Id">QtProjectManager.QMakeBuildStep</value>
67
-      <value type="bool" key="QtProjectManager.QMakeBuildStep.LinkQmlDebuggingLibrary">false</value>
68
-      <value type="bool" key="QtProjectManager.QMakeBuildStep.LinkQmlDebuggingLibraryAuto">true</value>
69
-      <value type="QString" key="QtProjectManager.QMakeBuildStep.QMakeArguments"></value>
70
-      <value type="bool" key="QtProjectManager.QMakeBuildStep.QMakeForced">false</value>
71
-     </valuemap>
72
-     <valuemap type="QVariantMap" key="ProjectExplorer.BuildStepList.Step.1">
73
-      <value type="bool" key="ProjectExplorer.BuildStep.Enabled">true</value>
74
-      <value type="QString" key="ProjectExplorer.ProjectConfiguration.DefaultDisplayName">Make</value>
75
-      <value type="QString" key="ProjectExplorer.ProjectConfiguration.DisplayName"></value>
76
-      <value type="QString" key="ProjectExplorer.ProjectConfiguration.Id">Qt4ProjectManager.MakeStep</value>
77
-      <valuelist type="QVariantList" key="Qt4ProjectManager.MakeStep.AutomaticallyAddedMakeArguments"/>
78
-      <value type="bool" key="Qt4ProjectManager.MakeStep.Clean">false</value>
79
-      <value type="QString" key="Qt4ProjectManager.MakeStep.MakeArguments"></value>
80
-      <value type="QString" key="Qt4ProjectManager.MakeStep.MakeCommand"></value>
81
-     </valuemap>
82
-     <value type="int" key="ProjectExplorer.BuildStepList.StepsCount">2</value>
83
-     <value type="QString" key="ProjectExplorer.ProjectConfiguration.DefaultDisplayName">Compiler</value>
84
-     <value type="QString" key="ProjectExplorer.ProjectConfiguration.DisplayName"></value>
85
-     <value type="QString" key="ProjectExplorer.ProjectConfiguration.Id">ProjectExplorer.BuildSteps.Build</value>
86
-    </valuemap>
87
-    <valuemap type="QVariantMap" key="ProjectExplorer.BuildConfiguration.BuildStepList.1">
88
-     <valuemap type="QVariantMap" key="ProjectExplorer.BuildStepList.Step.0">
89
-      <value type="bool" key="ProjectExplorer.BuildStep.Enabled">true</value>
90
-      <value type="QString" key="ProjectExplorer.ProjectConfiguration.DefaultDisplayName">Make</value>
91
-      <value type="QString" key="ProjectExplorer.ProjectConfiguration.DisplayName"></value>
92
-      <value type="QString" key="ProjectExplorer.ProjectConfiguration.Id">Qt4ProjectManager.MakeStep</value>
93
-      <valuelist type="QVariantList" key="Qt4ProjectManager.MakeStep.AutomaticallyAddedMakeArguments"/>
94
-      <value type="bool" key="Qt4ProjectManager.MakeStep.Clean">true</value>
95
-      <value type="QString" key="Qt4ProjectManager.MakeStep.MakeArguments">clean</value>
96
-      <value type="QString" key="Qt4ProjectManager.MakeStep.MakeCommand"></value>
97
-     </valuemap>
98
-     <value type="int" key="ProjectExplorer.BuildStepList.StepsCount">1</value>
99
-     <value type="QString" key="ProjectExplorer.ProjectConfiguration.DefaultDisplayName">Nettoyer</value>
100
-     <value type="QString" key="ProjectExplorer.ProjectConfiguration.DisplayName"></value>
101
-     <value type="QString" key="ProjectExplorer.ProjectConfiguration.Id">ProjectExplorer.BuildSteps.Clean</value>
102
-    </valuemap>
103
-    <value type="int" key="ProjectExplorer.BuildConfiguration.BuildStepListCount">2</value>
104
-    <value type="bool" key="ProjectExplorer.BuildConfiguration.ClearSystemEnvironment">false</value>
105
-    <valuelist type="QVariantList" key="ProjectExplorer.BuildConfiguration.UserEnvironmentChanges"/>
106
-    <value type="QString" key="ProjectExplorer.ProjectConfiguration.DefaultDisplayName">Debug</value>
107
-    <value type="QString" key="ProjectExplorer.ProjectConfiguration.DisplayName"></value>
108
-    <value type="QString" key="ProjectExplorer.ProjectConfiguration.Id">Qt4ProjectManager.Qt4BuildConfiguration</value>
109
-    <value type="int" key="Qt4ProjectManager.Qt4BuildConfiguration.BuildConfiguration">2</value>
110
-    <value type="QString" key="Qt4ProjectManager.Qt4BuildConfiguration.BuildDirectory">D:/prog/C++/bin/intrabocal</value>
111
-    <value type="bool" key="Qt4ProjectManager.Qt4BuildConfiguration.UseShadowBuild">true</value>
112
-   </valuemap>
113
-   <valuemap type="QVariantMap" key="ProjectExplorer.Target.BuildConfiguration.1">
114
-    <valuemap type="QVariantMap" key="ProjectExplorer.BuildConfiguration.BuildStepList.0">
115
-     <valuemap type="QVariantMap" key="ProjectExplorer.BuildStepList.Step.0">
116
-      <value type="bool" key="ProjectExplorer.BuildStep.Enabled">true</value>
117
-      <value type="QString" key="ProjectExplorer.ProjectConfiguration.DefaultDisplayName">qmake</value>
118
-      <value type="QString" key="ProjectExplorer.ProjectConfiguration.DisplayName"></value>
119
-      <value type="QString" key="ProjectExplorer.ProjectConfiguration.Id">QtProjectManager.QMakeBuildStep</value>
120
-      <value type="bool" key="QtProjectManager.QMakeBuildStep.LinkQmlDebuggingLibrary">false</value>
121
-      <value type="bool" key="QtProjectManager.QMakeBuildStep.LinkQmlDebuggingLibraryAuto">true</value>
122
-      <value type="QString" key="QtProjectManager.QMakeBuildStep.QMakeArguments"></value>
123
-      <value type="bool" key="QtProjectManager.QMakeBuildStep.QMakeForced">false</value>
124
-     </valuemap>
125
-     <valuemap type="QVariantMap" key="ProjectExplorer.BuildStepList.Step.1">
126
-      <value type="bool" key="ProjectExplorer.BuildStep.Enabled">true</value>
127
-      <value type="QString" key="ProjectExplorer.ProjectConfiguration.DefaultDisplayName">Make</value>
128
-      <value type="QString" key="ProjectExplorer.ProjectConfiguration.DisplayName"></value>
129
-      <value type="QString" key="ProjectExplorer.ProjectConfiguration.Id">Qt4ProjectManager.MakeStep</value>
130
-      <valuelist type="QVariantList" key="Qt4ProjectManager.MakeStep.AutomaticallyAddedMakeArguments"/>
131
-      <value type="bool" key="Qt4ProjectManager.MakeStep.Clean">false</value>
132
-      <value type="QString" key="Qt4ProjectManager.MakeStep.MakeArguments"></value>
133
-      <value type="QString" key="Qt4ProjectManager.MakeStep.MakeCommand"></value>
134
-     </valuemap>
135
-     <value type="int" key="ProjectExplorer.BuildStepList.StepsCount">2</value>
136
-     <value type="QString" key="ProjectExplorer.ProjectConfiguration.DefaultDisplayName">Compiler</value>
137
-     <value type="QString" key="ProjectExplorer.ProjectConfiguration.DisplayName"></value>
138
-     <value type="QString" key="ProjectExplorer.ProjectConfiguration.Id">ProjectExplorer.BuildSteps.Build</value>
139
-    </valuemap>
140
-    <valuemap type="QVariantMap" key="ProjectExplorer.BuildConfiguration.BuildStepList.1">
141
-     <valuemap type="QVariantMap" key="ProjectExplorer.BuildStepList.Step.0">
142
-      <value type="bool" key="ProjectExplorer.BuildStep.Enabled">true</value>
143
-      <value type="QString" key="ProjectExplorer.ProjectConfiguration.DefaultDisplayName">Make</value>
144
-      <value type="QString" key="ProjectExplorer.ProjectConfiguration.DisplayName"></value>
145
-      <value type="QString" key="ProjectExplorer.ProjectConfiguration.Id">Qt4ProjectManager.MakeStep</value>
146
-      <valuelist type="QVariantList" key="Qt4ProjectManager.MakeStep.AutomaticallyAddedMakeArguments"/>
147
-      <value type="bool" key="Qt4ProjectManager.MakeStep.Clean">true</value>
148
-      <value type="QString" key="Qt4ProjectManager.MakeStep.MakeArguments">clean</value>
149
-      <value type="QString" key="Qt4ProjectManager.MakeStep.MakeCommand"></value>
150
-     </valuemap>
151
-     <value type="int" key="ProjectExplorer.BuildStepList.StepsCount">1</value>
152
-     <value type="QString" key="ProjectExplorer.ProjectConfiguration.DefaultDisplayName">Nettoyer</value>
153
-     <value type="QString" key="ProjectExplorer.ProjectConfiguration.DisplayName"></value>
154
-     <value type="QString" key="ProjectExplorer.ProjectConfiguration.Id">ProjectExplorer.BuildSteps.Clean</value>
155
-    </valuemap>
156
-    <value type="int" key="ProjectExplorer.BuildConfiguration.BuildStepListCount">2</value>
157
-    <value type="bool" key="ProjectExplorer.BuildConfiguration.ClearSystemEnvironment">false</value>
158
-    <valuelist type="QVariantList" key="ProjectExplorer.BuildConfiguration.UserEnvironmentChanges"/>
159
-    <value type="QString" key="ProjectExplorer.ProjectConfiguration.DefaultDisplayName">Release</value>
160
-    <value type="QString" key="ProjectExplorer.ProjectConfiguration.DisplayName"></value>
161
-    <value type="QString" key="ProjectExplorer.ProjectConfiguration.Id">Qt4ProjectManager.Qt4BuildConfiguration</value>
162
-    <value type="int" key="Qt4ProjectManager.Qt4BuildConfiguration.BuildConfiguration">0</value>
163
-    <value type="QString" key="Qt4ProjectManager.Qt4BuildConfiguration.BuildDirectory">D:/prog/C++/bin/intrabocal</value>
164
-    <value type="bool" key="Qt4ProjectManager.Qt4BuildConfiguration.UseShadowBuild">true</value>
165
-   </valuemap>
166
-   <value type="int" key="ProjectExplorer.Target.BuildConfigurationCount">2</value>
167
-   <valuemap type="QVariantMap" key="ProjectExplorer.Target.DeployConfiguration.0">
168
-    <valuemap type="QVariantMap" key="ProjectExplorer.BuildConfiguration.BuildStepList.0">
169
-     <value type="int" key="ProjectExplorer.BuildStepList.StepsCount">0</value>
170
-     <value type="QString" key="ProjectExplorer.ProjectConfiguration.DefaultDisplayName">Déploiement</value>
171
-     <value type="QString" key="ProjectExplorer.ProjectConfiguration.DisplayName"></value>
172
-     <value type="QString" key="ProjectExplorer.ProjectConfiguration.Id">ProjectExplorer.BuildSteps.Deploy</value>
173
-    </valuemap>
174
-    <value type="int" key="ProjectExplorer.BuildConfiguration.BuildStepListCount">1</value>
175
-    <value type="QString" key="ProjectExplorer.ProjectConfiguration.DefaultDisplayName">Déployer localement</value>
176
-    <value type="QString" key="ProjectExplorer.ProjectConfiguration.DisplayName"></value>
177
-    <value type="QString" key="ProjectExplorer.ProjectConfiguration.Id">ProjectExplorer.DefaultDeployConfiguration</value>
178
-   </valuemap>
179
-   <value type="int" key="ProjectExplorer.Target.DeployConfigurationCount">1</value>
180
-   <valuemap type="QVariantMap" key="ProjectExplorer.Target.PluginSettings"/>
181
-   <valuemap type="QVariantMap" key="ProjectExplorer.Target.RunConfiguration.0">
182
-    <value type="bool" key="Analyzer.Project.UseGlobal">true</value>
183
-    <valuelist type="QVariantList" key="Analyzer.Valgrind.AddedSuppressionFiles"/>
184
-    <value type="bool" key="Analyzer.Valgrind.Callgrind.CollectBusEvents">false</value>
185
-    <value type="bool" key="Analyzer.Valgrind.Callgrind.CollectSystime">false</value>
186
-    <value type="bool" key="Analyzer.Valgrind.Callgrind.EnableBranchSim">false</value>
187
-    <value type="bool" key="Analyzer.Valgrind.Callgrind.EnableCacheSim">false</value>
188
-    <value type="bool" key="Analyzer.Valgrind.Callgrind.EnableEventToolTips">true</value>
189
-    <value type="double" key="Analyzer.Valgrind.Callgrind.MinimumCostRatio">0.01</value>
190
-    <value type="double" key="Analyzer.Valgrind.Callgrind.VisualisationMinimumCostRatio">10</value>
191
-    <value type="bool" key="Analyzer.Valgrind.FilterExternalIssues">true</value>
192
-    <value type="int" key="Analyzer.Valgrind.NumCallers">25</value>
193
-    <valuelist type="QVariantList" key="Analyzer.Valgrind.RemovedSuppressionFiles"/>
194
-    <value type="bool" key="Analyzer.Valgrind.TrackOrigins">true</value>
195
-    <value type="QString" key="Analyzer.Valgrind.ValgrindExecutable">valgrind</value>
196
-    <valuelist type="QVariantList" key="Analyzer.Valgrind.VisibleErrorKinds">
197
-     <value type="int">0</value>
198
-     <value type="int">1</value>
199
-     <value type="int">2</value>
200
-     <value type="int">3</value>
201
-     <value type="int">4</value>
202
-     <value type="int">5</value>
203
-     <value type="int">6</value>
204
-     <value type="int">7</value>
205
-     <value type="int">8</value>
206
-     <value type="int">9</value>
207
-     <value type="int">10</value>
208
-     <value type="int">11</value>
209
-     <value type="int">12</value>
210
-     <value type="int">13</value>
211
-     <value type="int">14</value>
212
-    </valuelist>
213
-    <value type="int" key="PE.EnvironmentAspect.Base">2</value>
214
-    <valuelist type="QVariantList" key="PE.EnvironmentAspect.Changes"/>
215
-    <value type="QString" key="ProjectExplorer.ProjectConfiguration.DefaultDisplayName">intrabocal</value>
216
-    <value type="QString" key="ProjectExplorer.ProjectConfiguration.DisplayName"></value>
217
-    <value type="QString" key="ProjectExplorer.ProjectConfiguration.Id">Qt4ProjectManager.Qt4RunConfiguration:D:/prog/C++/intrabocal/intrabocal.pro</value>
218
-    <value type="QString" key="Qt4ProjectManager.Qt4RunConfiguration.CommandLineArguments"></value>
219
-    <value type="QString" key="Qt4ProjectManager.Qt4RunConfiguration.ProFile">intrabocal.pro</value>
220
-    <value type="bool" key="Qt4ProjectManager.Qt4RunConfiguration.UseDyldImageSuffix">false</value>
221
-    <value type="bool" key="Qt4ProjectManager.Qt4RunConfiguration.UseTerminal">false</value>
222
-    <value type="QString" key="Qt4ProjectManager.Qt4RunConfiguration.UserWorkingDirectory"></value>
223
-    <value type="uint" key="RunConfiguration.QmlDebugServerPort">3768</value>
224
-    <value type="bool" key="RunConfiguration.UseCppDebugger">true</value>
225
-    <value type="bool" key="RunConfiguration.UseCppDebuggerAuto">false</value>
226
-    <value type="bool" key="RunConfiguration.UseMultiProcess">false</value>
227
-    <value type="bool" key="RunConfiguration.UseQmlDebugger">false</value>
228
-    <value type="bool" key="RunConfiguration.UseQmlDebuggerAuto">true</value>
229
-   </valuemap>
230
-   <value type="int" key="ProjectExplorer.Target.RunConfigurationCount">1</value>
231
-  </valuemap>
232
- </data>
233
- <data>
234
-  <variable>ProjectExplorer.Project.TargetCount</variable>
235
-  <value type="int">1</value>
236
- </data>
237
- <data>
238
-  <variable>ProjectExplorer.Project.Updater.EnvironmentId</variable>
239
-  <value type="QByteArray">{3074012e-28a1-4b99-a490-1fcbe7cc342f}</value>
240
- </data>
241
- <data>
242
-  <variable>ProjectExplorer.Project.Updater.FileVersion</variable>
243
-  <value type="int">14</value>
244
- </data>
245
-</qtcreator>

+ 0
- 13
intrabocal/main.cpp~ 查看文件

@@ -1,13 +0,0 @@
1
-#include "widget.h"
2
-#include <QApplication>
3
-#include "epimafia.h"
4
-
5
-int main(int argc, char *argv[])
6
-{
7
-    QTextCodec::setCodecForCStrings(QTextCodec::codecForName("UTF-8"));
8
-    QApplication a(argc, argv);
9
-    Widget w;
10
-    w.show();
11
-    
12
-    return a.exec();
13
-}

+ 0
- 176
netsoul/usertreewidget.cpp~ 查看文件

@@ -1,176 +0,0 @@
1
-#include "usertreewidget.h"
2
-
3
-UserTreeWidget::UserTreeWidget(QWidget *parent) : QTreeWidget(parent)
4
-{
5
-    QTreeWidgetItem* header = headerItem();
6
-    int c = 0;
7
-    header->setText(c++, "Login");
8
-    header->setText(c++, "IP");
9
-    header->setText(c++, "Location");
10
-    header->setText(c++, "State");
11
-    header->setText(c++, "Promo");
12
-    header->setText(c++, "Data");
13
-    header->setText(c++, "ID");
14
-    setRootIsDecorated(false);
15
-    setSortingEnabled(true);
16
-    setStyleSheet("QHeaderView::section\n{\ncolor: black;\n}");
17
-    connect(this, SIGNAL(itemDoubleClicked(QTreeWidgetItem*,int)), this, SLOT(itemDoubleClicked(QTreeWidgetItem*,int)));
18
-    sortByColumn(0, Qt::AscendingOrder);
19
-    setSelectionMode(QAbstractItemView::ExtendedSelection);
20
-    setContextMenuPolicy(Qt::CustomContextMenu);
21
-}
22
-
23
-NetSoul::User UserTreeWidget::getSelectedUser()
24
-{
25
-    if(!currentItem())
26
-        return NetSoul::User();
27
-    return qvariant_cast<NetSoul::User>(currentItem()->data(0, Qt::UserRole));
28
-}
29
-
30
-NetSoul::Users UserTreeWidget::getSelectedUsers()
31
-{
32
-    NetSoul::Users users;
33
-
34
-    foreach(QTreeWidgetItem* item, selectedItems())
35
-        users.append(qvariant_cast<NetSoul::User>(item->data(0, Qt::UserRole)));
36
-
37
-    return users;
38
-}
39
-
40
-void UserTreeWidget::updateUser(NetSoul::User user)
41
-{
42
-    bool found = false;
43
-    for(int i = 0; i < topLevelItemCount(); ++i)
44
-    {
45
-        QTreeWidgetItem* item = topLevelItem(i);
46
-        if(item->text(0) == user.login)
47
-        {
48
-            found = true;
49
-            if(item->data(1, Qt::UserRole).toString() == user.id || item->data(1, Qt::UserRole).isNull())
50
-            {
51
-                if(user.state != NetSoul::UserStateNotSet)
52
-                {
53
-                    if(user.state == NetSoul::Actif || user.state == NetSoul::Login)
54
-                        item->setIcon(0, QIcon(":/epimafia/icon_green.jpg"));
55
-                    else if(user.state == NetSoul::Away)
56
-                        item->setIcon(0, QIcon(":/epimafia/icon_blue.jpg"));
57
-                    else if(user.state == NetSoul::Lock)
58
-                        item->setIcon(0, QIcon(":/epimafia/icon_red.jpg"));
59
-                    else
60
-                    {
61
-                        for(int i = 0; i < topLevelItemCount(); ++i)
62
-                        {
63
-                            QTreeWidgetItem* an = topLevelItem(i);
64
-                            if(an != item && an->text(0) == user.login)
65
-                            {
66
-                                delete item;
67
-                                return;
68
-                            }
69
-                        }
70
-                        item->setIcon(0, QIcon(":/epimafia/icon.jpg"));
71
-                        for(int i = 1; i < 7; ++i)
72
-                            item->setText(i, "");
73
-                        return;
74
-                    }
75
-                    if(user.state != NetSoul::UnknownState)
76
-                        item->setText(3, NetSoul::getStringFromUserState(user.state));
77
-                    else
78
-                        item->setText(3, user.stateString);
79
-                }
80
-                QVariant v;
81
-                v.setValue(user);
82
-                item->setData(0, Qt::UserRole, v);
83
-                item->setData(1, Qt::UserRole, user.id);
84
-                if(!user.ip.isNull())
85
-                    item->setText(1, user.ip);
86
-                if(!user.location.isNull())
87
-                    item->setText(2, user.location);
88
-                if(!user.promo.isNull())
89
-                    item->setText(4, user.promo);
90
-                if(!user.data.isEmpty())
91
-                    item->setText(5, user.data);
92
-                if(!user.id.isNull())
93
-                    item->setText(6, user.id);
94
-                return;
95
-            }
96
-        }
97
-    }
98
-    if(found)
99
-        addUser(user);
100
-}
101
-
102
-void UserTreeWidget::updateUsers(NetSoul::Users users)
103
-{
104
-    foreach (NetSoul::User user, users)
105
-        updateUser(user);
106
-}
107
-
108
-void UserTreeWidget::addUser(NetSoul::User user)
109
-{
110
-    QTreeWidgetItem* item = new QTreeWidgetItem();
111
-    int c = 0;
112
-    item->setData(1, Qt::UserRole, user.id);
113
-    item->setText(c++, user.login);
114
-    item->setText(c++, user.ip);
115
-    item->setText(c++, user.location);
116
-    if(user.state != NetSoul::UnknownState)
117
-        item->setText(c++, NetSoul::getStringFromUserState(user.state));
118
-    else
119
-        item->setText(c++, user.stateString);
120
-    item->setText(c++, user.promo);
121
-    item->setText(c++, user.data);
122
-    item->setText(c++, user.id);
123
-    if(user.state == NetSoul::Actif || user.state == NetSoul::Login)
124
-        item->setIcon(0, QIcon(":/epimafia/icon_green.jpg"));
125
-    else if(user.state == NetSoul::Away)
126
-        item->setIcon(0, QIcon(":/epimafia/icon_blue.jpg"));
127
-    else if(user.state == NetSoul::Lock)
128
-        item->setIcon(0, QIcon(":/epimafia/icon_red.jpg"));
129
-    else
130
-        item->setIcon(0, QIcon(":/epimafia/icon.jpg"));
131
-    QVariant v;
132
-    v.setValue(user);
133
-    item->setData(0, Qt::UserRole, v);
134
-    addTopLevelItem(item);
135
-}
136
-
137
-void UserTreeWidget::addUsers(NetSoul::Users users)
138
-{
139
-    foreach(NetSoul::User user, users)
140
-        addUser(user);
141
-}
142
-
143
-void UserTreeWidget::remove(QStringList logins)
144
-{
145
-    for(int i = 0; i < topLevelItemCount(); ++i)
146
-    {
147
-        QTreeWidgetItem* item = topLevelItem(i);
148
-        if(logins.contains(item->text(0)))
149
-            delete item;
150
-    }
151
-}
152
-
153
-void UserTreeWidget::filter(QString text)
154
-{
155
-    for(int i = 0; i < topLevelItemCount(); ++i)
156
-        topLevelItem(i)->setHidden(!itemContains(topLevelItem(i), text));
157
-}
158
-
159
-void UserTreeWidget::resetUsers()
160
-{
161
-    for(int i = 0; i < topLevelItemCount(); ++i)
162
-        topLevelItem(i)->setIcon(0, QIcon(":/epimafia/icon.jpg"));
163
-}
164
-
165
-void UserTreeWidget::itemDoubleClicked(QTreeWidgetItem *item, int)
166
-{
167
-    emit userSelected(qvariant_cast<NetSoul::User>(item->data(0, Qt::UserRole)));
168
-}
169
-
170
-bool UserTreeWidget::itemContains(QTreeWidgetItem *item, QString text)
171
-{
172
-    for(int i = 0; i < item->columnCount(); ++i)
173
-        if(item->text(i).contains(text))
174
-            return true;
175
-    return false;
176
-}

+ 0
- 245
ns_finder/ns_finder.pro.user 查看文件

@@ -1,245 +0,0 @@
1
-<?xml version="1.0" encoding="UTF-8"?>
2
-<!DOCTYPE QtCreatorProject>
3
-<!-- Written by QtCreator 2.8.1, 2013-09-17T16:58:28. -->
4
-<qtcreator>
5
- <data>
6
-  <variable>ProjectExplorer.Project.ActiveTarget</variable>
7
-  <value type="int">0</value>
8
- </data>
9
- <data>
10
-  <variable>ProjectExplorer.Project.EditorSettings</variable>
11
-  <valuemap type="QVariantMap">
12
-   <value type="bool" key="EditorConfiguration.AutoIndent">true</value>
13
-   <value type="bool" key="EditorConfiguration.AutoSpacesForTabs">false</value>
14
-   <value type="bool" key="EditorConfiguration.CamelCaseNavigation">true</value>
15
-   <valuemap type="QVariantMap" key="EditorConfiguration.CodeStyle.0">
16
-    <value type="QString" key="language">Cpp</value>
17
-    <valuemap type="QVariantMap" key="value">
18
-     <value type="QString" key="CurrentPreferences">CppGlobal</value>
19
-    </valuemap>
20
-   </valuemap>
21
-   <valuemap type="QVariantMap" key="EditorConfiguration.CodeStyle.1">
22
-    <value type="QString" key="language">QmlJS</value>
23
-    <valuemap type="QVariantMap" key="value">
24
-     <value type="QString" key="CurrentPreferences">QmlJSGlobal</value>
25
-    </valuemap>
26
-   </valuemap>
27
-   <value type="int" key="EditorConfiguration.CodeStyle.Count">2</value>
28
-   <value type="QByteArray" key="EditorConfiguration.Codec">UTF-8</value>
29
-   <value type="bool" key="EditorConfiguration.ConstrainTooltips">false</value>
30
-   <value type="int" key="EditorConfiguration.IndentSize">4</value>
31
-   <value type="bool" key="EditorConfiguration.KeyboardTooltips">false</value>
32
-   <value type="bool" key="EditorConfiguration.MouseNavigation">true</value>
33
-   <value type="int" key="EditorConfiguration.PaddingMode">1</value>
34
-   <value type="bool" key="EditorConfiguration.ScrollWheelZooming">true</value>
35
-   <value type="int" key="EditorConfiguration.SmartBackspaceBehavior">0</value>
36
-   <value type="bool" key="EditorConfiguration.SpacesForTabs">true</value>
37
-   <value type="int" key="EditorConfiguration.TabKeyBehavior">0</value>
38
-   <value type="int" key="EditorConfiguration.TabSize">8</value>
39
-   <value type="bool" key="EditorConfiguration.UseGlobal">true</value>
40
-   <value type="int" key="EditorConfiguration.Utf8BomBehavior">1</value>
41
-   <value type="bool" key="EditorConfiguration.addFinalNewLine">true</value>
42
-   <value type="bool" key="EditorConfiguration.cleanIndentation">true</value>
43
-   <value type="bool" key="EditorConfiguration.cleanWhitespace">true</value>
44
-   <value type="bool" key="EditorConfiguration.inEntireDocument">false</value>
45
-  </valuemap>
46
- </data>
47
- <data>
48
-  <variable>ProjectExplorer.Project.PluginSettings</variable>
49
-  <valuemap type="QVariantMap"/>
50
- </data>
51
- <data>
52
-  <variable>ProjectExplorer.Project.Target.0</variable>
53
-  <valuemap type="QVariantMap">
54
-   <value type="QString" key="ProjectExplorer.ProjectConfiguration.DefaultDisplayName">Desktop Qt 5.1.1 MinGW 32bit</value>
55
-   <value type="QString" key="ProjectExplorer.ProjectConfiguration.DisplayName">Desktop Qt 5.1.1 MinGW 32bit</value>
56
-   <value type="QString" key="ProjectExplorer.ProjectConfiguration.Id">qt.511.win32_mingw48.essentials_kit</value>
57
-   <value type="int" key="ProjectExplorer.Target.ActiveBuildConfiguration">1</value>
58
-   <value type="int" key="ProjectExplorer.Target.ActiveDeployConfiguration">0</value>
59
-   <value type="int" key="ProjectExplorer.Target.ActiveRunConfiguration">0</value>
60
-   <valuemap type="QVariantMap" key="ProjectExplorer.Target.BuildConfiguration.0">
61
-    <valuemap type="QVariantMap" key="ProjectExplorer.BuildConfiguration.BuildStepList.0">
62
-     <valuemap type="QVariantMap" key="ProjectExplorer.BuildStepList.Step.0">
63
-      <value type="bool" key="ProjectExplorer.BuildStep.Enabled">true</value>
64
-      <value type="QString" key="ProjectExplorer.ProjectConfiguration.DefaultDisplayName">qmake</value>
65
-      <value type="QString" key="ProjectExplorer.ProjectConfiguration.DisplayName"></value>
66
-      <value type="QString" key="ProjectExplorer.ProjectConfiguration.Id">QtProjectManager.QMakeBuildStep</value>
67
-      <value type="bool" key="QtProjectManager.QMakeBuildStep.LinkQmlDebuggingLibrary">false</value>
68
-      <value type="bool" key="QtProjectManager.QMakeBuildStep.LinkQmlDebuggingLibraryAuto">true</value>
69
-      <value type="QString" key="QtProjectManager.QMakeBuildStep.QMakeArguments"></value>
70
-      <value type="bool" key="QtProjectManager.QMakeBuildStep.QMakeForced">false</value>
71
-     </valuemap>
72
-     <valuemap type="QVariantMap" key="ProjectExplorer.BuildStepList.Step.1">
73
-      <value type="bool" key="ProjectExplorer.BuildStep.Enabled">true</value>
74
-      <value type="QString" key="ProjectExplorer.ProjectConfiguration.DefaultDisplayName">Make</value>
75
-      <value type="QString" key="ProjectExplorer.ProjectConfiguration.DisplayName"></value>
76
-      <value type="QString" key="ProjectExplorer.ProjectConfiguration.Id">Qt4ProjectManager.MakeStep</value>
77
-      <valuelist type="QVariantList" key="Qt4ProjectManager.MakeStep.AutomaticallyAddedMakeArguments"/>
78
-      <value type="bool" key="Qt4ProjectManager.MakeStep.Clean">false</value>
79
-      <value type="QString" key="Qt4ProjectManager.MakeStep.MakeArguments"></value>
80
-      <value type="QString" key="Qt4ProjectManager.MakeStep.MakeCommand"></value>
81
-     </valuemap>
82
-     <value type="int" key="ProjectExplorer.BuildStepList.StepsCount">2</value>
83
-     <value type="QString" key="ProjectExplorer.ProjectConfiguration.DefaultDisplayName">Compiler</value>
84
-     <value type="QString" key="ProjectExplorer.ProjectConfiguration.DisplayName"></value>
85
-     <value type="QString" key="ProjectExplorer.ProjectConfiguration.Id">ProjectExplorer.BuildSteps.Build</value>
86
-    </valuemap>
87
-    <valuemap type="QVariantMap" key="ProjectExplorer.BuildConfiguration.BuildStepList.1">
88
-     <valuemap type="QVariantMap" key="ProjectExplorer.BuildStepList.Step.0">
89
-      <value type="bool" key="ProjectExplorer.BuildStep.Enabled">true</value>
90
-      <value type="QString" key="ProjectExplorer.ProjectConfiguration.DefaultDisplayName">Make</value>
91
-      <value type="QString" key="ProjectExplorer.ProjectConfiguration.DisplayName"></value>
92
-      <value type="QString" key="ProjectExplorer.ProjectConfiguration.Id">Qt4ProjectManager.MakeStep</value>
93
-      <valuelist type="QVariantList" key="Qt4ProjectManager.MakeStep.AutomaticallyAddedMakeArguments"/>
94
-      <value type="bool" key="Qt4ProjectManager.MakeStep.Clean">true</value>
95
-      <value type="QString" key="Qt4ProjectManager.MakeStep.MakeArguments">clean</value>
96
-      <value type="QString" key="Qt4ProjectManager.MakeStep.MakeCommand"></value>
97
-     </valuemap>
98
-     <value type="int" key="ProjectExplorer.BuildStepList.StepsCount">1</value>
99
-     <value type="QString" key="ProjectExplorer.ProjectConfiguration.DefaultDisplayName">Nettoyer</value>
100
-     <value type="QString" key="ProjectExplorer.ProjectConfiguration.DisplayName"></value>
101
-     <value type="QString" key="ProjectExplorer.ProjectConfiguration.Id">ProjectExplorer.BuildSteps.Clean</value>
102
-    </valuemap>
103
-    <value type="int" key="ProjectExplorer.BuildConfiguration.BuildStepListCount">2</value>
104
-    <value type="bool" key="ProjectExplorer.BuildConfiguration.ClearSystemEnvironment">false</value>
105
-    <valuelist type="QVariantList" key="ProjectExplorer.BuildConfiguration.UserEnvironmentChanges"/>
106
-    <value type="QString" key="ProjectExplorer.ProjectConfiguration.DefaultDisplayName">Debug</value>
107
-    <value type="QString" key="ProjectExplorer.ProjectConfiguration.DisplayName"></value>
108
-    <value type="QString" key="ProjectExplorer.ProjectConfiguration.Id">Qt4ProjectManager.Qt4BuildConfiguration</value>
109
-    <value type="int" key="Qt4ProjectManager.Qt4BuildConfiguration.BuildConfiguration">2</value>
110
-    <value type="QString" key="Qt4ProjectManager.Qt4BuildConfiguration.BuildDirectory">D:/prog/C++/bin/ns_finder/</value>
111
-    <value type="bool" key="Qt4ProjectManager.Qt4BuildConfiguration.UseShadowBuild">true</value>
112
-   </valuemap>
113
-   <valuemap type="QVariantMap" key="ProjectExplorer.Target.BuildConfiguration.1">
114
-    <valuemap type="QVariantMap" key="ProjectExplorer.BuildConfiguration.BuildStepList.0">
115
-     <valuemap type="QVariantMap" key="ProjectExplorer.BuildStepList.Step.0">
116
-      <value type="bool" key="ProjectExplorer.BuildStep.Enabled">true</value>
117
-      <value type="QString" key="ProjectExplorer.ProjectConfiguration.DefaultDisplayName">qmake</value>
118
-      <value type="QString" key="ProjectExplorer.ProjectConfiguration.DisplayName"></value>
119
-      <value type="QString" key="ProjectExplorer.ProjectConfiguration.Id">QtProjectManager.QMakeBuildStep</value>
120
-      <value type="bool" key="QtProjectManager.QMakeBuildStep.LinkQmlDebuggingLibrary">false</value>
121
-      <value type="bool" key="QtProjectManager.QMakeBuildStep.LinkQmlDebuggingLibraryAuto">true</value>
122
-      <value type="QString" key="QtProjectManager.QMakeBuildStep.QMakeArguments"></value>
123
-      <value type="bool" key="QtProjectManager.QMakeBuildStep.QMakeForced">false</value>
124
-     </valuemap>
125
-     <valuemap type="QVariantMap" key="ProjectExplorer.BuildStepList.Step.1">
126
-      <value type="bool" key="ProjectExplorer.BuildStep.Enabled">true</value>
127
-      <value type="QString" key="ProjectExplorer.ProjectConfiguration.DefaultDisplayName">Make</value>
128
-      <value type="QString" key="ProjectExplorer.ProjectConfiguration.DisplayName"></value>
129
-      <value type="QString" key="ProjectExplorer.ProjectConfiguration.Id">Qt4ProjectManager.MakeStep</value>
130
-      <valuelist type="QVariantList" key="Qt4ProjectManager.MakeStep.AutomaticallyAddedMakeArguments"/>
131
-      <value type="bool" key="Qt4ProjectManager.MakeStep.Clean">false</value>
132
-      <value type="QString" key="Qt4ProjectManager.MakeStep.MakeArguments"></value>
133
-      <value type="QString" key="Qt4ProjectManager.MakeStep.MakeCommand"></value>
134
-     </valuemap>
135
-     <value type="int" key="ProjectExplorer.BuildStepList.StepsCount">2</value>
136
-     <value type="QString" key="ProjectExplorer.ProjectConfiguration.DefaultDisplayName">Compiler</value>
137
-     <value type="QString" key="ProjectExplorer.ProjectConfiguration.DisplayName"></value>
138
-     <value type="QString" key="ProjectExplorer.ProjectConfiguration.Id">ProjectExplorer.BuildSteps.Build</value>
139
-    </valuemap>
140
-    <valuemap type="QVariantMap" key="ProjectExplorer.BuildConfiguration.BuildStepList.1">
141
-     <valuemap type="QVariantMap" key="ProjectExplorer.BuildStepList.Step.0">
142
-      <value type="bool" key="ProjectExplorer.BuildStep.Enabled">true</value>
143
-      <value type="QString" key="ProjectExplorer.ProjectConfiguration.DefaultDisplayName">Make</value>
144
-      <value type="QString" key="ProjectExplorer.ProjectConfiguration.DisplayName"></value>
145
-      <value type="QString" key="ProjectExplorer.ProjectConfiguration.Id">Qt4ProjectManager.MakeStep</value>
146
-      <valuelist type="QVariantList" key="Qt4ProjectManager.MakeStep.AutomaticallyAddedMakeArguments"/>
147
-      <value type="bool" key="Qt4ProjectManager.MakeStep.Clean">true</value>
148
-      <value type="QString" key="Qt4ProjectManager.MakeStep.MakeArguments">clean</value>
149
-      <value type="QString" key="Qt4ProjectManager.MakeStep.MakeCommand"></value>
150
-     </valuemap>
151
-     <value type="int" key="ProjectExplorer.BuildStepList.StepsCount">1</value>
152
-     <value type="QString" key="ProjectExplorer.ProjectConfiguration.DefaultDisplayName">Nettoyer</value>
153
-     <value type="QString" key="ProjectExplorer.ProjectConfiguration.DisplayName"></value>
154
-     <value type="QString" key="ProjectExplorer.ProjectConfiguration.Id">ProjectExplorer.BuildSteps.Clean</value>
155
-    </valuemap>
156
-    <value type="int" key="ProjectExplorer.BuildConfiguration.BuildStepListCount">2</value>
157
-    <value type="bool" key="ProjectExplorer.BuildConfiguration.ClearSystemEnvironment">false</value>
158
-    <valuelist type="QVariantList" key="ProjectExplorer.BuildConfiguration.UserEnvironmentChanges"/>
159
-    <value type="QString" key="ProjectExplorer.ProjectConfiguration.DefaultDisplayName">Release</value>
160
-    <value type="QString" key="ProjectExplorer.ProjectConfiguration.DisplayName"></value>
161
-    <value type="QString" key="ProjectExplorer.ProjectConfiguration.Id">Qt4ProjectManager.Qt4BuildConfiguration</value>
162
-    <value type="int" key="Qt4ProjectManager.Qt4BuildConfiguration.BuildConfiguration">0</value>
163
-    <value type="QString" key="Qt4ProjectManager.Qt4BuildConfiguration.BuildDirectory">D:/prog/C++/bin/ns_finder/</value>
164
-    <value type="bool" key="Qt4ProjectManager.Qt4BuildConfiguration.UseShadowBuild">true</value>
165
-   </valuemap>
166
-   <value type="int" key="ProjectExplorer.Target.BuildConfigurationCount">2</value>
167
-   <valuemap type="QVariantMap" key="ProjectExplorer.Target.DeployConfiguration.0">
168
-    <valuemap type="QVariantMap" key="ProjectExplorer.BuildConfiguration.BuildStepList.0">
169
-     <value type="int" key="ProjectExplorer.BuildStepList.StepsCount">0</value>
170
-     <value type="QString" key="ProjectExplorer.ProjectConfiguration.DefaultDisplayName">Déploiement</value>
171
-     <value type="QString" key="ProjectExplorer.ProjectConfiguration.DisplayName"></value>
172
-     <value type="QString" key="ProjectExplorer.ProjectConfiguration.Id">ProjectExplorer.BuildSteps.Deploy</value>
173
-    </valuemap>
174
-    <value type="int" key="ProjectExplorer.BuildConfiguration.BuildStepListCount">1</value>
175
-    <value type="QString" key="ProjectExplorer.ProjectConfiguration.DefaultDisplayName">Déployer localement</value>
176
-    <value type="QString" key="ProjectExplorer.ProjectConfiguration.DisplayName"></value>
177
-    <value type="QString" key="ProjectExplorer.ProjectConfiguration.Id">ProjectExplorer.DefaultDeployConfiguration</value>
178
-   </valuemap>
179
-   <value type="int" key="ProjectExplorer.Target.DeployConfigurationCount">1</value>
180
-   <valuemap type="QVariantMap" key="ProjectExplorer.Target.PluginSettings"/>
181
-   <valuemap type="QVariantMap" key="ProjectExplorer.Target.RunConfiguration.0">
182
-    <value type="bool" key="Analyzer.Project.UseGlobal">true</value>
183
-    <valuelist type="QVariantList" key="Analyzer.Valgrind.AddedSuppressionFiles"/>
184
-    <value type="bool" key="Analyzer.Valgrind.Callgrind.CollectBusEvents">false</value>
185
-    <value type="bool" key="Analyzer.Valgrind.Callgrind.CollectSystime">false</value>
186
-    <value type="bool" key="Analyzer.Valgrind.Callgrind.EnableBranchSim">false</value>
187
-    <value type="bool" key="Analyzer.Valgrind.Callgrind.EnableCacheSim">false</value>
188
-    <value type="bool" key="Analyzer.Valgrind.Callgrind.EnableEventToolTips">true</value>
189
-    <value type="double" key="Analyzer.Valgrind.Callgrind.MinimumCostRatio">0.01</value>
190
-    <value type="double" key="Analyzer.Valgrind.Callgrind.VisualisationMinimumCostRatio">10</value>
191
-    <value type="bool" key="Analyzer.Valgrind.FilterExternalIssues">true</value>
192
-    <value type="int" key="Analyzer.Valgrind.NumCallers">25</value>
193
-    <valuelist type="QVariantList" key="Analyzer.Valgrind.RemovedSuppressionFiles"/>
194
-    <value type="bool" key="Analyzer.Valgrind.TrackOrigins">true</value>
195
-    <value type="QString" key="Analyzer.Valgrind.ValgrindExecutable">valgrind</value>
196
-    <valuelist type="QVariantList" key="Analyzer.Valgrind.VisibleErrorKinds">
197
-     <value type="int">0</value>
198
-     <value type="int">1</value>
199
-     <value type="int">2</value>
200
-     <value type="int">3</value>
201
-     <value type="int">4</value>
202
-     <value type="int">5</value>
203
-     <value type="int">6</value>
204
-     <value type="int">7</value>
205
-     <value type="int">8</value>
206
-     <value type="int">9</value>
207
-     <value type="int">10</value>
208
-     <value type="int">11</value>
209
-     <value type="int">12</value>
210
-     <value type="int">13</value>
211
-     <value type="int">14</value>
212
-    </valuelist>
213
-    <value type="int" key="PE.EnvironmentAspect.Base">2</value>
214
-    <valuelist type="QVariantList" key="PE.EnvironmentAspect.Changes"/>
215
-    <value type="QString" key="ProjectExplorer.ProjectConfiguration.DefaultDisplayName">ns_finder</value>
216
-    <value type="QString" key="ProjectExplorer.ProjectConfiguration.DisplayName"></value>
217
-    <value type="QString" key="ProjectExplorer.ProjectConfiguration.Id">Qt4ProjectManager.Qt4RunConfiguration:D:/prog/C++/ns_finder/ns_finder.pro</value>
218
-    <value type="QString" key="Qt4ProjectManager.Qt4RunConfiguration.CommandLineArguments"></value>
219
-    <value type="QString" key="Qt4ProjectManager.Qt4RunConfiguration.ProFile">ns_finder.pro</value>
220
-    <value type="bool" key="Qt4ProjectManager.Qt4RunConfiguration.UseDyldImageSuffix">false</value>
221
-    <value type="bool" key="Qt4ProjectManager.Qt4RunConfiguration.UseTerminal">false</value>
222
-    <value type="QString" key="Qt4ProjectManager.Qt4RunConfiguration.UserWorkingDirectory"></value>
223
-    <value type="uint" key="RunConfiguration.QmlDebugServerPort">3768</value>
224
-    <value type="bool" key="RunConfiguration.UseCppDebugger">true</value>
225
-    <value type="bool" key="RunConfiguration.UseCppDebuggerAuto">false</value>
226
-    <value type="bool" key="RunConfiguration.UseMultiProcess">false</value>
227
-    <value type="bool" key="RunConfiguration.UseQmlDebugger">false</value>
228
-    <value type="bool" key="RunConfiguration.UseQmlDebuggerAuto">true</value>
229
-   </valuemap>
230
-   <value type="int" key="ProjectExplorer.Target.RunConfigurationCount">1</value>
231
-  </valuemap>
232
- </data>
233
- <data>
234
-  <variable>ProjectExplorer.Project.TargetCount</variable>
235
-  <value type="int">1</value>
236
- </data>
237
- <data>
238
-  <variable>ProjectExplorer.Project.Updater.EnvironmentId</variable>
239
-  <value type="QByteArray">{3074012e-28a1-4b99-a490-1fcbe7cc342f}</value>
240
- </data>
241
- <data>
242
-  <variable>ProjectExplorer.Project.Updater.FileVersion</variable>
243
-  <value type="int">14</value>
244
- </data>
245
-</qtcreator>

+ 0
- 26
usermgr/widget.h~ 查看文件

@@ -1,26 +0,0 @@
1
-#ifndef WIDGET_H
2
-#define WIDGET_H
3
-
4
-#include <QWidget>
5
-#include "epimafia.h"
6
-
7
-namespace Ui {
8
-class Widget;
9
-}
10
-
11
-class Widget : public QWidget
12
-{
13
-    Q_OBJECT
14
-    
15
-public:
16
-    explicit Widget(QWidget *parent = 0);
17
-    ~Widget();
18
-
19
-public slots:
20
-    void load();
21
-    
22
-private:
23
-    Ui::Widget *ui;
24
-};
25
-
26
-#endif // WIDGET_H

正在加载...
取消
保存