| 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 | |
| 22 | #ifndef Rsync_DIR_MODEL_H |
| 23 | #define Rsync_DIR_MODEL_Hcxx . . $ `src/RsyncDirModel.h:23:9`! |
| 24 | |
| 25 | #include <QAbstractItemModel> |
| 26 | //#include <QAuthenticator> |
| 27 | #include <QUrl> |
| 28 | |
| 29 | class RsyncEntrycxx . . $ RsyncEntry#; |
| 30 | |
| 31 | struct RsyncDirModelDatacxx . . $ RsyncDirModelData#; |
| 32 | class RsyncDirModelcxx . . $ RsyncDirModel# : public QAbstractItemModelcxx . . $ QAbstractItemModel# |
| 33 | { |
| 34 | Q_OBJECTcxx . . $ QMetaObject#Call# |
| 35 | |
| 36 | public: |
| 37 | RsyncDirModelcxx . . $ RsyncDirModel#RsyncDirModel(749de1b6ae65bddd).(QObjectcxx . . $ QObject#* parent=0); |
| 38 | ~cxx . . $ RsyncDirModel#`~RsyncDirModel`(ced63f7c635d850d).RsyncDirModelcxx . . $ RsyncDirModel#(); |
| 39 | |
| 40 | void setUrlcxx . . $ RsyncDirModel#setUrl(37355d2f77053a23).(const QUrlcxx . . $ QUrl#& url); |
| 41 | void setUrlcxx . . $ RsyncDirModel#setUrl(5c08d79d5867d094).(const QUrlcxx . . $ QUrl#& url,const QStringcxx . . $ QString#& cpath); |
| 42 | void setUrlcxx . . $ RsyncDirModel#setUrl(81e429cd986f7dfb).(const QUrlcxx . . $ QUrl#& url,const QStringcxx . . $ QString#& cpath, const QStringListcxx . . $ QStringList#& cargs); |
| 43 | |
| 44 | QUrlcxx . . $ QUrl# urlcxx . . $ RsyncDirModel#url(36d9834fe7321282).() const; |
| 45 | |
| 46 | // void setLogin(const QString& user, |
| 47 | // const QString& password); |
| 48 | // QString user() const; |
| 49 | // QString password() const; |
| 50 | |
| 51 | QUrlcxx . . $ QUrl# urlcxx . . $ RsyncDirModel#url(9e1dfd13a5541e90).(const QModelIndexcxx . . $ QModelIndex#& index) const; |
| 52 | QStringcxx . . $ QString# pathcxx . . $ RsyncDirModel#path(befb4f2e1d6e417f).(const QModelIndexcxx . . $ QModelIndex#& index) const; |
| 53 | QModelIndexcxx . . $ QModelIndex# indexcxx . . $ RsyncDirModel#index(ed248263631d0063).(const QStringcxx . . $ QString#& path) const; |
| 54 | |
| 55 | |
| 56 | public slotscxx . . $ `<external>/1208926524888476972/qobjectdefs.h:88:14`!: |
| 57 | void refreshcxx . . $ RsyncDirModel#refresh(87a6de385263c395).(const QModelIndexcxx . . $ QModelIndex#& index=QModelIndexcxx . . $ QModelIndex#QModelIndex(ced63f7c635d850d).()); |
| 58 | |
| 59 | signalscxx . . $ `<external>/1208926524888476972/qobjectdefs.h:89:14`!: |
| 60 | void listingDonecxx . . $ RsyncDirModel#listingDone(e0788863548ea5ab).(RsyncEntrycxx . . $ RsyncEntry#*); |
| 61 | // void loginParamsRequest(QAuthenticator* auth); |
| 62 | |
| 63 | protected: |
| 64 | int rowCountcxx . . $ RsyncDirModel#rowCount(e3878d4d6cd9529c).(const QModelIndexcxx . . $ QModelIndex#& parent) const; |
| 65 | int columnCountcxx . . $ RsyncDirModel#columnCount(e3878d4d6cd9529c).(const QModelIndexcxx . . $ QModelIndex#& parent) const; |
| 66 | QVariantcxx . . $ QVariant# datacxx . . $ RsyncDirModel#data(69b5b18a001c0029).(const QModelIndexcxx . . $ QModelIndex#& index, int role) const; |
| 67 | QModelIndexcxx . . $ QModelIndex# indexcxx . . $ RsyncDirModel#index(37dbccf64c4e392).(int row, int col, const QModelIndexcxx . . $ QModelIndex#& parent) const; |
| 68 | QModelIndexcxx . . $ QModelIndex# parentcxx . . $ RsyncDirModel#parent(f800c6f2fa4cbe57).(const QModelIndexcxx . . $ QModelIndex#& index) const; |
| 69 | QVariantcxx . . $ QVariant# headerDatacxx . . $ RsyncDirModel#headerData(b8cfec0985494997).(int section, |
| 70 | Qtcxx . . $ Qt/::Orientationcxx . . $ Qt/Orientation# orientation, |
| 71 | int role = Qtcxx . . $ Qt/::DisplayRolecxx . . $ Qt/DisplayRole.) const; |
| 72 | Qtcxx . . $ Qt/::ItemFlagscxx . . $ Qt/ItemFlags# flagscxx . . $ RsyncDirModel#flags(36b38c1b3d3f7b45).(const QModelIndexcxx . . $ QModelIndex#& index) const; |
| 73 | |
| 74 | QModelIndexcxx . . $ QModelIndex# indexcxx . . $ RsyncDirModel#index(97977ac1ef57f37).(RsyncEntrycxx . . $ RsyncEntry#* entry) const; |
| 75 | bool listcxx . . $ RsyncDirModel#list(50ce9a9e25b4a850).() const; |
| 76 | bool listcxx . . $ RsyncDirModel#list(584ff2ae4dbc3ca3).(RsyncEntrycxx . . $ RsyncEntry#* entry) const; |
| 77 | |
| 78 | private slotscxx . . $ `<external>/1208926524888476972/qobjectdefs.h:88:14`!: |
| 79 | void slotListingDonecxx . . $ RsyncDirModel#slotListingDone(e0788863548ea5ab).(RsyncEntrycxx . . $ RsyncEntry#* entry); |
| 80 | |
| 81 | private: |
| 82 | RsyncDirModelDatacxx . . $ RsyncDirModelData#* dcxx . . $ RsyncDirModel#d.; |
| 83 | |
| 84 | }; |
| 85 | |
| 86 | #endif // Rsync_DIR_MODEL_H |
| 87 | |
| 88 |