~ubuntu-branches/ubuntu/saucy/juffed/saucy

« back to all changes in this revision

Viewing changes to src/DocHandler.cpp

  • Committer: Bazaar Package Importer
  • Author(s): Maia Kozheva
  • Date: 2011-04-30 13:43:26 UTC
  • mfrom: (2.1.1 experimental)
  • Revision ID: james.westby@ubuntu.com-20110430134326-0bnvvo5z2medbdxi
Tags: 0.9.1137-1
* New upstream release.
* Remove debian/juffed.1, added upstream (in debian.in).
* Remove debian/patches/static.patch: we can now bundle the .so after
  upstream has resolved soname issues.
* debian/control:
  - Bump Standards-Version to 0.9.2.
  - Update homepage.
  - Do not build-depend on chrpath, not needed anymore.
* debian/rules:
  - Remove chrpath rule, not needed anymore.
* Add juffed-dev and juffed-plugins packages.
* Do not install the libkeybindings.so plugin: causes a segfault on my
  amd64 machine.

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
 
/*
2
 
JuffEd - An advanced text editor
3
 
Copyright 2007-2009 Mikhail Murzin
4
 
 
5
 
This program is free software; you can redistribute it and/or
6
 
modify it under the terms of the GNU General Public License 
7
 
version 2 as published by the Free Software Foundation.
8
 
 
9
 
This program is distributed in the hope that it will be useful,
10
 
but WITHOUT ANY WARRANTY; without even the implied warranty of
11
 
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
12
 
GNU General Public License for more details.
13
 
 
14
 
You should have received a copy of the GNU General Public License
15
 
along with this program; if not, write to the Free Software
16
 
Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA  02111-1307, USA.
17
 
*/
18
 
 
19
 
#include "DocHandler.h"
20
 
 
21
 
#include "Document.h"
22
 
#include "Juff.h"
23
 
#include "Parameter.h"
24
 
 
25
 
#include "Log.h"
26
 
 
27
 
namespace Juff {
28
 
 
29
 
class DocHandler::Interior {
30
 
public:
31
 
        Interior(DocHandler* h) {
32
 
        }
33
 
        ~Interior() {
34
 
        }
35
 
};
36
 
 
37
 
DocHandler::DocHandler() : QObject() {
38
 
        hInt_ = new Interior(this);
39
 
}
40
 
 
41
 
DocHandler::~DocHandler() {
42
 
        delete hInt_;
43
 
}
44
 
 
45
 
void DocHandler::setDocType(Document* doc, const QString& type) {
46
 
        doc->type_ = type;
47
 
}
48
 
 
49
 
MenuList DocHandler::menus() const {
50
 
        return MenuList();
51
 
}
52
 
 
53
 
ActionList DocHandler::menuActions(MenuID) const {
54
 
        return ActionList();
55
 
}
56
 
 
57
 
ToolBarList DocHandler::toolBars() const {
58
 
        return ToolBarList();
59
 
}
60
 
 
61
 
QWidgetList DocHandler::statusWidgets() const {
62
 
        return QWidgetList();
63
 
}
64
 
 
65
 
}       //      namespace Juff