explicit set video queue to 500ms (sender)
[makneto-zunavac1.git] / src / maknetoview.h
blob97dfb94eb22783f760de480422283f00308e0ba8
1 /*
2 * maknetoview.h
4 * Copyright (C) 2007 Jaroslav Reznik <rezzabuh@gmail.com>
5 */
6 #ifndef MAKNETOVIEW_H
7 #define MAKNETOVIEW_H
9 #include <QtGui/QWidget>
10 #include "makneto.h"
12 class QPainter;
13 class KUrl;
14 class SessionView;
15 class SessionTabManager;
17 /**
18 * This is the main view class for Makneto. Most of the non-menu,
19 * non-toolbar, and non-statusbar (e.g., non frame) GUI code should go
20 * here.
22 * @short Main view
23 * @author Jaroslav Reznik <rezzabuh@gmail.com>
24 * @version 0.1
27 class Makneto;
28 class SidebarWidget;
29 class MUCView;
31 class MaknetoView : public QWidget
33 Q_OBJECT
34 public:
35 /**
36 * Default constructor
38 MaknetoView(QWidget *parent, Makneto *makneto);
40 /**
41 * Destructor
43 virtual ~MaknetoView();
45 SessionTabManager *getSessionTabManager(void) { return m_sessiontabmanager; }
46 SidebarWidget *getSidebarWidget(void) { return m_sidebar; }
47 MUCView *getMUCView() { return m_muc; }
49 signals:
50 /**
51 * Use this signal to change the content of the statusbar
53 void signalChangeStatusbar(const QString& text);
55 /**
56 * Use this signal to change the content of the caption
58 void signalChangeCaption(const QString& text);
61 private slots:
62 void settingsChanged();
64 private:
65 SidebarWidget *m_sidebar;
66 SessionView *m_sessionview;
67 SessionTabManager *m_sessiontabmanager;
68 MUCView *m_muc;
71 #endif // MaknetoVIEW_H