Debian Codegraph @

rename_selected.h

raw symbols SCIP
1 #ifndef RENAME_SELECTED_H
2 #define RENAME_SELECTED_H
3
4 #include <QThread>
5 #include <QObject>
6 #include "window.h"
7
8 class rename_selected : public QThread {
9 Q_OBJECT
10 public:
11 rename_selected(Window *parent = nullptr){
12 _w = parent;
13 rzeit.start();
14 }
15 void run() override {
16 /* expensive or blocking operation */
17 work();
18 }
19 Window *_w;
20 bool saveruf;
21 int possible;
22 QList<int> chain;
23 int newan;
24 void setChainAndNewAN(const QList<int> ch,int na){chain=ch;newan=na;}
25 void work();
26 public slots:
27 void finalize();
28 signals:
29 void message(const QString &);//!< small text messages to the status bar.
30 void rename(int);
31 private:
32 QElapsedTimer rzeit;
33 QString all;
34 };
35
36
37 #endif // RENAME_SELECTED_H