瀏覽代碼

Rename files "*.h" => "*.hpp"

Kandrashin Denis 13 年之前
父節點
當前提交
7c17a3ed41

+ 1 - 1
CMakeLists.txt

@@ -21,7 +21,7 @@ INCLUDE(${QT_USE_FILE})
 ADD_DEFINITIONS(${QT_DEFINITIONS})
 ADD_DEFINITIONS(${LIBXML2_DEFINITIONS})
 
-file( GLOB FB2_HEAD source/*.h       )
+file( GLOB FB2_HEAD source/*.hpp     )
 file( GLOB FB2_SRCS source/*.cpp     )
 file( GLOB FB2_UIS  source/*.ui      )
 file( GLOB FB2_TSS  source/ts/*.ts   )

+ 8 - 8
fb2edit.pro

@@ -1,14 +1,14 @@
 HEADERS = \
-    source/fb2app.h \
-    source/fb2code.h \
-    source/fb2head.h \
-    source/fb2main.h \
-    source/fb2read.h \
-    source/fb2tree.h \
     source/fb2save.h \
-    source/fb2view.h \
     source/fb2xml.h \
-    source/fb2xml2.h
+    source/fb2xml2.h \
+    source/fb2app.hpp \
+    source/fb2code.hpp \
+    source/fb2head.hpp \
+    source/fb2main.hpp \
+    source/fb2read.hpp \
+    source/fb2tree.hpp \
+    source/fb2view.hpp
 
 SOURCES = \
     source/fb2app.cpp \

+ 2 - 2
source/fb2app.cpp

@@ -1,8 +1,8 @@
 #include <QApplication>
 #include <QErrorMessage>
 
-#include "fb2app.h"
-#include "fb2main.h"
+#include "fb2app.hpp"
+#include "fb2main.hpp"
 
 void Fb2Application::handleMessage(QtMsgType type, const char *msg)
 {

+ 0 - 0
source/fb2app.h → source/fb2app.hpp


+ 1 - 1
source/fb2code.cpp

@@ -1,4 +1,4 @@
-#include "fb2code.h"
+#include "fb2code.hpp"
 
 /////////////////////////////////////////////////////////////////////////////
 //

+ 0 - 0
source/fb2code.h → source/fb2code.hpp


+ 1 - 1
source/fb2head.cpp

@@ -1,4 +1,4 @@
-#include "fb2head.h"
+#include "fb2head.hpp"
 
 #include <QtDebug>
 #include <QWebFrame>

+ 0 - 0
source/fb2head.h → source/fb2head.hpp


+ 6 - 6
source/fb2main.cpp

@@ -4,12 +4,12 @@
 #include <QWebInspector>
 #include <QWebFrame>
 
-#include "fb2main.h"
-#include "fb2code.h"
-#include "fb2read.h"
-#include "fb2tree.h"
-#include "fb2view.h"
-#include "fb2head.h"
+#include "fb2main.hpp"
+#include "fb2code.hpp"
+#include "fb2read.hpp"
+#include "fb2tree.hpp"
+#include "fb2view.hpp"
+#include "fb2head.hpp"
 
 #define FB2DELETE(p) { if ( (p) != NULL ) { delete p; p = NULL; } }
 

+ 0 - 0
source/fb2main.h → source/fb2main.hpp


+ 1 - 1
source/fb2read.cpp

@@ -1,7 +1,7 @@
 #include <QtGui>
 #include <QtDebug>
 
-#include "fb2read.h"
+#include "fb2read.hpp"
 #include "fb2xml2.h"
 
 //---------------------------------------------------------------------------

+ 0 - 1
source/fb2read.h → source/fb2read.hpp

@@ -11,7 +11,6 @@
 class Fb2ReadThread : public QThread
 {
     Q_OBJECT
-
 public:
     Fb2ReadThread(QObject *parent, const QString &filename, const QString &xml = QString());
     ~Fb2ReadThread();

+ 1 - 1
source/fb2save.cpp

@@ -2,7 +2,7 @@
 #include <QtDebug>
 
 #include "fb2save.h"
-#include "fb2view.h"
+#include "fb2view.hpp"
 
 //---------------------------------------------------------------------------
 //  Fb2SaveWriter

+ 1 - 1
source/fb2tree.cpp

@@ -1,4 +1,4 @@
-#include "fb2tree.h"
+#include "fb2tree.hpp"
 
 #include <QtDebug>
 #include <QWebFrame>

+ 0 - 0
source/fb2tree.h → source/fb2tree.hpp


+ 2 - 2
source/fb2view.cpp

@@ -1,5 +1,5 @@
-#include "fb2view.h"
-#include "fb2read.h"
+#include "fb2view.hpp"
+#include "fb2read.hpp"
 #include "fb2save.h"
 #include "fb2xml2.h"
 

+ 0 - 0
source/fb2view.h → source/fb2view.hpp