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
237a7be2
Commit
237a7be2
authored
13 years ago
by
Emmanuel Lepage
Browse files
Options
Downloads
Patches
Plain Diff
[ #7876 ] Remove unneeded comments
parent
96bc3a75
Branches
Branches containing commit
Tags
Tags containing commit
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
kde/src/AccountView.cpp
+3
-4
3 additions, 4 deletions
kde/src/AccountView.cpp
kde/src/SFLPhone.cpp
+0
-9
0 additions, 9 deletions
kde/src/SFLPhone.cpp
with
3 additions
and
13 deletions
kde/src/AccountView.cpp
+
3
−
4
View file @
237a7be2
...
...
@@ -148,21 +148,20 @@ AccountView* AccountView::buildNewAccountFromAlias(const QString& alias)
///Change LED color
void
AccountView
::
updateState
()
{
qDebug
()
<<
"updateState"
;
if
(
!
isNew
())
{
Account
::
updateState
();
AccountItemWidget
*
m_pWidget
=
getItemWidget
();
if
(
getAccountDetail
(
ACCOUNT_ENABLED
)
!=
ACCOUNT_ENABLED_TRUE
)
{
qDebug
()
<<
"
m_pWidget->setState(AccountItemWidget::
Unregistered
);
"
;
qDebug
()
<<
"
Changing account state to
Unregistered"
;
m_pWidget
->
setState
(
AccountItemWidget
::
Unregistered
);
}
else
if
(
getAccountDetail
(
ACCOUNT_STATUS
)
==
ACCOUNT_STATE_REGISTERED
||
getAccountDetail
(
ACCOUNT_STATUS
)
==
ACCOUNT_STATE_READY
)
{
qDebug
()
<<
"
m_pWidget->setState(AccountItemWidget::
Registered
);
"
;
qDebug
()
<<
"
Changing account state to
Registered"
;
m_pWidget
->
setState
(
AccountItemWidget
::
Registered
);
}
else
{
qDebug
()
<<
"
m_pWidget->setState(AccountItemWidget::
NotWorking
);
"
;
qDebug
()
<<
"
Changing account state to
NotWorking"
;
m_pWidget
->
setState
(
AccountItemWidget
::
NotWorking
);
}
}
...
...
This diff is collapsed.
Click to expand it.
kde/src/SFLPhone.cpp
+
0
−
9
View file @
237a7be2
...
...
@@ -324,7 +324,6 @@ void SFLPhone::setObjectNames()
///[Action]Hide sflphone
bool
SFLPhone
::
queryClose
()
{
qDebug
()
<<
"queryClose"
;
hide
();
return
false
;
}
...
...
@@ -346,21 +345,18 @@ void SFLPhone::changeEvent(QEvent* event)
///Change status message
void
SFLPhone
::
on_m_pView_statusMessageChangeAsked
(
const
QString
&
message
)
{
qDebug
()
<<
"on_m_pView_statusMessageChangeAsked : "
+
message
;
m_pStatusBarWidget
->
setText
(
message
);
}
///Change windowtitle
void
SFLPhone
::
on_m_pView_windowTitleChangeAsked
(
const
QString
&
message
)
{
qDebug
()
<<
"on_m_pView_windowTitleChangeAsked : "
+
message
;
setWindowTitle
(
message
);
}
///Enable or disable toolbar items
void
SFLPhone
::
on_m_pView_enabledActionsChangeAsked
(
const
bool
*
enabledActions
)
{
qDebug
()
<<
"on_m_pView_enabledActionsChangeAsked"
;
action_accept
->
setVisible
(
enabledActions
[
SFLPhone
::
Accept
]);
action_refuse
->
setVisible
(
enabledActions
[
SFLPhone
::
Refuse
]);
action_hold
->
setVisible
(
enabledActions
[
SFLPhone
::
Hold
]);
...
...
@@ -372,7 +368,6 @@ void SFLPhone::on_m_pView_enabledActionsChangeAsked(const bool * enabledActions)
///Change icons
void
SFLPhone
::
on_m_pView_actionIconsChangeAsked
(
const
QString
*
actionIcons
)
{
qDebug
()
<<
"on_m_pView_actionIconsChangeAsked"
;
action_accept
->
setIcon
(
QIcon
(
actionIcons
[
SFLPhone
::
Accept
]));
action_refuse
->
setIcon
(
QIcon
(
actionIcons
[
SFLPhone
::
Refuse
]));
action_hold
->
setIcon
(
QIcon
(
actionIcons
[
SFLPhone
::
Hold
]));
...
...
@@ -384,7 +379,6 @@ void SFLPhone::on_m_pView_actionIconsChangeAsked(const QString * actionIcons)
///Change text
void
SFLPhone
::
on_m_pView_actionTextsChangeAsked
(
const
QString
*
actionTexts
)
{
qDebug
()
<<
"on_m_pView_actionTextsChangeAsked"
;
action_accept
->
setText
(
actionTexts
[
SFLPhone
::
Accept
]);
action_refuse
->
setText
(
actionTexts
[
SFLPhone
::
Refuse
]);
action_hold
->
setText
(
actionTexts
[
SFLPhone
::
Hold
]);
...
...
@@ -396,14 +390,12 @@ void SFLPhone::on_m_pView_actionTextsChangeAsked(const QString * actionTexts)
///Change transfer state
void
SFLPhone
::
on_m_pView_transferCheckStateChangeAsked
(
bool
transferCheckState
)
{
qDebug
()
<<
"Changing transfer action checkState"
;
action_transfer
->
setChecked
(
transferCheckState
);
}
///Change record state
void
SFLPhone
::
on_m_pView_recordCheckStateChangeAsked
(
bool
recordCheckState
)
{
qDebug
()
<<
"Changing record action checkState"
;
action_record
->
setChecked
(
recordCheckState
);
}
...
...
@@ -411,7 +403,6 @@ void SFLPhone::on_m_pView_recordCheckStateChangeAsked(bool recordCheckState)
/// @deprecated This function can be removed
void
SFLPhone
::
on_m_pView_screenChanged
(
int
screen
)
{
qDebug
()
<<
"on_m_pView_screenChanged"
;
if
(
screen
==
SCREEN_MAIN
)
action_main
->
setChecked
(
true
);
}
...
...
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