SmTreeView::SmTreeView(QWidget *parent):QTreeView(parent) { tree_model_=0; sm_layer_color_dialog_=0; connect(this,SIGNAL(doubleClicked(QModelIndex)),this,SLOT(mySlot(QModelIndex))); }
MyTimer::MyTimer() { tm=new Tamagotchi(); timer=new QTimer(this); connect(timer,SIGNAL(timeout()),this,SLOT(mySlot())); timer->start(2000); }
HelloWorldWidget::HelloWorldWidget(QWidget *parent) : QWidget(parent) { setupUi(this); QObject::connect(pushButton, SIGNAL(clicked()), this, SLOT(mySlot())); }
MyTimer::MyTimer() { timer = new QTimer(this); connect(timer,SIGNAL(timeout()),SLOT(mySlot())); timer->start(1000); }
QwwColorComboBoxTaskMenuExtension::QwwColorComboBoxTaskMenuExtension(QwwColorComboBox * widget, QObject * parent) : QObject(parent) { this->widget = widget; editAction = new QAction(tr("Edit colors..."), this); connect(editAction, SIGNAL(triggered()), this, SLOT(mySlot())); }
TsignalApp::TsignalApp() { connect( this, SIGNAL( mySignal() ), SLOT( mySlot() ) ); connect( this, SIGNAL( mySignal( int ), SLOT( mySlot( int ) ) ); connect( this, SIGNAL( mySignalParam( int, int ), SLOT( mySlotParam( int, int ); }