Debian Codegraph @

src/RsyncDirModel_p.h

raw symbols SCIP
1 /****************************************************************************
2 Copyright (C) VCreate Logic Private Limited, Bangalore
3 Contact: [email protected]
4
5 This file is developed by VCreate Logic Private Limited and used as part of the "luckyBackup" project
6 It is distributed under the terms of the GNU General Public License
7 It is free software: you can redistribute it and/or modify
8 it under the terms of the GNU General Public License as published by
9 the Free Software Foundation, either version 3 of the License, or
10 (at your option) any later version.
11
12 It is distributed in the hope that it will be useful,
13 but WITHOUT ANY WARRANTY; without even the implied warranty of
14 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
15 GNU General Public License for more details.
16
17 You should have received a copy of the GNU General Public License
18 along with the luckyBackup project. If not, see <http://www.gnu.org/licenses/>.
19
20 ****************************************************************************/
21 // modified on 22 May 2016
22 // by luckyb after Lothar's fixes
23
24 #ifndef Rsync_DIR_MODEL_P_H
25 #define Rsync_DIR_MODEL_P_Hcxx . . $ `src/RsyncDirModel_p.h:25:9`!
26
27 #include <QObject>
28 #include <QMetaType>
29 #include <QList>
30 #include <QString>
31 #include <QUrl>
32 #include <QIcon>
33 #include <QProcess>
34 #include <QTextStream>
35
36 #include "qurlinfo.h"cxx . . $ `<file>/src/qurlinfo.h`/
37
38 class RsyncEntrycxx . . $ RsyncEntry#;
39 class RsyncDirListercxx . . $ RsyncDirLister#;
40 class RsyncDirListerOperationcxx . . $ RsyncDirListerOperation#;
41
42 struct RsyncEntryDatacxx . . $ RsyncEntryData#;
43 class RsyncEntrycxx . . $ RsyncEntry#
44 {
45 public:
46 ~cxx . . $ RsyncEntry#`~RsyncEntry`(ced63f7c635d850d).RsyncEntrycxx . . $ RsyncEntry#();
47
48 RsyncEntrycxx . . $ RsyncEntry#* parentEntrycxx . . $ RsyncEntry#parentEntry(88dfca43b633da6e).() const;
49 QListcxx . . $ QList#<RsyncEntrycxx . . $ RsyncEntry#*> childEntriescxx . . $ RsyncEntry#childEntries(b197b3b591ec6d30).() const;
50 bool isChildrenFetchedcxx . . $ RsyncEntry#isChildrenFetched(50ce9a9e25b4a850).() const;
51 bool isFetchingcxx . . $ RsyncEntry#isFetching(50ce9a9e25b4a850).() const;
52
53 QStringcxx . . $ QString# pathcxx . . $ RsyncEntry#path(6ef7b6c27b00b43d).() const;
54 // QUrlInfo urlInfo() const;
55 QIconcxx . . $ QIcon# iconcxx . . $ RsyncEntry#icon(952ef71f8967d9eb).() const;
56
57 //protected:
58 QUrlInfocxx . . $ QUrlInfo# urlInfocxx . . $ RsyncEntry#urlInfo(3ee9901d2636976f).() const;
59 RsyncEntrycxx . . $ RsyncEntry#RsyncEntry(ed216b1bc01b0eea).(const QUrlInfocxx . . $ QUrlInfo#& info);
60 RsyncEntrycxx . . $ RsyncEntry#* addUrlInfocxx . . $ RsyncEntry#addUrlInfo(d75920986d95510d).(const QUrlInfocxx . . $ QUrlInfo#& urlInfo);
61 void removeUrlInfocxx . . $ RsyncEntry#removeUrlInfo(ed216b1bc01b0eea).(const QUrlInfocxx . . $ QUrlInfo#& urlInfo);
62 void setChildrenFetchedcxx . . $ RsyncEntry#setChildrenFetched(b45ddcbc8423892c).(bool val=true);
63 void clearcxx . . $ RsyncEntry#clear(49f6e7a06ebc5aa8).();
64 void setFetchingcxx . . $ RsyncEntry#setFetching(b45ddcbc8423892c).(bool val=true);
65
66 private:
67 friend class RsyncDirModelcxx . . $ RsyncDirModel#;
68 RsyncEntryDatacxx . . $ RsyncEntryData#* dcxx . . $ RsyncEntry#d.;
69 };
70 Q_DECLARE_METATYPEcxx . . $ qRegisterMetaType(10e7a86562f422e7).(RsyncEntry*);
71
72
73 struct RsyncDirListerOperationDatacxx . . $ RsyncDirListerOperationData#;
74 class RsyncDirListerOperationcxx . . $ RsyncDirListerOperation# : public QObjectcxx . . $ QObject#
75 {
76 Q_OBJECTcxx . . $ `<external>/1208926524888476972/qobjectdefs.h:170:9`!
77
78 public:
79 RsyncDirListerOperationcxx . . $ RsyncDirListerOperation#RsyncDirListerOperation(7944b65af5c6d4a9).(RsyncDirListercxx . . $ RsyncDirLister#* parent);
80 RsyncDirListerOperationcxx . . $ RsyncDirListerOperation#RsyncDirListerOperation(4ed026e573459eaf).(RsyncDirListercxx . . $ RsyncDirLister#* parent,RsyncEntrycxx . . $ RsyncEntry#* entry);
81 ~cxx . . $ RsyncDirListerOperation#`~RsyncDirListerOperation`(ced63f7c635d850d).RsyncDirListerOperationcxx . . $ RsyncDirListerOperation#();
82 void setParentEntrycxx . . $ RsyncDirListerOperation#setParentEntry(e0788863548ea5ab).(RsyncEntrycxx . . $ RsyncEntry#* entry);
83 RsyncEntrycxx . . $ RsyncEntry#* parentEntrycxx . . $ RsyncDirListerOperation#parentEntry(88dfca43b633da6e).() const;
84
85
86
87
88 int idcxx . . $ RsyncDirListerOperation#id(455f465bc33b4cdf).() const;
89 bool isExecutingcxx . . $ RsyncDirListerOperation#isExecuting(50ce9a9e25b4a850).() const;
90 bool isFinishedcxx . . $ RsyncDirListerOperation#isFinished(50ce9a9e25b4a850).() const;
91 bool isSuccessfullyFinishedcxx . . $ RsyncDirListerOperation#isSuccessfullyFinished(50ce9a9e25b4a850).() const;
92
93 public:
94 void executecxx . . $ RsyncDirListerOperation#execute(49f6e7a06ebc5aa8).();
95 void abortcxx . . $ RsyncDirListerOperation#abort(49f6e7a06ebc5aa8).();
96
97 protected:
98 QStringcxx . . $ QString# pathcxx . . $ RsyncDirListerOperation#path(6ef7b6c27b00b43d).() const;
99
100 signalscxx . . $ `<external>/1208926524888476972/qobjectdefs.h:89:14`!:
101 void startedcxx . . $ RsyncDirListerOperation#started(49f6e7a06ebc5aa8).();
102 void finishedcxx . . $ RsyncDirListerOperation#finished(49f6e7a06ebc5aa8).();
103 void abortedcxx . . $ RsyncDirListerOperation#aborted(49f6e7a06ebc5aa8).();
104
105 protected slotscxx . . $ `<external>/1208926524888476972/qobjectdefs.h:88:14`!:
106 void procFinishedcxx . . $ RsyncDirListerOperation#procFinished(49f6e7a06ebc5aa8).();
107 void procErrorcxx . . $ RsyncDirListerOperation#procError(49f6e7a06ebc5aa8).();
108
109 private:
110 friend class RsyncDirListercxx . . $ RsyncDirLister#;
111 RsyncDirListerOperationDatacxx . . $ RsyncDirListerOperationData#* dcxx . . $ RsyncDirListerOperation#d.;
112 };
113
114 struct RsyncDirListerDatacxx . . $ RsyncDirListerData#;
115 class RsyncDirListercxx . . $ RsyncDirLister# : public QObjectcxx . . $ QObject#
116 {
117 Q_OBJECTcxx . . $ RsyncDirLister#tr(75d9f1c324b4579d).
118
119 public:
120 RsyncDirListercxx . . $ RsyncDirLister#RsyncDirLister(749de1b6ae65bddd).(QObjectcxx . . $ QObject#* parent=0);
121 ~cxx . . $ RsyncDirLister#`~RsyncDirLister`(ced63f7c635d850d).RsyncDirListercxx . . $ RsyncDirLister#();
122
123 void setUrlcxx . . $ RsyncDirLister#setUrl(37355d2f77053a23).(const QUrlcxx . . $ QUrl#& url);
124 QUrlcxx . . $ QUrl# urlcxx . . $ RsyncDirLister#url(36d9834fe7321282).() const;
125
126 QListcxx . . $ QList#<RsyncEntrycxx . . $ RsyncEntry#*> topLevelEntriescxx . . $ RsyncDirLister#topLevelEntries(b197b3b591ec6d30).() const;
127 bool topLevelEntriesFetchedcxx . . $ RsyncDirLister#topLevelEntriesFetched(50ce9a9e25b4a850).() const;
128 QStringcxx . . $ QString# lastErrorcxx . . $ RsyncDirLister#lastError(6ef7b6c27b00b43d).() const;
129
130 void listcxx . . $ RsyncDirLister#list(49f6e7a06ebc5aa8).();
131 void listcxx . . $ RsyncDirLister#list(e0788863548ea5ab).(RsyncEntrycxx . . $ RsyncEntry#* entry);
132 void refreshcxx . . $ RsyncDirLister#refresh(49f6e7a06ebc5aa8).();
133 void refreshcxx . . $ RsyncDirLister#refresh(e0788863548ea5ab).(RsyncEntrycxx . . $ RsyncEntry#* entry);
134 void abortcxx . . $ RsyncDirLister#abort(49f6e7a06ebc5aa8).();
135 void setChildrenFetchedcxx . . $ RsyncDirLister#setChildrenFetched(e0788863548ea5ab).(RsyncEntrycxx . . $ RsyncEntry#* entry);
136 void setUrlcxx . . $ RsyncDirLister#setUrl(5c08d79d5867d094).(const QUrlcxx . . $ QUrl#& url,const QStringcxx . . $ QString#& cpath);
137 void setUrlcxx . . $ RsyncDirLister#setUrl(81e429cd986f7dfb).(const QUrlcxx . . $ QUrl#& url,const QStringcxx . . $ QString#& cpath, const QStringListcxx . . $ QStringList#& cargs);
138 void cleanOperationscxx . . $ RsyncDirLister#cleanOperations(49f6e7a06ebc5aa8).();
139 QStringListcxx . . $ QStringList# argumentscxx . . $ RsyncDirLister#arguments(e1dbd5c4feadc8f5).() const;
140 QStringcxx . . $ QString# commandcxx . . $ RsyncDirLister#command(6ef7b6c27b00b43d).() const;
141
142 signalscxx . . $ `<external>/1208926524888476972/qobjectdefs.h:89:14`!:
143 void listingDonecxx . . $ RsyncDirLister#listingDone(e0788863548ea5ab).(RsyncEntrycxx . . $ RsyncEntry#* entry=0);
144 void listingAbortedcxx . . $ RsyncDirLister#listingAborted(e0788863548ea5ab).(RsyncEntrycxx . . $ RsyncEntry#* entry=0);
145 void listingErrorcxx . . $ RsyncDirLister#listingError(9bfba87c3b1a5687).(const QStringcxx . . $ QString#& error, RsyncEntrycxx . . $ RsyncEntry#* entry=0);
146
147 //protected slots:
148 // void slotOperationFinished();
149
150 protected:
151 void setTopLevelEntriescxx . . $ RsyncDirLister#setTopLevelEntries(5b617d7947364111).(const QListcxx . . $ QList#<RsyncEntrycxx . . $ RsyncEntry#*>& entries);
152
153 private:
154 friend class RsyncDirListerOperationcxx . . $ RsyncDirListerOperation#;
155 RsyncDirListerDatacxx . . $ RsyncDirListerData#* dcxx . . $ RsyncDirLister#d.;
156 };
157
158
159 struct FileIconCacheDatacxx . . $ FileIconCacheData#;
160 class FileIconCachecxx . . $ FileIconCache#
161 {
162 public:
163 static FileIconCachecxx . . $ FileIconCache#& instancecxx . . $ FileIconCache#instance(914ec6a0d8b70d33).();
164 ~cxx . . $ FileIconCache#`~FileIconCache`(ced63f7c635d850d).FileIconCachecxx . . $ FileIconCache#();
165
166 QIconcxx . . $ QIcon# iconcxx . . $ FileIconCache#icon(31e76d3f7a936a88).(const QUrlInfocxx . . $ QUrlInfo#& info) const;
167
168 private:
169 FileIconCachecxx . . $ FileIconCache#FileIconCache(49f6e7a06ebc5aa8).();
170
171 private:
172 FileIconCacheDatacxx . . $ FileIconCacheData#* dcxx . . $ FileIconCache#d.;
173 };
174
175 #endif