summaryrefslogtreecommitdiffstats
path: root/k9author/k9importfiles.cpp
blob: addf207bf987ccae7528d97eb33c5a3dc7e43082 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
//
// C++ Implementation: k9importfiles
//
// Description: 
//
//
// Author: Jean-Michel PETIT <[email protected]>, (C) 2007
//
// Copyright: See COPYING file that comes with this distribution
//
//
#include "k9importfiles.h"
#include "k9import.h"
#include "k9newtitle.h"
#include "klocale.h"
#include "kapplication.h"
#include "k9chapteredit.h"
#include "k9avifile.h"
#include "k9menuedit.h"

k9ImportFiles::k9ImportFiles(TQWidget *parent, const char *name)
 : KMdiMainFrm( parent, name ,KMdi::IDEAlMode )
{
    this->setCaption(kapp->makeStdCaption(i18n("Create new DVD"),true));
    m_k9Import=new k9Import(this);
    m_k9ImportView=createWrapper( m_k9Import,"","");
    addWindow(m_k9ImportView, KMdi::StandardAdd);
    

    k9MenuEdit *menu=new k9MenuEdit(this);
    addToolWindow(menu, KDockWidget::DockRight, getMainDockWidget(),0,i18n("Edit menu"),i18n("Edit Menu"));

    k9ChapterEdit *ch=new k9ChapterEdit(this);
    addToolWindow(ch, KDockWidget::DockBottom, getMainDockWidget(),0,i18n("Chapter properties"),i18n("Chapter properties"));

    connect(m_k9Import,TQT_SIGNAL(aviFileSelected(k9AviFile*)),ch,TQT_SLOT(setAviFile(k9AviFile*)));
    
    m_k9NewTitle=new k9NewTitle(this);
    m_k9NewTitle->setK9Import(m_k9Import);
    addToolWindow(m_k9NewTitle, KDockWidget::DockBottom, getMainDockWidget(),0,i18n("Add title"),i18n("Add title"));

    m_k9Import->init();

}


k9ImportFiles::~k9ImportFiles()
{
}


#include "k9importfiles.moc"