#[allow(unused_imports)]
use crate::conn::ConnectExt;
use crate::conn::{SignalMeta, SlotMeta};
pub mod slider_signals {
use super::*;
#[derive(Debug, Clone, Copy)]
pub struct ValueChanged;
#[cfg(qt_5)]
impl SignalMeta for ValueChanged {
const QT_SIGNATURE: &'static str = "valueChanged(int)";
type Args = (i32,);
}
#[cfg(qt_6)]
impl SignalMeta for ValueChanged {
const QT_SIGNATURE: &'static str = "2valueChanged(int)";
type Args = (i32,);
}
pub const VALUE_CHANGED: ValueChanged = ValueChanged;
#[derive(Debug, Clone, Copy)]
pub struct SliderPressed;
#[cfg(qt_5)]
impl SignalMeta for SliderPressed {
const QT_SIGNATURE: &'static str = "sliderPressed()";
type Args = ();
}
#[cfg(qt_6)]
impl SignalMeta for SliderPressed {
const QT_SIGNATURE: &'static str = "2sliderPressed()";
type Args = ();
}
pub const SLIDER_PRESSED: SliderPressed = SliderPressed;
#[derive(Debug, Clone, Copy)]
pub struct SliderReleased;
#[cfg(qt_5)]
impl SignalMeta for SliderReleased {
const QT_SIGNATURE: &'static str = "sliderReleased()";
type Args = ();
}
#[cfg(qt_6)]
impl SignalMeta for SliderReleased {
const QT_SIGNATURE: &'static str = "2sliderReleased()";
type Args = ();
}
pub const SLIDER_RELEASED: SliderReleased = SliderReleased;
#[derive(Debug, Clone, Copy)]
pub struct SliderMoved;
#[cfg(qt_5)]
impl SignalMeta for SliderMoved {
const QT_SIGNATURE: &'static str = "sliderMoved(int)";
type Args = (i32,);
}
#[cfg(qt_6)]
impl SignalMeta for SliderMoved {
const QT_SIGNATURE: &'static str = "2sliderMoved(int)";
type Args = (i32,);
}
pub const SLIDER_MOVED: SliderMoved = SliderMoved;
}
pub mod spin_box_slots {
use super::*;
#[derive(Debug, Clone, Copy)]
pub struct SetValue;
#[cfg(qt_5)]
impl SlotMeta for SetValue {
const QT_SIGNATURE: &'static str = "setValue(int)";
type Args = (i32,);
}
#[cfg(qt_6)]
impl SlotMeta for SetValue {
const QT_SIGNATURE: &'static str = "1setValue(int)";
type Args = (i32,);
}
pub const SET_VALUE: SetValue = SetValue;
#[derive(Debug, Clone, Copy)]
pub struct SetRange;
#[cfg(qt_5)]
impl SlotMeta for SetRange {
const QT_SIGNATURE: &'static str = "setRange(int, int)";
type Args = (i32, i32);
}
#[cfg(qt_6)]
impl SlotMeta for SetRange {
const QT_SIGNATURE: &'static str = "1setRange(int, int)";
type Args = (i32, i32);
}
pub const SET_RANGE: SetRange = SetRange;
#[derive(Debug, Clone, Copy)]
pub struct SetSuffix;
#[cfg(qt_5)]
impl SlotMeta for SetSuffix {
const QT_SIGNATURE: &'static str = "setSuffix(QString)";
type Args = (String,);
}
#[cfg(qt_6)]
impl SlotMeta for SetSuffix {
const QT_SIGNATURE: &'static str = "1setSuffix(QString)";
type Args = (String,);
}
pub const SET_SUFFIX: SetSuffix = SetSuffix;
#[derive(Debug, Clone, Copy)]
pub struct SetMinimum;
#[cfg(qt_5)]
impl SlotMeta for SetMinimum {
const QT_SIGNATURE: &'static str = "setMinimum(int)";
type Args = (i32,);
}
#[cfg(qt_6)]
impl SlotMeta for SetMinimum {
const QT_SIGNATURE: &'static str = "1setMinimum(int)";
type Args = (i32,);
}
pub const SET_MINIMUM: SetMinimum = SetMinimum;
#[derive(Debug, Clone, Copy)]
pub struct SetMaximum;
#[cfg(qt_5)]
impl SlotMeta for SetMaximum {
const QT_SIGNATURE: &'static str = "setMaximum(int)";
type Args = (i32,);
}
#[cfg(qt_6)]
impl SlotMeta for SetMaximum {
const QT_SIGNATURE: &'static str = "1setMaximum(int)";
type Args = (i32,);
}
pub const SET_MAXIMUM: SetMaximum = SetMaximum;
}
pub mod spin_box_signals {
use super::*;
#[derive(Debug, Clone, Copy)]
pub struct ValueChanged;
#[cfg(qt_5)]
impl SignalMeta for ValueChanged {
const QT_SIGNATURE: &'static str = "valueChanged(int)";
type Args = (i32,);
}
#[cfg(qt_6)]
impl SignalMeta for ValueChanged {
const QT_SIGNATURE: &'static str = "2valueChanged(int)";
type Args = (i32,);
}
pub const VALUE_CHANGED: ValueChanged = ValueChanged;
#[derive(Debug, Clone, Copy)]
pub struct TextChanged;
#[cfg(qt_5)]
impl SignalMeta for TextChanged {
const QT_SIGNATURE: &'static str = "textChanged(QString)";
type Args = (String,);
}
#[cfg(qt_6)]
impl SignalMeta for TextChanged {
const QT_SIGNATURE: &'static str = "2textChanged(QString)";
type Args = (String,);
}
pub const TEXT_CHANGED: TextChanged = TextChanged;
}
pub mod push_button_signals {
use super::*;
#[derive(Debug, Clone, Copy)]
pub struct Clicked;
#[cfg(qt_5)]
impl SignalMeta for Clicked {
const QT_SIGNATURE: &'static str = "clicked()";
type Args = ();
}
#[cfg(qt_6)]
impl SignalMeta for Clicked {
const QT_SIGNATURE: &'static str = "2clicked()";
type Args = ();
}
pub const CLICKED: Clicked = Clicked;
#[derive(Debug, Clone, Copy)]
pub struct Pressed;
#[cfg(qt_5)]
impl SignalMeta for Pressed {
const QT_SIGNATURE: &'static str = "pressed()";
type Args = ();
}
#[cfg(qt_6)]
impl SignalMeta for Pressed {
const QT_SIGNATURE: &'static str = "2pressed()";
type Args = ();
}
pub const PRESSED: Pressed = Pressed;
#[derive(Debug, Clone, Copy)]
pub struct Released;
#[cfg(qt_5)]
impl SignalMeta for Released {
const QT_SIGNATURE: &'static str = "released()";
type Args = ();
}
#[cfg(qt_6)]
impl SignalMeta for Released {
const QT_SIGNATURE: &'static str = "2released()";
type Args = ();
}
pub const RELEASED: Released = Released;
}
pub mod check_box_signals {
use super::*;
#[derive(Debug, Clone, Copy)]
pub struct Toggled;
#[cfg(qt_5)]
impl SignalMeta for Toggled {
const QT_SIGNATURE: &'static str = "toggled(bool)";
type Args = (bool,);
}
#[cfg(qt_6)]
impl SignalMeta for Toggled {
const QT_SIGNATURE: &'static str = "2toggled(bool)";
type Args = (bool,);
}
pub const TOGGLED: Toggled = Toggled;
#[derive(Debug, Clone, Copy)]
pub struct StateChanged;
#[cfg(qt_5)]
impl SignalMeta for StateChanged {
const QT_SIGNATURE: &'static str = "stateChanged(int)";
type Args = (i32,);
}
#[cfg(qt_6)]
impl SignalMeta for StateChanged {
const QT_SIGNATURE: &'static str = "2stateChanged(int)";
type Args = (i32,);
}
pub const STATE_CHANGED: StateChanged = StateChanged;
}
pub mod check_box_slots {
use super::*;
#[derive(Debug, Clone, Copy)]
pub struct SetChecked;
#[cfg(qt_5)]
impl SlotMeta for SetChecked {
const QT_SIGNATURE: &'static str = "setChecked(bool)";
type Args = (bool,);
}
#[cfg(qt_6)]
impl SlotMeta for SetChecked {
const QT_SIGNATURE: &'static str = "1setChecked(bool)";
type Args = (bool,);
}
pub const SET_CHECKED: SetChecked = SetChecked;
#[derive(Debug, Clone, Copy)]
pub struct SetTristate;
#[cfg(qt_5)]
impl SlotMeta for SetTristate {
const QT_SIGNATURE: &'static str = "setTristate(bool)";
type Args = (bool,);
}
#[cfg(qt_6)]
impl SlotMeta for SetTristate {
const QT_SIGNATURE: &'static str = "1setTristate(bool)";
type Args = (bool,);
}
pub const SET_TRISTATE: SetTristate = SetTristate;
}
pub mod radio_button_signals {
use super::*;
#[derive(Debug, Clone, Copy)]
pub struct Toggled;
#[cfg(qt_5)]
impl SignalMeta for Toggled {
const QT_SIGNATURE: &'static str = "toggled(bool)";
type Args = (bool,);
}
#[cfg(qt_6)]
impl SignalMeta for Toggled {
const QT_SIGNATURE: &'static str = "2toggled(bool)";
type Args = (bool,);
}
pub const TOGGLED: Toggled = Toggled;
}
pub mod radio_button_slots {
use super::*;
#[derive(Debug, Clone, Copy)]
pub struct SetChecked;
#[cfg(qt_5)]
impl SlotMeta for SetChecked {
const QT_SIGNATURE: &'static str = "setChecked(bool)";
type Args = (bool,);
}
#[cfg(qt_6)]
impl SlotMeta for SetChecked {
const QT_SIGNATURE: &'static str = "1setChecked(bool)";
type Args = (bool,);
}
pub const SET_CHECKED: SetChecked = SetChecked;
}
pub mod line_edit_signals {
use super::*;
#[derive(Debug, Clone, Copy)]
pub struct ReturnPressed;
#[cfg(qt_5)]
impl SignalMeta for ReturnPressed {
const QT_SIGNATURE: &'static str = "returnPressed()";
type Args = ();
}
#[cfg(qt_6)]
impl SignalMeta for ReturnPressed {
const QT_SIGNATURE: &'static str = "2returnPressed()";
type Args = ();
}
pub const RETURN_PRESSED: ReturnPressed = ReturnPressed;
#[derive(Debug, Clone, Copy)]
pub struct TextChanged;
#[cfg(qt_5)]
impl SignalMeta for TextChanged {
const QT_SIGNATURE: &'static str = "textChanged(QString)";
type Args = (String,);
}
#[cfg(qt_6)]
impl SignalMeta for TextChanged {
const QT_SIGNATURE: &'static str = "2textChanged(QString)";
type Args = (String,);
}
pub const TEXT_CHANGED: TextChanged = TextChanged;
#[derive(Debug, Clone, Copy)]
pub struct TextEdited;
#[cfg(qt_5)]
impl SignalMeta for TextEdited {
const QT_SIGNATURE: &'static str = "textEdited(QString)";
type Args = (String,);
}
#[cfg(qt_6)]
impl SignalMeta for TextEdited {
const QT_SIGNATURE: &'static str = "2textEdited(QString)";
type Args = (String,);
}
pub const TEXT_EDITED: TextEdited = TextEdited;
}
pub mod line_edit_slots {
use super::*;
#[derive(Debug, Clone, Copy)]
pub struct SetText;
#[cfg(qt_5)]
impl SlotMeta for SetText {
const QT_SIGNATURE: &'static str = "setText(QString)";
type Args = (String,);
}
#[cfg(qt_6)]
impl SlotMeta for SetText {
const QT_SIGNATURE: &'static str = "1setText(QString)";
type Args = (String,);
}
pub const SET_TEXT: SetText = SetText;
#[derive(Debug, Clone, Copy)]
pub struct Clear;
#[cfg(qt_5)]
impl SlotMeta for Clear {
const QT_SIGNATURE: &'static str = "clear()";
type Args = ();
}
#[cfg(qt_6)]
impl SlotMeta for Clear {
const QT_SIGNATURE: &'static str = "1clear()";
type Args = ();
}
pub const CLEAR: Clear = Clear;
}
pub mod combo_box_signals {
use super::*;
#[derive(Debug, Clone, Copy)]
pub struct CurrentIndexChanged;
#[cfg(qt_5)]
impl SignalMeta for CurrentIndexChanged {
const QT_SIGNATURE: &'static str = "currentIndexChanged(int)";
type Args = (i32,);
}
#[cfg(qt_6)]
impl SignalMeta for CurrentIndexChanged {
const QT_SIGNATURE: &'static str = "2currentIndexChanged(int)";
type Args = (i32,);
}
pub const CURRENT_INDEX_CHANGED: CurrentIndexChanged = CurrentIndexChanged;
#[derive(Debug, Clone, Copy)]
pub struct CurrentTextChanged;
#[cfg(qt_5)]
impl SignalMeta for CurrentTextChanged {
const QT_SIGNATURE: &'static str = "currentTextChanged(QString)";
type Args = (String,);
}
#[cfg(qt_6)]
impl SignalMeta for CurrentTextChanged {
const QT_SIGNATURE: &'static str = "2currentTextChanged(QString)";
type Args = (String,);
}
pub const CURRENT_TEXT_CHANGED: CurrentTextChanged = CurrentTextChanged;
}
pub mod combo_box_slots {
use super::*;
#[derive(Debug, Clone, Copy)]
pub struct SetCurrentIndex;
#[cfg(qt_5)]
impl SlotMeta for SetCurrentIndex {
const QT_SIGNATURE: &'static str = "setCurrentIndex(int)";
type Args = (i32,);
}
#[cfg(qt_6)]
impl SlotMeta for SetCurrentIndex {
const QT_SIGNATURE: &'static str = "1setCurrentIndex(int)";
type Args = (i32,);
}
pub const SET_CURRENT_INDEX: SetCurrentIndex = SetCurrentIndex;
#[derive(Debug, Clone, Copy)]
pub struct AddItem;
#[cfg(qt_5)]
impl SlotMeta for AddItem {
const QT_SIGNATURE: &'static str = "addItem(QString)";
type Args = (String,);
}
#[cfg(qt_6)]
impl SlotMeta for AddItem {
const QT_SIGNATURE: &'static str = "1addItem(QString)";
type Args = (String,);
}
pub const ADD_ITEM: AddItem = AddItem;
#[derive(Debug, Clone, Copy)]
pub struct Clear;
#[cfg(qt_5)]
impl SlotMeta for Clear {
const QT_SIGNATURE: &'static str = "clear()";
type Args = ();
}
#[cfg(qt_6)]
impl SlotMeta for Clear {
const QT_SIGNATURE: &'static str = "1clear()";
type Args = ();
}
pub const CLEAR: Clear = Clear;
}
pub mod progress_bar_slots {
use super::*;
#[derive(Debug, Clone, Copy)]
pub struct SetValue;
#[cfg(qt_5)]
impl SlotMeta for SetValue {
const QT_SIGNATURE: &'static str = "setValue(int)";
type Args = (i32,);
}
#[cfg(qt_6)]
impl SlotMeta for SetValue {
const QT_SIGNATURE: &'static str = "1setValue(int)";
type Args = (i32,);
}
pub const SET_VALUE: SetValue = SetValue;
#[derive(Debug, Clone, Copy)]
pub struct SetRange;
#[cfg(qt_5)]
impl SlotMeta for SetRange {
const QT_SIGNATURE: &'static str = "setRange(int, int)";
type Args = (i32, i32);
}
#[cfg(qt_6)]
impl SlotMeta for SetRange {
const QT_SIGNATURE: &'static str = "1setRange(int, int)";
type Args = (i32, i32);
}
pub const SET_RANGE: SetRange = SetRange;
#[derive(Debug, Clone, Copy)]
pub struct Reset;
#[cfg(qt_5)]
impl SlotMeta for Reset {
const QT_SIGNATURE: &'static str = "reset()";
type Args = ();
}
#[cfg(qt_6)]
impl SlotMeta for Reset {
const QT_SIGNATURE: &'static str = "1reset()";
type Args = ();
}
pub const RESET: Reset = Reset;
}
pub mod tab_widget_signals {
use super::*;
#[derive(Debug, Clone, Copy)]
pub struct CurrentChanged;
#[cfg(qt_5)]
impl SignalMeta for CurrentChanged {
const QT_SIGNATURE: &'static str = "currentChanged(int)";
type Args = (i32,);
}
#[cfg(qt_6)]
impl SignalMeta for CurrentChanged {
const QT_SIGNATURE: &'static str = "2currentChanged(int)";
type Args = (i32,);
}
pub const CURRENT_CHANGED: CurrentChanged = CurrentChanged;
}
pub mod tab_widget_slots {
use super::*;
#[derive(Debug, Clone, Copy)]
pub struct SetCurrentIndex;
#[cfg(qt_5)]
impl SlotMeta for SetCurrentIndex {
const QT_SIGNATURE: &'static str = "setCurrentIndex(int)";
type Args = (i32,);
}
#[cfg(qt_6)]
impl SlotMeta for SetCurrentIndex {
const QT_SIGNATURE: &'static str = "1setCurrentIndex(int)";
type Args = (i32,);
}
pub const SET_CURRENT_INDEX: SetCurrentIndex = SetCurrentIndex;
#[derive(Debug, Clone, Copy)]
pub struct AddTab;
#[cfg(qt_5)]
impl SlotMeta for AddTab {
const QT_SIGNATURE: &'static str = "addTab(QWidget*, QString)";
type Args = (*mut crate::ffi::QWidget, String);
}
#[cfg(qt_6)]
impl SlotMeta for AddTab {
const QT_SIGNATURE: &'static str = "1addTab(QWidget*, QString)";
type Args = (*mut crate::ffi::QWidget, String);
}
pub const ADD_TAB: AddTab = AddTab;
}
pub mod text_edit_signals {
use super::*;
#[derive(Debug, Clone, Copy)]
pub struct TextChanged;
#[cfg(qt_5)]
impl SignalMeta for TextChanged {
const QT_SIGNATURE: &'static str = "textChanged()";
type Args = ();
}
#[cfg(qt_6)]
impl SignalMeta for TextChanged {
const QT_SIGNATURE: &'static str = "2textChanged()";
type Args = ();
}
pub const TEXT_CHANGED: TextChanged = TextChanged;
#[derive(Debug, Clone, Copy)]
pub struct CopyAvailable;
#[cfg(qt_5)]
impl SignalMeta for CopyAvailable {
const QT_SIGNATURE: &'static str = "copyAvailable(bool)";
type Args = (bool,);
}
#[cfg(qt_6)]
impl SignalMeta for CopyAvailable {
const QT_SIGNATURE: &'static str = "2copyAvailable(bool)";
type Args = (bool,);
}
pub const COPY_AVAILABLE: CopyAvailable = CopyAvailable;
}
pub mod text_edit_slots {
use super::*;
#[derive(Debug, Clone, Copy)]
pub struct SetPlainText;
#[cfg(qt_5)]
impl SlotMeta for SetPlainText {
const QT_SIGNATURE: &'static str = "setPlainText(QString)";
type Args = (String,);
}
#[cfg(qt_6)]
impl SlotMeta for SetPlainText {
const QT_SIGNATURE: &'static str = "1setPlainText(QString)";
type Args = (String,);
}
pub const SET_PLAIN_TEXT: SetPlainText = SetPlainText;
#[derive(Debug, Clone, Copy)]
pub struct Clear;
#[cfg(qt_5)]
impl SlotMeta for Clear {
const QT_SIGNATURE: &'static str = "clear()";
type Args = ();
}
#[cfg(qt_6)]
impl SlotMeta for Clear {
const QT_SIGNATURE: &'static str = "1clear()";
type Args = ();
}
pub const CLEAR: Clear = Clear;
#[derive(Debug, Clone, Copy)]
pub struct Copy;
#[cfg(qt_5)]
impl SlotMeta for Copy {
const QT_SIGNATURE: &'static str = "copy()";
type Args = ();
}
#[cfg(qt_6)]
impl SlotMeta for Copy {
const QT_SIGNATURE: &'static str = "1copy()";
type Args = ();
}
pub const COPY: Copy = Copy;
#[derive(Debug, Clone, Copy)]
pub struct Paste;
#[cfg(qt_5)]
impl SlotMeta for Paste {
const QT_SIGNATURE: &'static str = "paste()";
type Args = ();
}
#[cfg(qt_6)]
impl SlotMeta for Paste {
const QT_SIGNATURE: &'static str = "1paste()";
type Args = ();
}
pub const PASTE: Paste = Paste;
}
pub mod timer_signals {
use super::*;
#[derive(Debug, Clone, Copy)]
pub struct Timeout;
#[cfg(qt_5)]
impl SignalMeta for Timeout {
const QT_SIGNATURE: &'static str = "timeout()";
type Args = ();
}
#[cfg(qt_6)]
impl SignalMeta for Timeout {
const QT_SIGNATURE: &'static str = "2timeout()";
type Args = ();
}
pub const TIMEOUT: Timeout = Timeout;
}
pub mod timer_slots {
use super::*;
#[derive(Debug, Clone, Copy)]
pub struct Start;
#[cfg(qt_5)]
impl SlotMeta for Start {
const QT_SIGNATURE: &'static str = "start()";
type Args = ();
}
#[cfg(qt_6)]
impl SlotMeta for Start {
const QT_SIGNATURE: &'static str = "1start()";
type Args = ();
}
pub const START: Start = Start;
#[derive(Debug, Clone, Copy)]
pub struct Stop;
#[cfg(qt_5)]
impl SlotMeta for Stop {
const QT_SIGNATURE: &'static str = "stop()";
type Args = ();
}
#[cfg(qt_6)]
impl SlotMeta for Stop {
const QT_SIGNATURE: &'static str = "1stop()";
type Args = ();
}
pub const STOP: Stop = Stop;
}
pub mod widget_signals {
use super::*;
#[derive(Debug, Clone, Copy)]
pub struct WindowTitleChanged;
#[cfg(qt_5)]
impl SignalMeta for WindowTitleChanged {
const QT_SIGNATURE: &'static str = "windowTitleChanged(QString)";
type Args = (String,);
}
#[cfg(qt_6)]
impl SignalMeta for WindowTitleChanged {
const QT_SIGNATURE: &'static str = "2windowTitleChanged(QString)";
type Args = (String,);
}
pub const WINDOW_TITLE_CHANGED: WindowTitleChanged = WindowTitleChanged;
#[derive(Debug, Clone, Copy)]
pub struct WindowIconChanged;
#[cfg(qt_5)]
impl SignalMeta for WindowIconChanged {
const QT_SIGNATURE: &'static str = "windowIconChanged(QIcon)";
type Args = (crate::ffi::QIcon,);
}
#[cfg(qt_6)]
impl SignalMeta for WindowIconChanged {
const QT_SIGNATURE: &'static str = "2windowIconChanged(QIcon)";
type Args = (crate::ffi::QIcon,);
}
pub const WINDOW_ICON_CHANGED: WindowIconChanged = WindowIconChanged;
#[derive(Debug, Clone, Copy)]
pub struct CustomContextMenuRequested;
#[cfg(qt_5)]
impl SignalMeta for CustomContextMenuRequested {
const QT_SIGNATURE: &'static str = "customContextMenuRequested(QPoint)";
type Args = (crate::ffi::QPoint,);
}
#[cfg(qt_6)]
impl SignalMeta for CustomContextMenuRequested {
const QT_SIGNATURE: &'static str = "2customContextMenuRequested(QPoint)";
type Args = (crate::ffi::QPoint,);
}
pub const CUSTOM_CONTEXT_MENU_REQUESTED: CustomContextMenuRequested =
CustomContextMenuRequested;
}