Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
What's new
10
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Open sidebar
PIM
KDE PIM Runtime
Commits
14be152f
Commit
14be152f
authored
Oct 08, 2020
by
Laurent Montel
😁
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Modernize code
parent
d9fbb286
Pipeline
#36781
failed with stage
in 54 minutes and 4 seconds
Changes
8
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
8 changed files
with
9 additions
and
10 deletions
+9
-10
resources/folderarchivesettings/folderarchivesettingpage.cpp
resources/folderarchivesettings/folderarchivesettingpage.cpp
+1
-1
resources/tomboynotes/tomboycollectionsdownloadjob.cpp
resources/tomboynotes/tomboycollectionsdownloadjob.cpp
+1
-1
resources/tomboynotes/tomboycollectionsdownloadjob.h
resources/tomboynotes/tomboycollectionsdownloadjob.h
+2
-2
resources/tomboynotes/tomboyitemsdownloadjob.h
resources/tomboynotes/tomboyitemsdownloadjob.h
+1
-1
resources/tomboynotes/tomboyitemuploadjob.h
resources/tomboynotes/tomboyitemuploadjob.h
+1
-1
resources/tomboynotes/tomboyjobbase.cpp
resources/tomboynotes/tomboyjobbase.cpp
+0
-1
resources/tomboynotes/tomboyjobbase.h
resources/tomboynotes/tomboyjobbase.h
+2
-2
resources/tomboynotes/tomboyserverauthenticatejob.h
resources/tomboynotes/tomboyserverauthenticatejob.h
+1
-1
No files found.
resources/folderarchivesettings/folderarchivesettingpage.cpp
View file @
14be152f
...
...
@@ -73,7 +73,7 @@ FolderArchiveSettingPage::FolderArchiveSettingPage(const QString &instanceName,
"@label:chooser for the folder that messages will be archived under"
,
"Archive into:"
));
hbox
->
addWidget
(
lab
);
mArchiveFolder
=
new
Akonadi
::
CollectionRequester
;
mArchiveFolder
=
new
Akonadi
::
CollectionRequester
(
this
)
;
mArchiveFolder
->
setMimeTypeFilter
(
QStringList
()
<<
KMime
::
Message
::
mimeType
());
hbox
->
addWidget
(
mArchiveFolder
);
lay
->
addLayout
(
hbox
);
...
...
resources/tomboynotes/tomboycollectionsdownloadjob.cpp
View file @
14be152f
...
...
@@ -15,8 +15,8 @@
TomboyCollectionsDownloadJob
::
TomboyCollectionsDownloadJob
(
const
QString
&
collectionName
,
KIO
::
AccessManager
*
manager
,
int
refreshInterval
,
QObject
*
parent
)
:
TomboyJobBase
(
manager
,
parent
)
,
mCollectionName
(
collectionName
)
,
mRefreshInterval
(
refreshInterval
)
{
mRefreshInterval
=
refreshInterval
;
}
Akonadi
::
Collection
::
List
TomboyCollectionsDownloadJob
::
collections
()
const
...
...
resources/tomboynotes/tomboycollectionsdownloadjob.h
View file @
14be152f
...
...
@@ -26,8 +26,8 @@ private:
// This will be called once the request is finished.
void
onRequestFinished
();
Akonadi
::
Collection
::
List
mResultCollections
;
QString
mCollectionName
;
int
mRefreshInterval
;
const
QString
mCollectionName
;
const
int
mRefreshInterval
;
};
#endif // TOMBOYCOLLECTIONSDOWNLOADJOB_H
resources/tomboynotes/tomboyitemsdownloadjob.h
View file @
14be152f
...
...
@@ -23,7 +23,7 @@ public:
void
start
()
override
;
private:
Akonadi
::
Collection
::
Id
mCollectionId
;
const
Akonadi
::
Collection
::
Id
mCollectionId
;
// This will be called once the request is finished.
void
onRequestFinished
();
Akonadi
::
Item
::
List
mResultItems
;
...
...
resources/tomboynotes/tomboyitemuploadjob.h
View file @
14be152f
...
...
@@ -40,7 +40,7 @@ private:
Akonadi
::
Item
mSourceItem
;
KMime
::
Message
::
Ptr
mNoteContent
;
JobType
mJobType
;
const
JobType
mJobType
;
int
mRemoteRevision
;
};
...
...
resources/tomboynotes/tomboyjobbase.cpp
View file @
14be152f
...
...
@@ -10,7 +10,6 @@ TomboyJobBase::TomboyJobBase(KIO::AccessManager *manager, QObject *parent)
:
KCompositeJob
(
parent
)
,
mManager
(
manager
)
,
mO1
(
new
O1Tomboy
(
this
))
,
mReply
(
nullptr
)
{
mRequestor
=
new
O1Requestor
(
mManager
,
mO1
,
this
);
}
...
...
resources/tomboynotes/tomboyjobbase.h
View file @
14be152f
...
...
@@ -29,9 +29,9 @@ public:
void
setAuthentication
(
const
QString
&
token
,
const
QString
&
secret
);
protected:
KIO
::
Integration
::
AccessManager
*
mManager
=
nullptr
;
KIO
::
Integration
::
AccessManager
*
const
mManager
;
O1Requestor
*
mRequestor
=
nullptr
;
O1Tomboy
*
mO1
=
nullptr
;
O1Tomboy
*
const
mO1
;
QNetworkReply
*
mReply
=
nullptr
;
QString
mApiURL
;
...
...
resources/tomboynotes/tomboyserverauthenticatejob.h
View file @
14be152f
...
...
@@ -35,7 +35,7 @@ private:
void
onUserRequestFinished
();
QString
mUserURL
;
QWebEngineView
*
mWebView
=
nullptr
;
QWebEngineView
*
const
mWebView
;
};
#endif // TOMBOYSERVERAUTHENTICATEJOB_H
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment