Comment 2 for bug 495584

Revision history for this message
Kestas (kuryba00-gmail) wrote :

 On tuesday I have presentation at university about my project and open-source tools I've used, it would be very unpleasant if can't demonstrate umbrello because of this ugly bug..
 Any ideas how to solve problem?

This is objsconnections.h file from previous attachment, when i try to import it, Umbrello freezes:

#ifndef OBJSCONNECTIONS_H
#define OBJSCONNECTIONS_H

#include <list>
#include <string.h>
#include "ifobjheader.h"
#include "ifslottime.h"
using namespace std;

class ObjsConnections : IFSlotTime
{
private:
    list<IFObjHeader *> listObjs;
    list<IFObjHeader *>::iterator iter1; // general purpose obj list iterator
    list<IFObjHeader *>::iterator iter2; // general purpose obj list iterator
    double timeStep;
    IFSlotTime *view;
    void signalTime() { view->slotTime(); }
public:
    ObjsConnections();
    list<IFObjHeader *> *getObjsList();
    void addObj( IFObjHeader *a );
    void setTimeStep(double step) { timeStep = step;}
    void slotTime();
    void setView(IFSlotTime *view) {this->view = view;}
};

#endif // OBJSCONNECTIONS_H