remove a series of unused signals from TimeAxisViewItem

This commit is contained in:
Paul Davis 2022-10-25 11:02:50 -06:00
parent 3efb488629
commit 6f57bb9e41
2 changed files with 0 additions and 24 deletions

View File

@ -303,7 +303,6 @@ TimeAxisViewItem::set_position(timepos_t const & pos, void* src, double* delta)
}
group->set_x_position (new_unit_pos);
PositionChanged (time_position, src); /* EMIT_SIGNAL */
return true;
}
@ -347,7 +346,6 @@ TimeAxisViewItem::set_duration (timecnt_t const & dur, void* src)
reset_width_dependent_items (end_pixel - first_pixel);
DurationChanged (dur, src); /* EMIT_SIGNAL */
return true;
}
@ -368,7 +366,6 @@ void
TimeAxisViewItem::set_max_duration(timecnt_t const & dur, void* src)
{
max_item_duration = dur;
MaxDurationChanged(max_item_duration, src); /* EMIT_SIGNAL */
}
/** @return the maximum duration that this item may have */
@ -388,7 +385,6 @@ void
TimeAxisViewItem::set_min_duration(timecnt_t const & dur, void* src)
{
min_item_duration = dur;
MinDurationChanged(max_item_duration, src); /* EMIT_SIGNAL */
}
/** @return the minimum duration that this item may have */
@ -410,7 +406,6 @@ TimeAxisViewItem::set_position_locked(bool yn, void* src)
{
position_locked = yn;
set_trim_handle_colors();
PositionLockChanged (position_locked, src); /* EMIT_SIGNAL */
}
/** @return true if this item is locked to its current position */
@ -472,7 +467,6 @@ TimeAxisViewItem::set_item_name(std::string new_name, void* src)
if (new_name != item_name) {
std::string temp_name = item_name;
item_name = new_name;
NameChanged (item_name, temp_name, src); /* EMIT_SIGNAL */
}
}

View File

@ -128,24 +128,6 @@ public:
sigc::signal<void,std::string,void*> ItemRemoved;
/** Emitted when the name of this item is changed */
sigc::signal<void,std::string,std::string,void*> NameChanged;
/** Emitted when the position of this item changes */
sigc::signal<void,Temporal::timepos_t,void*> PositionChanged;
/** Emitted when the position lock of this item is changed */
sigc::signal<void,bool,void*> PositionLockChanged;
/** Emitted when the duration of this item changes */
sigc::signal<void,Temporal::timecnt_t,void*> DurationChanged;
/** Emitted when the maximum item duration is changed */
sigc::signal<void,Temporal::timecnt_t,void*> MaxDurationChanged;
/** Emitted when the mionimum item duration is changed */
sigc::signal<void,Temporal::timecnt_t,void*> MinDurationChanged;
enum Visibility {
ShowFrame = 0x1,
ShowNameHighlight = 0x2,