Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
R
RocketChatMobileEngine
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Container Registry
Model registry
Operate
Environments
Monitor
Incidents
Service Desk
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Terms and privacy
Keyboard shortcuts
?
Snippets
Groups
Projects
This is an archived project. Repository and other project resources are read-only.
Show more breadcrumbs
hosting
chat
RocketChatMobileEngine
Commits
89ed96e8
Commit
89ed96e8
authored
6 years ago
by
Dennis Beier
Browse files
Options
Downloads
Patches
Plain Diff
implemented inIntervall function (for deletion)
parent
390545a3
No related branches found
No related tags found
Loading
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
repos/entities/rocketchatmessage.cpp
+5
-0
5 additions, 0 deletions
repos/entities/rocketchatmessage.cpp
repos/entities/rocketchatmessage.h
+1
-1
1 addition, 1 deletion
repos/entities/rocketchatmessage.h
with
6 additions
and
1 deletion
repos/entities/rocketchatmessage.cpp
+
5
−
0
View file @
89ed96e8
...
@@ -197,3 +197,8 @@ void RocketChatMessage::setRoomeTyp( const QString &value )
...
@@ -197,3 +197,8 @@ void RocketChatMessage::setRoomeTyp( const QString &value )
{
{
roomeTyp
=
value
;
roomeTyp
=
value
;
}
}
bool
RocketChatMessage
::
inTimeIntervall
(
const
qint64
newt
,
const
qint64
oldt
)
{
return
getTimestamp
()
>=
oldt
&&
getTimestamp
()
<=
newt
;
}
This diff is collapsed.
Click to expand it.
repos/entities/rocketchatmessage.h
+
1
−
1
View file @
89ed96e8
...
@@ -96,7 +96,7 @@ class RocketChatMessage
...
@@ -96,7 +96,7 @@ class RocketChatMessage
const
QString
&
getRoomeTyp
()
const
;
const
QString
&
getRoomeTyp
()
const
;
void
setRoomeTyp
(
const
QString
&
value
);
void
setRoomeTyp
(
const
QString
&
value
);
bool
inTimeIntervall
(
const
qint64
newt
,
const
qint64
oldt
);
protected
:
protected
:
bool
empty
=
false
;
bool
empty
=
false
;
qint64
timestamp
=
0
;
qint64
timestamp
=
0
;
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment