|
|
|
@ -51,14 +51,14 @@ public:
|
|
|
|
|
enum UnavailReason { DocumentNotFound, HandlerNotFound };
|
|
|
|
|
/** This is called by KoDocumentChild::createUnavailDocument */
|
|
|
|
|
void setUnavailReason( const TQString& reason ) { m_reason = reason; }
|
|
|
|
|
// stupid tqmoc - I want a write-only property !
|
|
|
|
|
// stupid moc - I want a write-only property !
|
|
|
|
|
TQString unavailReason() const { return m_reason; }
|
|
|
|
|
/** This is called by KoDocumentChild::createUnavailDocument
|
|
|
|
|
* Note the trick: we directly modify the URL of the document,
|
|
|
|
|
* the one returned by KPart's url()
|
|
|
|
|
*/
|
|
|
|
|
void setRealURL( const TQString& u ) { m_url = u; }
|
|
|
|
|
// stupid tqmoc again
|
|
|
|
|
// stupid moc again
|
|
|
|
|
TQString realURL() const { return m_url.url(); }
|
|
|
|
|
|
|
|
|
|
protected:
|
|
|
|
|