Source Code (Use browser search to find items of interest.)
Class Index
empath'EmpathViewFactory (./kdepim/empath/lib/EmpathViewFactory.h:60)
class EmpathViewFactory : public QMimeSourceFactory
{
public:
EmpathViewFactory();
~EmpathViewFactory();
void init();
virtual const QMimeSource * data(const QString & abs_name) const;
const char * className() const { return "EmpathViewFactory"; }
};
#endif
// vim:ts=4:sw=4:tw=78
empath'EmpathViewFactory::EmpathViewFactory() (./kdepim/empath/lib/EmpathViewFactory.cpp:42)
EmpathViewFactory::EmpathViewFactory()
{
// Empty.
}
empath'EmpathViewFactory::~EmpathViewFactory() (./kdepim/empath/lib/EmpathViewFactory.cpp:47)
EmpathViewFactory::~EmpathViewFactory()
{
// Empty.
}
void
empath'EmpathViewFactory::init() (./kdepim/empath/lib/EmpathViewFactory.cpp:53)
EmpathViewFactory::init()
{
}
const QMimeSource *
empath'EmpathViewFactory::data() (./kdepim/empath/lib/EmpathViewFactory.cpp:58)
EmpathViewFactory::data(const QString & abs_name) const
{
if (abs_name.left(9) == "empath://") {
RMM::RMessage m = empath->message(EmpathURL(abs_name));
if (!m) {
empathDebug("Oh shit, can't find the message.");
return 0;
}
return new EmpathXMLMessage(m);
} else {
return QMimeSourceFactory::data(abs_name);
}
}
empath'EmpathViewFactory::className() (./kdepim/empath/lib/EmpathViewFactory.h:69)
const char * className() const { return "EmpathViewFactory"; }
};
#endif
// vim:ts=4:sw=4:tw=78