[prev in list] [next in list] [prev in thread] [next in thread]
List: kde-commits
Subject: [kate] addons/filetree: remove useless header
From: Christoph Cullmann <cullmann () kde ! org>
Date: 2014-09-09 15:01:28
Message-ID: E1XRMvA-0008Vb-0N () scm ! kde ! org
[Download RAW message or body]
Git commit 7f1699f53986b511468d7fa46c1745c7ac0d2dac by Christoph Cullmann.
Committed on 09/09/2014 at 14:55.
Pushed by cullmann into branch 'master'.
remove useless header
M +1 -1 addons/filetree/katefiletree.cpp
M +1 -1 addons/filetree/katefiletreemodel.cpp
D +0 -25 addons/filetree/metatype_qlist_ktexteditor_document_pointer.h
http://commits.kde.org/kate/7f1699f53986b511468d7fa46c1745c7ac0d2dac
diff --git a/addons/filetree/katefiletree.cpp b/addons/filetree/katefiletre=
e.cpp
index 6cdc28c..44e5d3f 100644
--- a/addons/filetree/katefiletree.cpp
+++ b/addons/filetree/katefiletree.cpp
@@ -308,7 +308,7 @@ void KateFileTree::slotOpenWithMenuAction(QAction *a)
}
}
=
-#include "metatype_qlist_ktexteditor_document_pointer.h"
+Q_DECLARE_METATYPE(QList<KTextEditor::Document *>)
=
void KateFileTree::slotDocumentClose()
{
diff --git a/addons/filetree/katefiletreemodel.cpp b/addons/filetree/katefi=
letreemodel.cpp
index ad26104..aa5c814 100644
--- a/addons/filetree/katefiletreemodel.cpp
+++ b/addons/filetree/katefiletreemodel.cpp
@@ -485,7 +485,7 @@ Qt::ItemFlags KateFileTreeModel::flags(const QModelInde=
x &index) const
return flags;
}
=
-#include "metatype_qlist_ktexteditor_document_pointer.h"
+Q_DECLARE_METATYPE(QList<KTextEditor::Document *>)
=
QVariant KateFileTreeModel::data(const QModelIndex &index, int role) const
{
diff --git a/addons/filetree/metatype_qlist_ktexteditor_document_pointer.h =
b/addons/filetree/metatype_qlist_ktexteditor_document_pointer.h
deleted file mode 100644
index 4df560d..0000000
--- a/addons/filetree/metatype_qlist_ktexteditor_document_pointer.h
+++ /dev/null
@@ -1,25 +0,0 @@
-/* This file is part of the KDE project
- Copyright (C) 2010 Thomas Fjellstrom <thomas@fjellstrom.ca>
-
- This library is free software; you can redistribute it and/or
- modify it under the terms of the GNU Library General Public
- License as published by the Free Software Foundation; either
- version 2 of the License, or (at your option) any later version.
-
- This library is distributed in the hope that it will be useful,
- but WITHOUT ANY WARRANTY; without even the implied warranty of
- MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
- Library General Public License for more details.
-
- You should have received a copy of the GNU Library General Public Licen=
se
- along with this library; see the file COPYING.LIB. If not, write to
- the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor,
- Boston, MA 02110-1301, USA.
-*/
-
-#ifndef METATYPE_QLIST_KTEXTEDITOR_DOCUMENT_POINTER_H
-#define METATYPE_QLIST_KTEXTEDITOR_DOCUMENT_POINTER_H
-
-Q_DECLARE_METATYPE(QList<KTextEditor::Document *>)
-
-#endif
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic