Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
V
vmj-qt
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
Kulya
vmj-qt
Commits
f7e3befd
Commit
f7e3befd
authored
Jun 13, 2013
by
Dan Pascu
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fixed signal handler names to follow convention
parent
bcf22257
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
10 additions
and
10 deletions
+10
-10
mainwindow.py
blink/mainwindow.py
+10
-10
No files found.
blink/mainwindow.py
View file @
f7e3befd
...
@@ -170,12 +170,12 @@ class MainWindow(base_class, ui_class):
...
@@ -170,12 +170,12 @@ class MainWindow(base_class, ui_class):
# History menu actions
# History menu actions
self
.
history_manager
=
HistoryManager
()
self
.
history_manager
=
HistoryManager
()
self
.
missed_calls_menu
.
aboutToShow
.
connect
(
self
.
_SH_MissedCallsMenu
Shown
)
self
.
missed_calls_menu
.
aboutToShow
.
connect
(
self
.
_SH_MissedCallsMenu
AboutToShow
)
self
.
missed_calls_menu
.
triggered
.
connect
(
self
.
_AH_History
EntryClick
ed
)
self
.
missed_calls_menu
.
triggered
.
connect
(
self
.
_AH_History
MenuTrigger
ed
)
self
.
placed_calls_menu
.
aboutToShow
.
connect
(
self
.
_SH_PlacedCallsMenu
Shown
)
self
.
placed_calls_menu
.
aboutToShow
.
connect
(
self
.
_SH_PlacedCallsMenu
AboutToShow
)
self
.
placed_calls_menu
.
triggered
.
connect
(
self
.
_AH_History
EntryClick
ed
)
self
.
placed_calls_menu
.
triggered
.
connect
(
self
.
_AH_History
MenuTrigger
ed
)
self
.
received_calls_menu
.
aboutToShow
.
connect
(
self
.
_SH_ReceivedCallsMenu
Shown
)
self
.
received_calls_menu
.
aboutToShow
.
connect
(
self
.
_SH_ReceivedCallsMenu
AboutToShow
)
self
.
received_calls_menu
.
triggered
.
connect
(
self
.
_AH_History
EntryClick
ed
)
self
.
received_calls_menu
.
triggered
.
connect
(
self
.
_AH_History
MenuTrigger
ed
)
# Tools menu actions
# Tools menu actions
self
.
answering_machine_action
.
triggered
.
connect
(
self
.
_AH_EnableAnsweringMachineTriggered
)
self
.
answering_machine_action
.
triggered
.
connect
(
self
.
_AH_EnableAnsweringMachineTriggered
)
...
@@ -351,7 +351,7 @@ class MainWindow(base_class, ui_class):
...
@@ -351,7 +351,7 @@ class MainWindow(base_class, ui_class):
account
=
action
.
data
()
account
=
action
.
data
()
SessionManager
()
.
start_call
(
"Voicemail"
,
account
.
voicemail_uri
,
account
=
account
)
SessionManager
()
.
start_call
(
"Voicemail"
,
account
.
voicemail_uri
,
account
=
account
)
def
_AH_History
EntryClick
ed
(
self
,
action
):
def
_AH_History
MenuTrigger
ed
(
self
,
action
):
account_manager
=
AccountManager
()
account_manager
=
AccountManager
()
session_manager
=
SessionManager
()
session_manager
=
SessionManager
()
try
:
try
:
...
@@ -578,19 +578,19 @@ class MainWindow(base_class, ui_class):
...
@@ -578,19 +578,19 @@ class MainWindow(base_class, ui_class):
def
_SH_SwitchViewButtonChangedView
(
self
,
view
):
def
_SH_SwitchViewButtonChangedView
(
self
,
view
):
self
.
main_view
.
setCurrentWidget
(
self
.
contacts_panel
if
view
is
SwitchViewButton
.
ContactView
else
self
.
sessions_panel
)
self
.
main_view
.
setCurrentWidget
(
self
.
contacts_panel
if
view
is
SwitchViewButton
.
ContactView
else
self
.
sessions_panel
)
def
_SH_MissedCallsMenu
Shown
(
self
):
def
_SH_MissedCallsMenu
AboutToShow
(
self
):
self
.
missed_calls_menu
.
clear
()
self
.
missed_calls_menu
.
clear
()
for
entry
in
reversed
(
self
.
history_manager
.
missed_calls
):
for
entry
in
reversed
(
self
.
history_manager
.
missed_calls
):
action
=
self
.
missed_calls_menu
.
addAction
(
unicode
(
entry
))
action
=
self
.
missed_calls_menu
.
addAction
(
unicode
(
entry
))
action
.
entry
=
entry
action
.
entry
=
entry
def
_SH_PlacedCallsMenu
Shown
(
self
):
def
_SH_PlacedCallsMenu
AboutToShow
(
self
):
self
.
placed_calls_menu
.
clear
()
self
.
placed_calls_menu
.
clear
()
for
entry
in
reversed
(
self
.
history_manager
.
placed_calls
):
for
entry
in
reversed
(
self
.
history_manager
.
placed_calls
):
action
=
self
.
placed_calls_menu
.
addAction
(
unicode
(
entry
))
action
=
self
.
placed_calls_menu
.
addAction
(
unicode
(
entry
))
action
.
entry
=
entry
action
.
entry
=
entry
def
_SH_ReceivedCallsMenu
Shown
(
self
):
def
_SH_ReceivedCallsMenu
AboutToShow
(
self
):
self
.
received_calls_menu
.
clear
()
self
.
received_calls_menu
.
clear
()
for
entry
in
reversed
(
self
.
history_manager
.
received_calls
):
for
entry
in
reversed
(
self
.
history_manager
.
received_calls
):
action
=
self
.
received_calls_menu
.
addAction
(
unicode
(
entry
))
action
=
self
.
received_calls_menu
.
addAction
(
unicode
(
entry
))
...
...
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