File: QTUtility.h

package info (click to toggle)
clustalx 2.1%2Blgpl-3
  • links: PTS, VCS
  • area: main
  • in suites: jessie, jessie-kfreebsd
  • size: 2,332 kB
  • ctags: 3,424
  • sloc: cpp: 40,050; sh: 163; xml: 102; makefile: 11
file content (46 lines) | stat: -rw-r--r-- 1,131 bytes parent folder | download | duplicates (5)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
#ifndef QTUTILITY_H
#define QTUTILITY_H

#include <cstdlib>
#include <stdio.h>
#include <string.h>
#include <errno.h>
#include <stdarg.h>
#include <ctype.h>
#include <QWidget>
#include "clustalW/general/clustalw.h"
#include "clustalW/general/Utility.h"
class QLabel;

using namespace std;

namespace clustalw
{

class QTUtility : public Utility
{
    public:
        QTUtility(QWidget* main);
        virtual void error( char *msg,...);
        virtual void error( const char *msg,...);
        virtual void warning( char *msg,...);
        virtual void warning( const char *msg,...);
        virtual char promptForYesNo(char *title,char *prompt);
        virtual char promptForYesNo(const char *title,char *prompt);
        virtual void setMainWindowAddress(QWidget* main);
        virtual void info( char *msg,...);
        virtual void info( const char *msg,...);
        virtual void myname( char *myname );
        virtual void setInfoLabelPtr(QLabel* ptrToLabelObj);
        /* Attributes */

    private:
        /* Functions */


        /* Attributes */
        QWidget* mainwidget;
        QLabel* infoLabel;
};
}
#endif