Permalink
Browse files

renaming .h files to .hpp

  • Loading branch information...
1 parent 8ef8e7e commit 8d6ef676d4106bedd45a8f2a810f5d724147c180 @kallaballa committed May 19, 2012
Showing with 200 additions and 200 deletions.
  1. 0 src/ctrl-cut/{CtrlCutException.h → CtrlCutException.hpp}
  2. +5 −5 src/ctrl-cut/Document.cpp
  3. +2 −2 src/cups-filter/cups-filter.pro
  4. +4 −4 src/gui/Commands.cpp
  5. +1 −1 src/gui/{Commands.h → Commands.hpp}
  6. +6 −6 src/gui/CtrlCutScene.cpp
  7. +1 −1 src/gui/{CtrlCutScene.h → CtrlCutScene.hpp}
  8. +1 −1 src/gui/CtrlCutView.cpp
  9. +1 −1 src/gui/{CtrlCutView.h → CtrlCutView.hpp}
  10. +1 −1 src/gui/{EventFilter.h → EventFilter.hpp}
  11. 0 src/gui/{GroupItem.h → GroupItem.hpp}
  12. +1 −1 src/gui/LaserDialog.cpp
  13. 0 src/gui/{LaserDialog.h → LaserDialog.hpp}
  14. +1 −1 src/gui/LpdClient.cpp
  15. 0 src/gui/{LpdClient.h → LpdClient.hpp}
  16. +9 −9 src/gui/MainWindow.cpp
  17. +4 −4 src/gui/{MainWindow.h → MainWindow.hpp}
  18. +1 −1 src/gui/NavigationView.cpp
  19. 0 src/gui/{NavigationView.h → NavigationView.hpp}
  20. +1 −1 src/gui/Simplify.cpp
  21. +1 −1 src/gui/{Simplify.h → Simplify.hpp}
  22. +1 −1 src/gui/StreamUtils.cpp
  23. 0 src/gui/{StreamUtils.h → StreamUtils.hpp}
  24. +1 −1 src/gui/event/CtrlCutEvent.cpp
  25. 0 src/gui/event/{CtrlCutEvent.h → CtrlCutEvent.hpp}
  26. +2 −2 src/gui/gui.cpp
  27. +24 −24 src/gui/gui.pro
  28. +2 −2 src/gui/helpers/CutItem.cpp
  29. +1 −1 src/gui/helpers/{CutItem.h → CutItem.hpp}
  30. +3 −3 src/gui/helpers/DocumentHolder.cpp
  31. 0 src/gui/helpers/{DocumentHolder.h → DocumentHolder.hpp}
  32. +1 −1 src/gui/helpers/EngraveCanvas.cpp
  33. +1 −1 src/gui/helpers/{EngraveCanvas.h → EngraveCanvas.hpp}
  34. +1 −1 src/gui/helpers/EngraveItem.cpp
  35. +1 −1 src/gui/helpers/{EngraveItem.h → EngraveItem.hpp}
  36. +1 −1 src/gui/helpers/PathItem.cpp
  37. +1 −1 src/gui/helpers/{PathItem.h → PathItem.hpp}
  38. +1 −1 src/gui/helpers/Qt.cpp
  39. 0 src/gui/helpers/{Qt.h → Qt.hpp}
  40. +1 −1 src/gui/settings/{CutSettingsTableModel.h → CutSettingsTableModel.hpp}
  41. +1 −1 src/gui/settings/{DocumentSettingsTableModel.h → DocumentSettingsTableModel.hpp}
  42. +1 −1 src/gui/settings/{EngraveSettingsTableModel.h → EngraveSettingsTableModel.hpp}
  43. 0 src/gui/settings/{SettingsTableModel.h → SettingsTableModel.hpp}
  44. +22 −22 src/imgtools/{CImg.h → CImg.hpp}
  45. +1 −1 src/imgtools/{MMapMatrix.h → MMapMatrix.hpp}
  46. +2 −2 src/imgtools/{PPMFile.h → PPMFile.hpp}
  47. +1 −1 src/imgtools/colorcnt.cpp
  48. +2 −2 src/imgtools/cropppm.cpp
  49. +2 −2 src/imgtools/noise.cpp
  50. +1 −1 src/imgtools/testimage.cpp
  51. +8 −8 src/lpd-epilog/lpd-epilog.pro
  52. 0 src/pclint/{2D.h → 2D.hpp}
  53. +22 −22 src/pclint/{CImg.h → CImg.hpp}
  54. +2 −2 src/pclint/{CLI.h → CLI.hpp}
  55. +1 −1 src/pclint/Canvas.cpp
  56. +2 −2 src/pclint/{Canvas.h → Canvas.hpp}
  57. 0 src/pclint/{HPGL.h → HPGL.hpp}
  58. +6 −6 src/pclint/{Interpreter.h → Interpreter.hpp}
  59. +2 −2 src/pclint/{Pcl.h → Pcl.hpp}
  60. +1 −1 src/pclint/{PclIntConfig.h → PclIntConfig.hpp}
  61. +2 −2 src/pclint/{Plot.h → Plot.hpp}
  62. +6 −6 src/pclint/{Plotter.h → Plotter.hpp}
  63. +5 −5 src/pclint/{Raster.h → Raster.hpp}
  64. +1 −1 src/pclint/SDLCanvas.cpp
  65. +1 −1 src/pclint/{SDLCanvas.h → SDLCanvas.hpp}
  66. +1 −1 src/pclint/{Statistic.h → Statistic.hpp}
  67. +5 −5 src/pclint/pclint.cpp
  68. 0 src/test/{TestBundledProperties.h → TestBundledProperties.hpp}
  69. +3 −3 src/test/TestCopy.cpp
  70. 0 src/test/{TestCopy.h → TestCopy.hpp}
  71. +3 −3 src/test/{TestPlanarEmbedding.h → TestPlanarEmbedding.hpp}
  72. +3 −3 src/test/test.cpp
  73. +2 −2 test-code/ps_to_eps.cpp
  74. +1 −1 test-code/ps_to_eps.pro
  75. +2 −2 test-code/vectortest.cpp
  76. +6 −6 test-code/vectortest.pro
@@ -23,7 +23,7 @@
#include "config/CutSettings.hpp"
#include "encoder/HPGLEncoder.hpp"
#include "encoder/PclEncoder.hpp"
-#include "CtrlCutException.h"
+#include "CtrlCutException.hpp"
#include "boost/filesystem.hpp"
#include "svg/Svg2Ps.hpp"
@@ -58,10 +58,10 @@ void Document::write(std::ostream &out) {
int resolution = this->get(D_SET::RESOLUTION);
int raster_power = 0;
int raster_speed = 0;
- bool enable_raster = this->get(D_SET::ENABLE_ENGRAVING);
+ bool enable_engraving = this->get(D_SET::ENABLE_ENGRAVING);
bool enable_vector = this->get(D_SET::ENABLE_CUT);
- enable_raster= false;
- if(enable_raster && !this->engraveList.empty()) {
+
+ if(enable_engraving && !this->engraveList.empty()) {
raster_power = this->front_engrave()->settings.get(E_SET::EPOWER);
raster_speed = this->front_engrave()->settings.get(E_SET::ESPEED);
}
@@ -116,7 +116,7 @@ void Document::write(std::ostream &out) {
* information to the print job.
*/
- if (enable_raster && !this->engraveList.empty()) {
+ if (enable_engraving && !this->engraveList.empty()) {
for (EngraveIt it = this->engraveList.begin(); it != this->engraveList.end(); it++) {
PclEncoder::encode(out, **it);
}
@@ -14,8 +14,8 @@ CONFIG += libctrl-cut
include(common.pri)
DEFINES += ETLOG DEBUG=4
-HEADERS += ./CupsGetOpt.h \
- ./CupsOptions.h \
+HEADERS += ./CupsGetOpt.hpp \
+ ./CupsOptions.hpp \
SOURCES += ./CupsGetOpt.cpp \
./CupsFilter.cpp \
@@ -18,10 +18,10 @@
*/
#include <QtGui>
#include <Document.hpp>
-#include <CtrlCutScene.h>
-#include "helpers/CutItem.h"
-#include "helpers/EngraveItem.h"
-#include "Commands.h"
+#include <CtrlCutScene.hpp>
+#include "helpers/CutItem.hpp"
+#include "helpers/EngraveItem.hpp"
+#include "Commands.hpp"
#include <cut/model/Reduce.hpp>
MoveCommand::MoveCommand(CtrlCutScene* scene, QGraphicsItem *item, const QPointF &oldPos,
@@ -22,7 +22,7 @@
#include <QUndoCommand>
#include <QGraphicsItem>
-#include "helpers/DocumentHolder.h"
+#include "helpers/DocumentHolder.hpp"
class Document;
class CtrlCutScene;
@@ -16,16 +16,16 @@
* along with this program; if not, write to the Free Software
* Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
*/
-#include "CtrlCutScene.h"
+#include "CtrlCutScene.hpp"
#include "Document.hpp"
-#include "helpers/CutItem.h"
-#include "helpers/EngraveItem.h"
-#include "event/CtrlCutEvent.h"
-#include "Commands.h"
+#include "helpers/CutItem.hpp"
+#include "helpers/EngraveItem.hpp"
+#include "event/CtrlCutEvent.hpp"
+#include "Commands.hpp"
#include <QGraphicsItem>
#include <QKeyEvent>
#include <QGraphicsSceneMouseEvent>
-#include "helpers/DocumentHolder.h"
+#include "helpers/DocumentHolder.hpp"
#include <QGraphicsItem>
CtrlCutScene::CtrlCutScene(QObject *parent) :
@@ -22,7 +22,7 @@
#include <QGraphicsScene>
#include <QObject>
#include <QGraphicsItem>
-#include "helpers/DocumentHolder.h"
+#include "helpers/DocumentHolder.hpp"
class CtrlCutScene : public QGraphicsScene
{
@@ -1,4 +1,4 @@
-#include "CtrlCutView.h"
+#include "CtrlCutView.hpp"
#include <QDragEnterEvent>
#include <QUrl>
#include <QDebug>
@@ -1,7 +1,7 @@
#ifndef CTRLCUTVIEW_H_
#define CTRLCUTVIEW_H_
-#include "NavigationView.h"
+#include "NavigationView.hpp"
class CtrlCutView : public NavigationView
{
@@ -22,7 +22,7 @@
#include <QObject>
#include <QFileOpenEvent>
-#include "MainWindow.h"
+#include "MainWindow.hpp"
class EventFilter : public QObject
{
File renamed without changes.
@@ -16,7 +16,7 @@
* along with this program; if not, write to the Free Software
* Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
*/
-#include "LaserDialog.h"
+#include "LaserDialog.hpp"
#include "config/EngraveSettings.hpp"
#include "config/CutSettings.hpp"
#include "config/DocumentSettings.hpp"
File renamed without changes.
@@ -16,7 +16,7 @@
* along with this program; if not, write to the Free Software
* Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
*/
-#include "LpdClient.h"
+#include "LpdClient.hpp"
LpdClient::LpdClient(QObject *parent) : QObject(parent), lpdstate(LPD_IDLE)
{
File renamed without changes.
@@ -16,17 +16,17 @@
* along with this program; if not, write to the Free Software
* Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
*/
-#include "MainWindow.h"
-#include "settings/CutSettingsTableModel.h"
-#include "settings/EngraveSettingsTableModel.h"
-#include "settings/DocumentSettingsTableModel.h"
-#include "LaserDialog.h"
+#include "MainWindow.hpp"
+#include "settings/CutSettingsTableModel.hpp"
+#include "settings/EngraveSettingsTableModel.hpp"
+#include "settings/DocumentSettingsTableModel.hpp"
+#include "LaserDialog.hpp"
#include "Document.hpp"
-#include "CtrlCutScene.h"
-#include "helpers/CutItem.h"
-#include "helpers/EngraveItem.h"
+#include "CtrlCutScene.hpp"
+#include "helpers/CutItem.hpp"
+#include "helpers/EngraveItem.hpp"
#include <qapplication.h>
-#include "Commands.h"
+#include "Commands.hpp"
#include <QGraphicsItem>
MainWindow *MainWindow::inst = NULL;
@@ -25,10 +25,10 @@
#include <QAbstractSocket>
#include <QtGui>
#include <assert.h>
-#include "LpdClient.h"
-#include "StreamUtils.h"
-#include "GroupItem.h"
-#include "helpers/Qt.h"
+#include "LpdClient.hpp"
+#include "StreamUtils.hpp"
+#include "GroupItem.hpp"
+#include "helpers/Qt.hpp"
class MainWindow : public QMainWindow, private Ui::MainWindow
{
@@ -16,7 +16,7 @@
* along with this program; if not, write to the Free Software
* Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
*/
-#include "NavigationView.h"
+#include "NavigationView.hpp"
#include <QGraphicsScene>
#include <QGraphicsTextItem>
File renamed without changes.
@@ -16,7 +16,7 @@
* along with this program; if not, write to the Free Software
* Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
*/
-#include "LaserDialog.h"
+#include "LaserDialog.hpp"
#include "config/EngraveSettings.hpp"
#include "config/CutSettings.hpp"
#include "config/DocumentSettings.hpp"
@@ -20,7 +20,7 @@
#define LASERDIALOG_H_
#include <QDialog>
-#include "ui_LaserDialog.h"
+#include "ui_LaserDialog.hpp"
#include "Document.hpp"
class SimplifyDialog : public QDialog, private Ui::SimplifyDialog
@@ -1,4 +1,4 @@
-#include "StreamUtils.h"
+#include "StreamUtils.hpp"
#include <QBuffer>
#include <stdio.h>
File renamed without changes.
@@ -1,4 +1,4 @@
-#include "CtrlCutEvent.h"
+#include "CtrlCutEvent.hpp"
CtrlCutEvent::ActionMap CtrlCutEvent::actionMap;
File renamed without changes.
View
@@ -18,8 +18,8 @@
*/
#include <QApplication>
-#include "MainWindow.h"
-#include "EventFilter.h"
+#include "MainWindow.hpp"
+#include "EventFilter.hpp"
#include "util/Logger.hpp"
#include "config/DocumentSettings.hpp"
View
@@ -37,30 +37,30 @@ FORMS += CtrlCut.ui LaserDialog.ui SimulatorDialog.ui
RESOURCES += ctrl-cut.qrc
-HEADERS += ./MainWindow.h \
- ./event/CtrlCutEvent.h \
- ./CtrlCutScene.h \
- ./NavigationView.h \
- ./Commands.h \
- ./GroupItem.h \
- ./EventFilter.h \
- ./LpdClient.h \
- ./CtrlCutView.h \
- ./LaserDialog.h \
- ./StreamUtils.h \
- ./settings/SettingsTableModel.h \
- ./settings/CutSettingsTableModel.h \
- ./settings/EngraveSettingsTableModel.h \
- ./settings/DocumentSettingsTableModel.h \
- ./helpers/Qt.h \
- ./helpers/PathItem.h \
- ./helpers/CutItem.h \
- ./helpers/EngraveCanvas.h \
- ./helpers/EngraveItem.h \
- ./helpers/DocumentHolder.h \
- ./settings/CutSettingsTableModel.h \
- ./settings/EngraveSettingsTableModel.h \
- ./settings/DocumentSettingsTableModel.h \
+HEADERS += ./MainWindow.hpp \
+ ./event/CtrlCutEvent.hpp \
+ ./CtrlCutScene.hpp \
+ ./NavigationView.hpp \
+ ./Commands.hpp \
+ ./GroupItem.hpp \
+ ./EventFilter.hpp \
+ ./LpdClient.hpp \
+ ./CtrlCutView.hpp \
+ ./LaserDialog.hpp \
+ ./StreamUtils.hpp \
+ ./settings/SettingsTableModel.hpp \
+ ./settings/CutSettingsTableModel.hpp \
+ ./settings/EngraveSettingsTableModel.hpp \
+ ./settings/DocumentSettingsTableModel.hpp \
+ ./helpers/Qt.hpp \
+ ./helpers/PathItem.hpp \
+ ./helpers/CutItem.hpp \
+ ./helpers/EngraveCanvas.hpp \
+ ./helpers/EngraveItem.hpp \
+ ./helpers/DocumentHolder.hpp \
+ ./settings/CutSettingsTableModel.hpp \
+ ./settings/EngraveSettingsTableModel.hpp \
+ ./settings/DocumentSettingsTableModel.hpp \
./settings/SettingsTableModel.h
SOURCES += ./gui.cpp \
./event/CtrlCutEvent.cpp \
@@ -16,8 +16,8 @@
* along with this program; if not, write to the Free Software
* Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
*/
-#include "CutItem.h"
-#include "PathItem.h"
+#include "CutItem.hpp"
+#include "PathItem.hpp"
#include "cut/model/Translate.hpp"
#include <qgraphicsitem.h>
#include <boost/foreach.hpp>
@@ -21,7 +21,7 @@
#include "cut/model/Cut.hpp"
#include "config/CutSettings.hpp"
-#include "Qt.h"
+#include "Qt.hpp"
class CutItem: public AbstractCtrlCutItem {
public:
@@ -16,10 +16,10 @@
* along with this program; if not, write to the Free Software
* Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
*/
-#include "DocumentHolder.h"
+#include "DocumentHolder.hpp"
#include "Document.hpp"
-#include "helpers/CutItem.h"
-#include "helpers/EngraveItem.h"
+#include "helpers/CutItem.hpp"
+#include "helpers/EngraveItem.hpp"
DocumentHolder::DocumentHolder() : doc(NULL){
@@ -17,7 +17,7 @@
* Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
*/
-#include "EngraveCanvas.h"
+#include "EngraveCanvas.hpp"
#include <qpainter.h>
EngraveCanvas::EngraveCanvas(Coord_t maxWidth) :
AbstractCtrlCutItem(), maxWidth(maxWidth), startX(-1), currentX(-1), currentY(-1), currentRow(NULL) {
@@ -24,7 +24,7 @@
#include "engrave/Engrave.hpp"
#include "config/EngraveSettings.hpp"
#include <qgraphicsitem.h>
-#include "helpers/Qt.h"
+#include "helpers/Qt.hpp"
class EngraveCanvas: public AbstractCtrlCutItem {
public:
@@ -17,7 +17,7 @@
* Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
*/
-#include "EngraveItem.h"
+#include "EngraveItem.hpp"
EngraveItem::EngraveItem(Engraving& engraving) : AbstractCtrlCutItem(), engraving(engraving) {
QGraphicsItemGroup::setFlags(
@@ -24,7 +24,7 @@
#include "engrave/Engrave.hpp"
#include "config/EngraveSettings.hpp"
#include <qgraphicsitem.h>
-#include "helpers/Qt.h"
+#include "helpers/Qt.hpp"
class EngraveItem: public AbstractCtrlCutItem {
public:
@@ -16,7 +16,7 @@
* along with this program; if not, write to the Free Software
* Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
*/
-#include "PathItem.h"
+#include "PathItem.hpp"
#include "config/PathSettings.hpp"
#include <qgraphicsitem.h>
@@ -21,7 +21,7 @@
#include "cut/model/Cut.hpp"
#include "config/PathSettings.hpp"
-#include "Qt.h"
+#include "Qt.hpp"
#include <QGraphicsPolygonItem>
class PathItem: public QGraphicsPolygonItem {
@@ -1 +1 @@
-#include "Qt.h"
+#include "Qt.hpp"
File renamed without changes.
@@ -1,7 +1,7 @@
#ifndef CUTSETTINGSTABLEMODEL_H_
#define CUTSETTINGSTABLEMODEL_H_
-#include "SettingsTableModel.h"
+#include "SettingsTableModel.hpp"
#include "config/CutSettings.hpp"
@@ -1,7 +1,7 @@
#ifndef DOCUMENTSETTINGSTABLEMODEL_H_
#define DOCUMENTSETTINGSTABLEMODEL_H_
-#include "SettingsTableModel.h"
+#include "SettingsTableModel.hpp"
#include "config/DocumentSettings.hpp"
class DocumentSettingsTableModel : public SettingsTableModel
Oops, something went wrong.

0 comments on commit 8d6ef67

Please sign in to comment.