[prev in list] [next in list] [prev in thread] [next in thread]
List: kde-commits
Subject: KDE/kdesdk/lokalize/src
From: Christian Ehrlicher <Ch.Ehrlicher () gmx ! de>
Date: 2009-02-22 17:59:19
Message-ID: 1235325559.658133.23614.nullmailer () svn ! kde ! org
[Download RAW message or body]
SVN commit 930118 by chehrlic:
more ebn fixes (mostly: 13. Check for proper include directives)
M +2 -3 catalog/pos.h
M +3 -2 cataloglistview/cataloglistview.h
M +3 -3 cataloglistview/catalogmodel.cpp
M +0 -5 editortab.cpp
M +2 -0 main.cpp
M +1 -1 msgctxtview.cpp
M +1 -1 multieditoradaptor.h
M +2 -2 prefs/prefs.h
M +1 -0 tm/tmmanager.cpp
M +2 -2 webquery/webqueryview.h
--- trunk/KDE/kdesdk/lokalize/src/catalog/pos.h #930117:930118
@@ -24,11 +24,10 @@
#ifndef POS_H
#define POS_H
-#include <QtCore>
-#include <QDBusArgument>
+#include <QMetaType>
+
class Catalog;
-
/**
* This struct represents a position in a catalog.
* A position is a tuple (index,pluralform,textoffset).
--- trunk/KDE/kdesdk/lokalize/src/cataloglistview/cataloglistview.h #930117:930118
@@ -21,8 +21,8 @@
**************************************************************************** */
-#ifndef CATALOGTREEVIEW_H
-#define CATALOGTREEVIEW_H
+#ifndef CATALOGLISTVIEW_H
+#define CATALOGLISTVIEW_H
#include "pos.h"
@@ -34,6 +34,7 @@
class KLineEdit;
class QMenu;
class QAction;
+class QModelIndex;
class CatalogView: public QDockWidget
{
--- trunk/KDE/kdesdk/lokalize/src/cataloglistview/catalogmodel.cpp #930117:930118
@@ -118,8 +118,8 @@
case Notes:
{
QString result;
- QList<Note> notes=m_catalog->notes(index.row());
- foreach(Note note,notes)
+ const QList<Note> notes=m_catalog->notes(index.row());
+ foreach(const Note ¬e,notes)
result+=note.content;
return result;
}
@@ -174,4 +174,4 @@
accepts=(modified==bool(filerOptions&Modified) || modified!=bool(filerOptions&NonModified));
}
return accepts&&QSortFilterProxyModel::filterAcceptsRow(source_row,source_parent);
-}
\ No newline at end of file
+}
--- trunk/KDE/kdesdk/lokalize/src/editortab.cpp #930117:930118
@@ -47,11 +47,6 @@
#include <kglobal.h>
#include <klocale.h>
-#include <kdebug.h>
-
-
-#include <kglobal.h>
-#include <klocale.h>
#include <kicon.h>
#include <kmenubar.h>
#include <kstatusbar.h>
--- trunk/KDE/kdesdk/lokalize/src/main.cpp #930117:930118
@@ -32,6 +32,8 @@
#include "catalogstring.h"
#include "pos.h"
#include <QMetaType>
+#include <QString>
+#include <QFileInfo>
#include <kapplication.h>
#include <kaboutdata.h>
--- trunk/KDE/kdesdk/lokalize/src/msgctxtview.cpp #930117:930118
@@ -220,7 +220,7 @@
if (!sourceFiles.isEmpty())
{
html+=i18nc("@info PO comment parsing","<br><b>Files:</b><br>");
- foreach(QString sourceFile, sourceFiles)
+ foreach(const QString &sourceFile, sourceFiles)
html+=QString("<a href=\"src:/%1\">%2</a><br />").arg(sourceFile).arg(sourceFile);
html.chop(6);
}
--- trunk/KDE/kdesdk/lokalize/src/multieditoradaptor.h #930117:930118
@@ -49,4 +49,4 @@
-#endif
\ No newline at end of file
+#endif
--- trunk/KDE/kdesdk/lokalize/src/prefs/prefs.h #930117:930118
@@ -21,8 +21,8 @@
**************************************************************************** */
-#ifndef SETTINGSCONTROLLER_H
-#define SETTINGSCONTROLLER_H
+#ifndef PREFS_H
+#define PREFS_H
#include <QLineEdit>
class KEditListBox;
--- trunk/KDE/kdesdk/lokalize/src/tm/tmmanager.cpp #930117:930118
@@ -39,6 +39,7 @@
#include "tmscanapi.h"
#include "project.h"
+#include <QTimer>
#include <kfiledialog.h>
#include <kdialog.h>
#include <kdebug.h>
--- trunk/KDE/kdesdk/lokalize/src/webquery/webqueryview.h #930117:930118
@@ -30,8 +30,8 @@
**************************************************************************** */
-#ifndef KROSSVIEW_H
-#define KROSSVIEW_H
+#ifndef WEBQUERYVIEW_H
+#define WEBQUERYVIEW_H
#include <pos.h>
#include <QDockWidget>
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic