summaryrefslogtreecommitdiffstats
path: root/src/documentationpart.cpp
blob: b9ad78d0c902440e84a86e3544effcad386b7b47 (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()
  : KDevHTMLPart()
{
    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"