complexnumbersmodule.cpp 1.53 KB
Newer Older
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 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80
/*
This file is generated, but you can safely change it
until you run "gen_actor_source.py" with "--project" flag.

Generated file is just a skeleton for module contents. 
You should change it corresponding to functionality.
*/

#include <QtCore>
#include <QtGui>
#include "complexnumbersmodule.h"

namespace ActorComplexNumbers {

ComplexNumbersModule::ComplexNumbersModule(ExtensionSystem::KPlugin * parent)
    : ComplexNumbersModuleBase(parent)
{
    /* TODO 
    implement class Constructor
    */
}

void ComplexNumbersModule::reset()
{
    /* TODO
    This method is called when actor resets its state before program starts.
    */
}

void ComplexNumbersModule::setAnimationEnabled(bool enabled)
{
    /* TODO
    Set internal flag for animation
    */
}


qreal ComplexNumbersModule::runRe(const Complex & x)
{
    /* TODO implement me */
    return 0.0;
}


qreal ComplexNumbersModule::runIm(const Complex & x)
{
    /* TODO implement me */
    return 0.0;
}


Complex  ComplexNumbersModule::runOperatorPLUS(const Complex & x, const Complex & y)
{
    /* TODO implement me */
    return Complex ();
}


Complex  ComplexNumbersModule::runOperatorMINUS(const Complex & x, const Complex & y)
{
    /* TODO implement me */
    return Complex ();
}


Complex  ComplexNumbersModule::runOperatorASTERISK(const Complex & x, const Complex & y)
{
    /* TODO implement me */
    return Complex ();
}


Complex  ComplexNumbersModule::runOperatorSLASH(const Complex & x, const Complex & y)
{
    /* TODO implement me */
    return Complex ();
}

    
} // $namespace