summaryrefslogtreecommitdiffstats
path: root/src/documentationpart.cpp
blob: 43c9db67fae78086d7e91307b11936eb49c3ed59 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
#include "partcontroller.h"

#include "documentationpart.h"

HTMLDocumentationPart::HTMLDocumentationPart()
  : TDevHTMLPart()
{
    setOptions(CanDuplicate | CanOpenInNewWindow);
}

void HTMLDocumentationPart::slotDuplicate( )
{
    PartController::getInstance()->showDocument(url(), true);
}

void HTMLDocumentationPart::slotOpenInNewWindow( const KURL & url )
{
    PartController::getInstance()->showDocument(url, true);
}

#include "documentationpart.moc"