QListWidgetItem * new_item = new QListWidgetItem("TO EDIT!");
new_item->setFlags(Qt::ItemIsSelectable|Qt::ItemIsEditable|Qt::ItemIsUserCheckable|Qt::ItemIsEnabled);
ui->output_files_list->addItem(new_item);
- emit completeChanged();
+ Q_EMIT completeChanged();
}
void
int row = ui->output_files_list->row( list.at(i) );
delete ui->output_files_list->takeItem(row);
}
- emit completeChanged();
+ Q_EMIT completeChanged();
}
void
void clone(const std::string & name);
- public slots:
+ public Q_SLOTS:
void end(int result);
private:
virtual int nextId() const ;
virtual void cleanupPage() {}
- public slots:
+ public Q_SLOTS:
void yacs_schema_button(bool checked);
void command_button(bool checked);
void python_salome_button(bool checked);
virtual void cleanupPage();
virtual void initializePage();
- public slots:
+ public Q_SLOTS:
void choose_launcher_file();
private:
virtual bool isComplete() const;
virtual void cleanupPage() {}
- public slots:
+ public Q_SLOTS:
void choose_input_files();
void remove_input_files();
void input_itemSelectionChanged();
virtual void initializePage();
virtual void cleanupPage() {}
- public slots:
+ public Q_SLOTS:
void itemSelected(QListWidgetItem * item);
private:
virtual int nextId() const ;
virtual void cleanupPage() {}
- public slots:
+ public Q_SLOTS:
void choose_file();
void choose_env_file();
virtual int nextId() const ;
virtual void cleanupPage() {}
- public slots:
+ public Q_SLOTS:
void choose_command_file();
void choose_env_file();
virtual int nextId() const ;
virtual void cleanupPage() {}
- public slots:
+ public Q_SLOTS:
void choose_PythonSalome_file();
void choose_env_file();
void reset_job_selection();
- public slots:
+ public Q_SLOTS:
void create_job();
void edit_clone_job();
void start_job();
void createJobFilesTab();
void job_selected(const QModelIndex & index);
- public slots:
+ public Q_SLOTS:
void itemChanged(QStandardItem * item);
void reset(QString job_name);
// End
addJobToLauncher(wizard.job_name);
- emit new_job_added(QString::fromUtf8(wizard.job_name.c_str()));
+ Q_EMIT new_job_added(QString::fromUtf8(wizard.job_name.c_str()));
QStandardItemModel * model = _model_manager->getModel();
QList<QStandardItem *> item_list = model->findItems(QString::fromUtf8(wizard.job_name.c_str()));
QStandardItem * job_state_item = model->item(item_list.at(0)->row(), 2);
write_error_text((event->data).c_str());
write_error_text(" ***\n");
}
- emit job_state_changed(job_name);
+ Q_EMIT job_state_changed(job_name);
}
else if (event->action == "refresh_job")
{
QString state((event->data).c_str());
state = state.toLower();
write_normal_text("Job " + job_name + " new state is " + state + "\n");
- emit job_state_changed(job_name);
+ Q_EMIT job_state_changed(job_name);
}
else
{
if (event->event_name == "Ok")
{
write_normal_text("New job added " + job_name + "\n");
- emit new_job_added(job_name);
+ Q_EMIT new_job_added(job_name);
}
}
else if (event->action == "to_remove_job")
protected:
void create_job_with_wizard(BL::CreateJobWizard & wizard);
- public slots:
+ public Q_SLOTS:
void RefreshJobs();
void no_auto_refresh();
void ten_seconds_refresh();
void load_jobs_button();
void save_jobs_button();
- signals:
+ Q_SIGNALS:
void new_job_added(const QString & name);
void job_state_changed(const QString & name);
protected:
QWidget* _parent;
- protected slots:
+ protected Q_SLOTS:
void selectionChanged ( const QItemSelection & selected, const QItemSelection & deselected );
void currentChanged(const QModelIndex & current, const QModelIndex & previous);
void delete_job(const QString & name);
- public slots:
+ public Q_SLOTS:
void new_job_added(const QString & name);
void job_state_changed(const QString & name);
void updateJobs();
- public slots:
+ public Q_SLOTS:
void rowsInserted(const QModelIndex & parent, int start, int end);
void rowsRemoved(const QModelIndex & parent, int start, int end);
void itemChanged(QStandardItem * item);
void get_infos();
- public slots:
+ public Q_SLOTS:
virtual void accept();
void add_component();
void remove_components();
QListWidget * getQListWidget();
- public slots:
+ public Q_SLOTS:
void refresh_resource_list();
void item_choosed(QListWidgetItem * item);
void buttons_management();
void initialize( CAM_Application* app); // --- Call only once, at GUI module creation
void windows( QMap<int, int>& theMap) const; // --- Default windows, called each time the module is activated
- public slots:
+ public Q_SLOTS:
bool deactivateModule( SUIT_Study* theStudy);
bool activateModule( SUIT_Study* theStudy);
void studyClosed();
- protected slots:
+ protected Q_SLOTS:
void onWindowActivated( SUIT_ViewWindow* svw);
protected: