Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
jami-daemon
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Iterations
Wiki
Requirements
Code
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Locked files
Deploy
Releases
Model registry
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
Repository analytics
Issue analytics
Insights
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
savoirfairelinux
jami-daemon
Commits
7e01ecab
Commit
7e01ecab
authored
15 years ago
by
Jérémy Quentin
Browse files
Options
Downloads
Patches
Plain Diff
[#1886] separated initCallItem in two functions
parent
292b73f9
No related branches found
No related tags found
No related merge requests found
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
sflphone-client-kde/src/Call.cpp
+31
-28
31 additions, 28 deletions
sflphone-client-kde/src/Call.cpp
sflphone-client-kde/src/Call.h
+1
-0
1 addition, 0 deletions
sflphone-client-kde/src/Call.h
with
32 additions
and
28 deletions
sflphone-client-kde/src/Call.cpp
+
31
−
28
View file @
7e01ecab
...
@@ -108,7 +108,11 @@ void Call::initCallItem()
...
@@ -108,7 +108,11 @@ void Call::initCallItem()
item
=
new
QListWidgetItem
();
item
=
new
QListWidgetItem
();
item
->
setSizeHint
(
QSize
(
140
,
45
));
item
->
setSizeHint
(
QSize
(
140
,
45
));
item
->
setFlags
(
Qt
::
ItemIsSelectable
|
Qt
::
ItemIsDragEnabled
|
Qt
::
ItemIsDropEnabled
|
Qt
::
ItemIsEnabled
);
item
->
setFlags
(
Qt
::
ItemIsSelectable
|
Qt
::
ItemIsDragEnabled
|
Qt
::
ItemIsDropEnabled
|
Qt
::
ItemIsEnabled
);
initCallItemWidget
();
}
void
Call
::
initCallItemWidget
()
{
itemWidget
=
new
QWidget
();
itemWidget
=
new
QWidget
();
labelIcon
=
new
QLabel
();
labelIcon
=
new
QLabel
();
labelCallNumber
=
new
QLabel
(
peerPhoneNumber
);
labelCallNumber
=
new
QLabel
(
peerPhoneNumber
);
...
@@ -420,7 +424,6 @@ QWidget * Call::getHistoryItemWidget()
...
@@ -420,7 +424,6 @@ QWidget * Call::getHistoryItemWidget()
mainLayout
->
addLayout
(
descr
);
mainLayout
->
addLayout
(
descr
);
mainLayout
->
addItem
(
horizontalSpacer
);
mainLayout
->
addItem
(
horizontalSpacer
);
historyItemWidget
->
setLayout
(
mainLayout
);
historyItemWidget
->
setLayout
(
mainLayout
);
// }
return
historyItemWidget
;
return
historyItemWidget
;
}
}
...
...
This diff is collapsed.
Click to expand it.
sflphone-client-kde/src/Call.h
+
1
−
0
View file @
7e01ecab
...
@@ -235,6 +235,7 @@ public:
...
@@ -235,6 +235,7 @@ public:
//Constructors & Destructors
//Constructors & Destructors
~
Call
();
~
Call
();
void
initCallItem
();
void
initCallItem
();
void
initCallItemWidget
();
static
Call
*
buildDialingCall
(
QString
callId
,
const
QString
&
peerName
,
QString
account
=
""
);
static
Call
*
buildDialingCall
(
QString
callId
,
const
QString
&
peerName
,
QString
account
=
""
);
static
Call
*
buildIncomingCall
(
const
QString
&
callId
);
static
Call
*
buildIncomingCall
(
const
QString
&
callId
);
static
Call
*
buildRingingCall
(
const
QString
&
callId
);
static
Call
*
buildRingingCall
(
const
QString
&
callId
);
...
...
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