I got a problem compiling the source that follows:
    QString code = this->viewManager()->activeView()->document()->text();
    Qualifier qua;
    qua.setQCode(code);
It tells me that
error: undefined reference to `Qualifier::setQCode(QString)'
the code of the qualifier.h and .cpp follows
#ifndef __QUALIFIER_H__
#define __QUALIFIER_H__
#include <iostream>
#include <string>
#include <QString>
#include <queue>
#include "analyser.h"
using namespace std;
class Qualifier
{
private:
    string code;
    queue<method> tokenisedCode;
    //queue<analysis> analysedCode;
void tokeniseCode();
public :
void setCode(string code);
void setQCode(QString code);
void computeLocAnalysis();
void computeCCAnalysis();
void visualiseResults();
};
 #endif /* __QUALIFIER_H__ */
and the CPP is
#include "qualifier.h"
using namespace std;
void Qualifier::tokeniseCode()
{
Parser par;
par.setCode(code);
par.parse();
this->tokenisedCode = par.getMethods();
}
void Qualifier::setCode(string code)
{
    this->code = code;
}
void Qualifier::setQCode(QString code)
{
this->code = qPrintable(code);
}
void Qualifier::computeLocAnalysis()
{
std::cout << this->code << std::endl;
/*
locAnalyser ana = new locAnalyser();
ana.setMethodList(tokenisedCode);
ana.computeResult();
this->analysedCode = ana.getResult();
*/
 }
void Qualifier::computeCCAnalysis()
{
// To be implemented;
 }
void Qualifier::visualiseResults()
{
/*
//Need a grapher of the results
while(!analysedCode.empty())
{
    analysis meth = analysedCode.front();
    cout << "LOC: " << meth.result << "\t\t" << meth.name << endl;
    analysedCode.pop();
    cout << "------------------------------------" << endl;
}
*/
}
I do not understand why the reference is not seen! I mean, is the exact thing, the same way that is done in the rest of the project!
 
     
     
     
    