mirror of
https://github.com/Ardour/ardour.git
synced 2025-12-09 08:14:58 +01:00
replaced slot() with mem_fun() and ptr_fun().
git-svn-id: svn://localhost/trunk/ardour2@29 d708f5d6-7413-0410-9779-e7cbd77b26cf
This commit is contained in:
parent
e493b2b7c4
commit
d38e2213d7
72 changed files with 1637 additions and 1637 deletions
|
|
@ -54,8 +54,8 @@ SendUI::SendUI (Send& s, Session& se)
|
|||
|
||||
_send.set_metering (true);
|
||||
|
||||
_send.output_changed.connect (slot (*this, &SendUI::ins_changed));
|
||||
_send.output_changed.connect (slot (*this, &SendUI::outs_changed));
|
||||
_send.output_changed.connect (mem_fun (*this, &SendUI::ins_changed));
|
||||
_send.output_changed.connect (mem_fun (*this, &SendUI::outs_changed));
|
||||
|
||||
panners.set_width (Wide);
|
||||
panners.setup_pan ();
|
||||
|
|
@ -63,8 +63,8 @@ SendUI::SendUI (Send& s, Session& se)
|
|||
gpm.setup_meters ();
|
||||
gpm.set_fader_name ("SendUIFrame");
|
||||
|
||||
screen_update_connection = ARDOUR_UI::instance()->RapidScreenUpdate.connect (slot (*this, &SendUI::update));
|
||||
fast_screen_update_connection = ARDOUR_UI::instance()->SuperRapidScreenUpdate.connect (slot (*this, &SendUI::fast_update));
|
||||
screen_update_connection = ARDOUR_UI::instance()->RapidScreenUpdate.connect (mem_fun (*this, &SendUI::update));
|
||||
fast_screen_update_connection = ARDOUR_UI::instance()->SuperRapidScreenUpdate.connect (mem_fun (*this, &SendUI::fast_update));
|
||||
}
|
||||
|
||||
SendUI::~SendUI ()
|
||||
|
|
@ -80,7 +80,7 @@ SendUI::~SendUI ()
|
|||
void
|
||||
SendUI::ins_changed (IOChange change, void* ignored)
|
||||
{
|
||||
ENSURE_GUI_THREAD(bind (slot (*this, &SendUI::ins_changed), change, ignored));
|
||||
ENSURE_GUI_THREAD(bind (mem_fun (*this, &SendUI::ins_changed), change, ignored));
|
||||
if (change & ConfigurationChanged) {
|
||||
panners.setup_pan ();
|
||||
}
|
||||
|
|
@ -89,7 +89,7 @@ SendUI::ins_changed (IOChange change, void* ignored)
|
|||
void
|
||||
SendUI::outs_changed (IOChange change, void* ignored)
|
||||
{
|
||||
ENSURE_GUI_THREAD(bind (slot (*this, &SendUI::outs_changed), change, ignored));
|
||||
ENSURE_GUI_THREAD(bind (mem_fun (*this, &SendUI::outs_changed), change, ignored));
|
||||
if (change & ConfigurationChanged) {
|
||||
panners.setup_pan ();
|
||||
gpm.setup_meters ();
|
||||
|
|
@ -99,7 +99,7 @@ SendUI::outs_changed (IOChange change, void* ignored)
|
|||
void
|
||||
SendUI::send_going_away (Redirect *ignored)
|
||||
{
|
||||
ENSURE_GUI_THREAD (bind (slot (*this, &SendUI::send_going_away), ignored));
|
||||
ENSURE_GUI_THREAD (bind (mem_fun (*this, &SendUI::send_going_away), ignored));
|
||||
|
||||
delete this;
|
||||
}
|
||||
|
|
@ -131,9 +131,9 @@ SendUIWindow::SendUIWindow (Send& s, Session& ss)
|
|||
add (vpacker);
|
||||
set_name ("SendUIWindow");
|
||||
|
||||
s.GoingAway.connect (slot (*this, &SendUIWindow::send_going_away));
|
||||
s.GoingAway.connect (mem_fun (*this, &SendUIWindow::send_going_away));
|
||||
|
||||
delete_event.connect (bind (slot (just_hide_it), reinterpret_cast<Window *> (this)));
|
||||
delete_event.connect (bind (ptr_fun (just_hide_it), reinterpret_cast<Window *> (this)));
|
||||
|
||||
}
|
||||
|
||||
|
|
@ -145,7 +145,7 @@ SendUIWindow::~SendUIWindow ()
|
|||
void
|
||||
SendUIWindow::send_going_away (Redirect *ignored)
|
||||
{
|
||||
ENSURE_GUI_THREAD(bind (slot (*this, &SendUIWindow::send_going_away), ignored));
|
||||
ENSURE_GUI_THREAD(bind (mem_fun (*this, &SendUIWindow::send_going_away), ignored));
|
||||
|
||||
delete this;
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue