You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
tdevelop/languages/cpp/app_templates/kdedcop/mainclass.cpp

32 lines
466 B

%{CPP_TEMPLATE}
#include "mainclass.h"
MainClass::MainClass()
: DCOPDemoIface(),
DCOPObject("mainclass"), /* this is the object name DCOP will expose */
m_intValue(0)
{
}
MainClass::~MainClass()
{
}
void MainClass::setStrVal(const QString & str) {
m_strValue = str;
}
void MainClass::setIntVal(int val) {
m_intValue = val;
}
QString MainClass::strVal() const {
return m_strValue;
}
int MainClass::intVal() const {
return m_intValue;
}