Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
L
linphone-desktop
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Administrator
linphone-desktop
Commits
dac94d02
Commit
dac94d02
authored
Nov 23, 2016
by
Ronan Abhamon
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
unstable
parent
5d575b4b
Changes
8
Hide whitespace changes
Inline
Side-by-side
Showing
8 changed files
with
23 additions
and
11 deletions
+23
-11
CMakeLists.txt
tests/CMakeLists.txt
+2
-0
ContactModel.hpp
tests/src/components/contacts/ContactModel.hpp
+3
-3
ContactsListModel.cpp
tests/src/components/contacts/ContactsListModel.cpp
+1
-1
ContactsListModel.hpp
tests/src/components/contacts/ContactsListModel.hpp
+3
-3
ContactsListProxyModel.hpp
tests/src/components/contacts/ContactsListProxyModel.hpp
+3
-3
SmartSearchBarModel.hpp
...s/src/components/smart-search-bar/SmartSearchBarModel.hpp
+1
-1
SmartSearchBarProxyModel.cpp
.../components/smart-search-bar/SmartSearchBarProxyModel.cpp
+1
-0
SmartSearchBarProxyModel.hpp
.../components/smart-search-bar/SmartSearchBarProxyModel.hpp
+9
-0
No files found.
tests/CMakeLists.txt
View file @
dac94d02
...
@@ -41,6 +41,7 @@ set(SOURCES
...
@@ -41,6 +41,7 @@ set(SOURCES
src/components/notifier/Notifier.cpp
src/components/notifier/Notifier.cpp
src/components/settings/AccountSettingsModel.cpp
src/components/settings/AccountSettingsModel.cpp
src/components/settings/SettingsModel.cpp
src/components/settings/SettingsModel.cpp
src/components/smart-search-bar/SmartSearchBarModel.cpp
src/components/timeline/TimelineModel.cpp
src/components/timeline/TimelineModel.cpp
src/main.cpp
src/main.cpp
)
)
...
@@ -58,6 +59,7 @@ set(HEADERS
...
@@ -58,6 +59,7 @@ set(HEADERS
src/components/presence/Presence.hpp
src/components/presence/Presence.hpp
src/components/settings/AccountSettingsModel.hpp
src/components/settings/AccountSettingsModel.hpp
src/components/settings/SettingsModel.hpp
src/components/settings/SettingsModel.hpp
src/components/smart-search-bar/SmartSearchBarModel.hpp
src/components/timeline/TimelineModel.hpp
src/components/timeline/TimelineModel.hpp
src/utils.hpp
src/utils.hpp
)
)
...
...
tests/src/components/contacts/ContactModel.hpp
View file @
dac94d02
#ifndef CONTACT_MODEL_H
#ifndef CONTACT_MODEL_H
_
#define CONTACT_MODEL_H
#define CONTACT_MODEL_H
_
#include <QObject>
#include <QObject>
#include <linphone++/linphone.hh>
#include <linphone++/linphone.hh>
...
@@ -80,4 +80,4 @@ private:
...
@@ -80,4 +80,4 @@ private:
Q_DECLARE_METATYPE
(
ContactModel
*
);
Q_DECLARE_METATYPE
(
ContactModel
*
);
#endif // CONTACT_MODEL_H
#endif // CONTACT_MODEL_H
_
tests/src/components/contacts/ContactsListModel.cpp
View file @
dac94d02
...
@@ -59,7 +59,7 @@ bool ContactsListModel::removeRows (int row, int count, const QModelIndex &paren
...
@@ -59,7 +59,7 @@ bool ContactsListModel::removeRows (int row, int count, const QModelIndex &paren
ContactModel
*
contact
=
m_list
[
row
];
ContactModel
*
contact
=
m_list
[
row
];
m_list
.
removeAt
(
row
);
m_list
.
removeAt
(
row
);
m_linphone_friends
->
removeFriend
(
contact
->
m_linphone_friend
);
//
m_linphone_friends->removeFriend(contact->m_linphone_friend);
contact
->
deleteLater
();
contact
->
deleteLater
();
}
}
...
...
tests/src/components/contacts/ContactsListModel.hpp
View file @
dac94d02
#ifndef CONTACTS_LIST_MODEL_H
#ifndef CONTACTS_LIST_MODEL_H
_
#define CONTACTS_LIST_MODEL_H
#define CONTACTS_LIST_MODEL_H
_
#include <QAbstractListModel>
#include <QAbstractListModel>
...
@@ -39,4 +39,4 @@ private:
...
@@ -39,4 +39,4 @@ private:
std
::
shared_ptr
<
linphone
::
FriendList
>
m_linphone_friends
;
std
::
shared_ptr
<
linphone
::
FriendList
>
m_linphone_friends
;
};
};
#endif // CONTACTS_LIST_MODEL_H
#endif // CONTACTS_LIST_MODEL_H
_
tests/src/components/contacts/ContactsListProxyModel.hpp
View file @
dac94d02
#ifndef CONTACTS_LIST_PROXY_MODEL_H
#ifndef CONTACTS_LIST_PROXY_MODEL_H
_
#define CONTACTS_LIST_PROXY_MODEL_H
#define CONTACTS_LIST_PROXY_MODEL_H
_
#include <QSortFilterProxyModel>
#include <QSortFilterProxyModel>
...
@@ -49,4 +49,4 @@ private:
...
@@ -49,4 +49,4 @@ private:
bool
m_use_connected_filter
;
bool
m_use_connected_filter
;
};
};
#endif // CONTACTS_LIST_PROXY_MODEL_H
#endif // CONTACTS_LIST_PROXY_MODEL_H
_
tests/src/components/smart-search-bar/SmartSearchBarModel.hpp
View file @
dac94d02
...
@@ -6,4 +6,4 @@ class SmartSearchBarModel {
...
@@ -6,4 +6,4 @@ class SmartSearchBarModel {
};
};
#endif
#endif
// SMART_SEARCH_BAR_MODEL_H_
tests/src/components/smart-search-bar/SmartSearchBarProxyModel.cpp
0 → 100644
View file @
dac94d02
#include "SmartSearchBarProxyModel.hpp"
tests/src/components/smart-search-bar/SmartSearchBarProxyModel.hpp
0 → 100644
View file @
dac94d02
#ifndef SMART_SEARCH_BAR_PROXY_MODEL_H_
#define SMART_SEARCH_BAR_PROXY_MODEL_H_
class
SmartSearchBarProxyModel
{
};
#endif // SMART_SEARCH_BAR_PROXY_MODEL_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