#ifndef MAINWINDOW_H
#define MAINWINDOW_H
-
+
#include <QDockWidget>
#include <QUndoView>
#include <QLabel>
#include "effectstackview.h"
-class MainWindow : public KXmlGuiWindow
-{
- Q_OBJECT
-
- public:
- MainWindow(QWidget *parent=0);
+class MainWindow : public KXmlGuiWindow {
+ Q_OBJECT
+
+public:
+ MainWindow(QWidget *parent = 0);
void parseProfiles();
- void customEvent ( QEvent * event );
- protected:
+
+protected:
virtual bool queryClose();
-
- private:
+
+private:
KTabWidget* m_timelineArea;
QProgressBar *statusProgressBar;
QLabel* statusLabel;
void setupActions();
QString fileName;
KdenliveDoc *m_activeDocument;
+ TrackView *m_activeTimeline;
MonitorManager *m_monitorManager;
QDockWidget *projectListDock;
void readOptions();
void saveOptions();
- public slots:
+public slots:
void openFile(const KUrl &url);
- private slots:
+private slots:
void newFile();
void activateDocument();
void connectDocument(TrackView*, KdenliveDoc*);
void saveFileAs();
void saveFileAs(const QString &outputFileName);
void slotPreferences();
+ void updateConfiguration();
void slotConnectMonitors();
void slotRaiseMonitor(bool clipMonitor);
void slotSetClipDuration(int id, int duration);
void slotAddEffect(QDomElement effect, GenTime pos = GenTime(), int track = -1);
void slotEditProfiles();
void slotEditProjectSettings();
- void slotDisplayActionMessage( QAction *a);
+ void slotDisplayActionMessage(QAction *a);
+ void slotGotProgressInfo(KUrl url, int progress);
};
-
+
#endif