Switch to unified view

a/src/qtgui/fragbuts.h b/src/qtgui/fragbuts.h
...
...
15
 *   59 Temple Place - Suite 330, Boston, MA  02111-1307, USA.
15
 *   59 Temple Place - Suite 330, Boston, MA  02111-1307, USA.
16
 */
16
 */
17
17
18
#ifndef _FRAGBUTS_H_INCLUDED_
18
#ifndef _FRAGBUTS_H_INCLUDED_
19
#define _FRAGBUTS_H_INCLUDED_
19
#define _FRAGBUTS_H_INCLUDED_
20
21
#include <time.h>
22
20
#include <string>
23
#include <string>
21
#include <vector>
24
#include <vector>
22
25
23
#include <QWidget>
26
#include <QWidget>
24
27
...
...
45
        }
48
        }
46
    };
49
    };
47
50
48
    void getfrags(std::vector<std::string>&);
51
    void getfrags(std::vector<std::string>&);
49
    bool ok() {return m_ok;}
52
    bool ok() {return m_ok;}
53
    bool isStale(time_t *reftime);
50
private slots:
54
private slots:
51
    void onButtonClicked(bool);
55
    void onButtonClicked(bool);
52
56
53
signals:
57
signals:
54
    void fragmentsChanged();
58
    void fragmentsChanged();
55
59
56
private:
60
private:
57
    // Detect source file change
61
    std::vector<ButFrag> m_buttons;
62
    std::string m_fn;
58
    time_t m_reftime; 
63
    time_t m_reftime; 
59
    std::vector<ButFrag> m_buttons;
60
  bool m_ok;
64
    bool m_ok;
61
 };
65
 };
62
66
63
67
64
#endif /* _FRAGBUTS_H_INCLUDED_ */
68
#endif /* _FRAGBUTS_H_INCLUDED_ */