#include "options.h" FrameThrottleCategory::FrameThrottleCategory(QWidget *parent) : OptionsCategory(parent) { setDisplayName(MENU_ENUM_LABEL_VALUE_FRAME_THROTTLE_SETTINGS); setCategoryIcon("menu_frameskip"); } QVector FrameThrottleCategory::pages() { QVector pages; pages << new FrameThrottlePage(this); pages << new RewindPage(this); return pages; } FrameThrottlePage::FrameThrottlePage(QObject *parent) : OptionsPage(parent) { setDisplayName(MENU_ENUM_LABEL_VALUE_FRAME_THROTTLE_SETTINGS); } QWidget *FrameThrottlePage::widget() { return create_widget(DISPLAYLIST_FRAME_THROTTLE_SETTINGS_LIST); } RewindPage::RewindPage(QObject *parent) : OptionsPage(parent) { setDisplayName(MENU_ENUM_LABEL_VALUE_REWIND_SETTINGS); } QWidget *RewindPage::widget() { return create_widget(DISPLAYLIST_REWIND_SETTINGS_LIST); }