]> Shamusworld >> Repos - architektonas/commitdiff
Whitespace changes. :-P
authorShamus Hammons <jlhamm@acm.org>
Mon, 29 Nov 2021 21:50:35 +0000 (15:50 -0600)
committerShamus Hammons <jlhamm@acm.org>
Mon, 29 Nov 2021 21:50:35 +0000 (15:50 -0600)
23 files changed:
.gitignore
README
cross-compile
src/about.cpp
src/baseunittab.cpp
src/blockitemwidget.cpp
src/blockwidget.cpp
src/connection.cpp
src/container.cpp
src/fileio.cpp
src/fileio.h
src/generaltab.cpp
src/global.h
src/layeritemwidget.cpp
src/layerwidget.cpp
src/layerwidget.h
src/main.cpp
src/mathconstants.h
src/objectwidget.cpp
src/objectwidget.h
src/penwidget.cpp
src/settingsdialog.cpp
src/utils.cpp

index 52b3102cdf638568dc57f755aa8ca218350d8090..be16d7256a9a10b9cb547391badd919397a57674 100644 (file)
@@ -12,3 +12,5 @@ architektonas
 spline/
 work/
 .qmake.stash
+ref/*
+changes.txt
diff --git a/README b/README
index e402b44569e12635b9868068aee50250b06ec402..fe1c6240da59aceb1a8acbc42712adb2c8a90904 100644 (file)
--- a/README
+++ b/README
@@ -78,4 +78,3 @@ typing:
 make && make install
 
 [*NOTE: make install doesn't do anything ATM]
-
index cbb56a33da6751c0a21220cec0698a8b3d2bfcf6..28e40851197a1b66ffa1e51b1d16900b85e35be3 100755 (executable)
@@ -18,4 +18,3 @@ make clean && make
 rel=`git log -1 --pretty=format:%ci | cut -d ' ' -f 1 | tr -d -`
 #echo ${TARGET}.exe
 cd release && upx -9v ${TARGET}.exe && zip -9v ${TARGET}-${rel}.zip ${TARGET}.exe
-
index 7a8a210158736c5a5290be3fcf668d969253b107..78f33bb4c22bf485f69016de9e54ee0f3167737f 100644 (file)
@@ -19,7 +19,6 @@
 #include "about.h"
 //testing... #include "structs.h"
 
-
 AboutWindow::AboutWindow(QWidget * parent/*= 0*/): QWidget(parent, Qt::Dialog)
 {
        setWindowTitle(tr("About Architektonas..."));
@@ -64,10 +63,8 @@ AboutWindow::AboutWindow(QWidget * parent/*= 0*/): QWidget(parent, Qt::Dialog)
        layout->addWidget(text);
 }
 
-
 void AboutWindow::keyPressEvent(QKeyEvent * e)
 {
        if (e->key() == Qt::Key_Escape || e->key() == Qt::Key_Return)
                hide();
 }
-
index 00bcc9b7aca6f787f51aa93262118ab1680a2313..930d0a1bdeac26d24a9146c5276c509d07a34e0f 100644 (file)
@@ -14,7 +14,6 @@
 
 #include "baseunittab.h"
 
-
 BaseUnitTab::BaseUnitTab(QWidget * parent/*= 0*/): QWidget(parent)
 {
        unitInch = new QRadioButton(tr("Inches"));
@@ -28,8 +27,6 @@ BaseUnitTab::BaseUnitTab(QWidget * parent/*= 0*/): QWidget(parent)
        setLayout(layout);
 }
 
-
 BaseUnitTab::~BaseUnitTab()
 {
 }
-
index ea786f922924f4c2b2a983516b5abe74729543d5..9a762bd17be12f739f9965481616dd71990110e0 100644 (file)
@@ -1,4 +1,5 @@
-// layeritemwidget.cpp: Layer item widget
+//
+// blockitemwidget.cpp: Block item widget
 //
 // Part of the Architektonas Project
 // (C) 2011 Underground Software
@@ -13,7 +14,6 @@
 
 #include "blockitemwidget.h"
 
-
 BlockItemWidget::BlockItemWidget(QString s, QPixmap * i/*=0*/):
        QWidget(),
        name(new QLabel(s)),
@@ -42,8 +42,6 @@ QSize size = mainLayout->sizeHint();
 printf("BlockItemWidget: size. w=%i, h=%i\n", size.width(), size.height());
 }
 
-
 BlockItemWidget::~BlockItemWidget()
 {
 }
-
index d6965c977c873861834f1fcb54e9d2a8d3a70349..3c1635753ba6823753c27a19f4af972bbbada460 100644 (file)
@@ -1,3 +1,4 @@
+//
 // blockwidget.cpp: Block add/remove/use widget
 //
 // Part of the Architektonas Project
@@ -14,7 +15,6 @@
 #include "blockwidget.h"
 #include "blockitemwidget.h"
 
-
 BlockWidget::BlockWidget(void): QWidget()
 {
        BlockItemWidget * biw1 = new BlockItemWidget("2x4");
@@ -76,8 +76,6 @@ BlockWidget::BlockWidget(void): QWidget()
        setLayout(mainLayout);
 }
 
-
 BlockWidget::~BlockWidget()
 {
 }
-
index 8e122344c04bcca446958e0156d0a90e3f9c1585..f1ab3848f0004f4999dcfce2fdde21de13c2ba35 100644 (file)
 
 #include "connection.h"
 
-
 Connection::Connection(Object * o/*= NULL*/, double param/*= 0*/)
 {
        object = o;
        t = param;
 }
 
-
 Connection::~Connection()
 {
 }
 
-
 // Check for equality
 bool Connection::operator==(Connection const c)
 {
        return (object == c.object) && (t == c.t);
 }
 
-
 // Check for inequality
 bool Connection::operator!=(Connection const c)
 {
        return (object != c.object) || (t != c.t);
 }
-
index 9c3d403bf74b8864af6cfea0b0a4a0f2e036c520..b3f7347c541897395a192c9b4e26f029226f11d6 100644 (file)
@@ -1,3 +1,4 @@
+//
 // container.cpp: Container object
 //
 // Part of the Architektonas Project
@@ -19,7 +20,6 @@
 #include "dimension.h"
 #include "painter.h"
 
-
 Container::Container(Vector p1, Object * p/*= NULL*/): Object(p1, p),
        isTopLevelContainer(false),
        dragging(false), draggingHandle1(false), draggingHandle2(false),
@@ -29,7 +29,6 @@ Container::Container(Vector p1, Object * p/*= NULL*/): Object(p1, p),
        state = OSInactive;
 }
 
-
 // Copy constructor
 Container::Container(const Container & copy): Object(copy.position, copy.parent)
 {
@@ -39,13 +38,11 @@ Container::Container(const Container & copy): Object(copy.position, copy.parent)
        state = OSInactive;
 }
 
-
 Container::~Container()
 {
        Clear();
 }
 
-
 // Assignment operator
 Container & Container::operator=(const Container & from)
 {
@@ -66,7 +63,6 @@ printf("Container: Copying object $%08X...\n", *i);
        return *this;
 }
 
-
 /*virtual*/ void Container::Draw(Painter * painter)
 {
        QRectF boundary;
@@ -91,13 +87,11 @@ printf("Container: Copying object $%08X...\n", *i);
        }
 }
 
-
 /*virtual*/ Vector Container::Center(void)
 {
        return position;
 }
 
-
 /*
  We need at least *three* handles for this object:
  - one for moving
@@ -111,7 +105,6 @@ I click here and drag there?"
 Also: should put the snap logic into the Object base class (as a static method)...
 */
 
-
 // Need to add checking here for clicking on a member of a group (Container),
 // and checking for if it's a top level container (the DrawingView's document).
 /*
@@ -272,7 +265,6 @@ class so that we can leverage that stuff here as well.
        return (lastObjectHovered == NULL ? false : true);
 }
 
-
 /*virtual*/ void Container::PointerReleased(void)
 {
        if (!isTopLevelContainer)
@@ -303,7 +295,6 @@ have to worry about keeping track of old states...
                (*i)->PointerReleased();
 }
 
-
 /*virtual*/ bool Container::NeedsUpdate(void)
 {
        // If this is *not* a top level container, then we treat it as an
@@ -324,14 +315,12 @@ have to worry about keeping track of old states...
        return false;
 }
 
-
 /*virtual*/ void Container::Add(Object * object)
 {
        objects.push_back(object);
 printf("Container: Added object (=$%X). size = %li\n", object, objects.size());
 }
 
-
 /*virtual*/ QRectF Container::Extents(void)
 {
        QRectF bounds;
@@ -342,7 +331,6 @@ printf("Container: Added object (=$%X). size = %li\n", object, objects.size());
        return bounds;
 }
 
-
 void Container::Delete(Object * objectToDelete)
 {
        std::vector<Object *>::iterator i = objects.begin();
@@ -360,7 +348,6 @@ void Container::Delete(Object * objectToDelete)
        }
 }
 
-
 void Container::DeleteSelectedItems(void)
 {
        std::vector<Object *>::iterator i = objects.begin();
@@ -377,7 +364,6 @@ void Container::DeleteSelectedItems(void)
        }
 }
 
-
 void Container::Clear(void)
 {
        std::vector<Object *>::iterator i = objects.begin();
@@ -390,21 +376,18 @@ printf("Container: Deleting object ($%X)...\n", *i);
        }
 }
 
-
 void Container::SelectAll(void)
 {
        for(unsigned int i=0; i<objects.size(); i++)
                objects[i]->state = OSSelected;
 }
 
-
 void Container::DeselectAll(void)
 {
        for(unsigned int i=0; i<objects.size(); i++)
                objects[i]->state = OSInactive;
 }
 
-
 int Container::ItemsSelected(void)
 {
        int selected = 0;
@@ -416,7 +399,6 @@ int Container::ItemsSelected(void)
        return selected;
 }
 
-
 Object * Container::SelectedItem(unsigned int index)
 {
        unsigned int selectedIndex = 0;
@@ -435,7 +417,6 @@ Object * Container::SelectedItem(unsigned int index)
        return NULL;
 }
 
-
 void Container::MoveContentsTo(Container * newContainer)
 {
        // Sanity check
@@ -453,7 +434,6 @@ void Container::MoveContentsTo(Container * newContainer)
        objects.clear();
 }
 
-
 void Container::CopyContentsTo(Container * newContainer)
 {
        // Sanity check
@@ -465,7 +445,6 @@ void Container::CopyContentsTo(Container * newContainer)
                newContainer->Add((*i)->Copy());
 }
 
-
 void Container::MoveSelectedContentsTo(Container * newContainer)
 {
        // Sanity check
@@ -487,7 +466,6 @@ void Container::MoveSelectedContentsTo(Container * newContainer)
        }
 }
 
-
 void Container::CopySelectedContentsTo(Container * newContainer)
 {
        // Sanity check
@@ -502,7 +480,6 @@ void Container::CopySelectedContentsTo(Container * newContainer)
        }
 }
 
-
 void Container::ResizeAllDimensions(double newSize)
 {
        for(std::vector<Object *>::iterator i=objects.begin(); i!=objects.end(); i++)
@@ -514,7 +491,6 @@ void Container::ResizeAllDimensions(double newSize)
        }
 }
 
-
 /*virtual*/ void Container::Enumerate(FILE * file)
 {
        // Only put "CONTAINER" markers if *not* the top level container
@@ -530,7 +506,6 @@ void Container::ResizeAllDimensions(double newSize)
                fprintf(file, "ENDCONTAINER\n");
 }
 
-
 /*virtual*/ Object * Container::Copy(void)
 {
 #warning "!!! This doesn't take care of attached Dimensions !!!"
@@ -548,14 +523,12 @@ same reference number.
        return c;
 }
 
-
 /*virtual*/ void Container::Rotate(Point point, double angle)
 {
        for(std::vector<Object *>::iterator i=objects.begin(); i!=objects.end(); i++)
                (*i)->Rotate(point, angle);
 }
 
-
 /*virtual*/ void Container::RotateSelected(Point point, double angle)
 {
        for(std::vector<Object *>::iterator i=objects.begin(); i!=objects.end(); i++)
@@ -565,14 +538,12 @@ same reference number.
        }
 }
 
-
 /*virtual*/ void Container::Mirror(Point p1, Point p2)
 {
        for(std::vector<Object *>::iterator i=objects.begin(); i!=objects.end(); i++)
                (*i)->Mirror(p1, p2);
 }
 
-
 /*virtual*/ void Container::MirrorSelected(Point p1, Point p2)
 {
        for(std::vector<Object *>::iterator i=objects.begin(); i!=objects.end(); i++)
@@ -582,7 +553,6 @@ same reference number.
        }
 }
 
-
 /*virtual*/ void Container::Save(void)
 {
        Object::Save();
@@ -591,7 +561,6 @@ same reference number.
                (*i)->Save();
 }
 
-
 /*virtual*/ void Container::Restore(void)
 {
        Object::Restore();
@@ -599,4 +568,3 @@ same reference number.
        for(std::vector<Object *>::iterator i=objects.begin(); i!=objects.end(); i++)
                (*i)->Restore();
 }
-
index 53911621df677879cfeb652f9ab94c0f567d4de3..1b11902e37b672f1f6a72bd6dc443894acce5efd 100644 (file)
@@ -61,7 +61,7 @@ Connect() function. Or, instead of a point, a parameter value?
 
 Doing that, with the Line and a parameter "t", if t == 0 we have endpoint 1.
 if t == 1, then we have endpoint 2. With a Circle, the parameter is a number
-between 0 and 1 (scaled to 0 to ). With an Arc, the parameter goes from 0 to
+between 0 and 1 (scaled to 0 to tau). With an Arc, the parameter goes from 0 to
 1, 0 being enpoint 1 and 1 being endpoint 2.
 
 How does this work for moving objects that are connected? Again, with the Line
@@ -115,11 +115,9 @@ OTHER CONSIDERATIONS:
 //     OTFDimension, OTFPolygon, OTFText, OTFImage, OTFBlock, OTFEndOfFile };
 enum ObjectTypeFile { OTFContainer, OTFContainerEnd, OTFObject, OTFEndOfFile };
 
-
 // Instantiate class variables
 /*static*/ int FileIO::objectFileType = OTFObject;
 
-
 /*static*/ bool FileIO::SaveAtnsFile(FILE * file, Container * c)
 {
        /* Approach: loop through the container, doing a depth-first traversal. Any
@@ -140,7 +138,6 @@ enum ObjectTypeFile { OTFContainer, OTFContainerEnd, OTFObject, OTFEndOfFile };
        return true;
 }
 
-
 /*static*/ bool FileIO::LoadAtnsFile(FILE * file, Container * drawing)
 {
        float version;
@@ -163,7 +160,6 @@ enum ObjectTypeFile { OTFContainer, OTFContainerEnd, OTFObject, OTFEndOfFile };
        return false;
 }
 
-
 /*static*/ void FileIO::ResetLayerVectors(void)
 {
        // Set up layer vectors
@@ -174,7 +170,6 @@ enum ObjectTypeFile { OTFContainer, OTFContainerEnd, OTFObject, OTFEndOfFile };
        Global::activeLayer = 0;
 }
 
-
 /*static*/ bool FileIO::LoadVersion1_0(FILE * file, Container * drawing)
 {
        // Approach: read each object in the file, one by one. If the object is a
@@ -222,7 +217,6 @@ enum ObjectTypeFile { OTFContainer, OTFContainerEnd, OTFObject, OTFEndOfFile };
        return false;
 }
 
-
 /*static*/ bool FileIO::LoadVersion1_1(FILE * file, Container * drawing)
 {
        // Approach: read each object in the file, one by one. If the object is a
@@ -276,7 +270,6 @@ enum ObjectTypeFile { OTFContainer, OTFContainerEnd, OTFObject, OTFEndOfFile };
        return false;
 }
 
-
 /*static*/ bool FileIO::LoadVersion1_2(FILE * file, Container * drawing)
 {
        int hidden, locked;
@@ -345,7 +338,6 @@ enum ObjectTypeFile { OTFContainer, OTFContainerEnd, OTFObject, OTFEndOfFile };
        return false;
 }
 
-
 /*static*/ Object * FileIO::GetObjectFromFile(FILE * file, bool extended/*= false*/, bool ext2/*= false*/)
 {
        char buffer[256];
@@ -452,7 +444,6 @@ if (errno)
        return obj;
 }
 
-
 /*static*/ bool FileIO::WriteObjectToFile(FILE * file, Object * obj)
 {
        // Sanity check
@@ -509,4 +500,3 @@ if (errno)
 
        return true;
 }
-
index 84755a0ac5391d77e30698b48aa8ccfe91437865..b61bc33955de06f53aaeb78f239377345ba03994 100644 (file)
@@ -26,4 +26,3 @@ class FileIO
 };
 
 #endif // __FILEIO_H__
-
index 48a9ffdb5436fc7d86e742d21f7b4e8efba69d92..48597e6d8baa4e7a41f17f71e5d56750fb6beb7b 100644 (file)
@@ -14,7 +14,6 @@
 
 #include "generaltab.h"
 
-
 GeneralTab::GeneralTab(QWidget * parent/*= 0*/): QWidget(parent)
 {
        antialiasChk = new QCheckBox(tr("Use Qt's built-in antialiasing"));
@@ -24,7 +23,6 @@ GeneralTab::GeneralTab(QWidget * parent/*= 0*/): QWidget(parent)
        setLayout(layout);
 }
 
-
 GeneralTab::~GeneralTab()
 {
 }
index 3a18272ccf01dba0d1a0df682af0785ce8f052ed..796cc45944f8dd4bb2df10234554e29b199f39b3 100644 (file)
@@ -67,4 +67,3 @@ class Global
 };
 
 #endif // __GLOBALS_H__
-
index f86017ba8e8a7a80dcb2630da782d9495784fb21..0dbb1decd8ed864b923afed833f691fdb7b67254 100644 (file)
@@ -1,3 +1,4 @@
+//
 // layeritemwidget.cpp: Layer item widget
 //
 // Part of the Architektonas Project
@@ -13,7 +14,6 @@
 
 #include "layeritemwidget.h"
 
-
 LayerItemWidget::LayerItemWidget(QString s, bool i/*=false*/, bool l/*=false*/, QListWidgetItem * p/*=null*/):
        QWidget(),
        name(new QLabel(s)),
@@ -53,22 +53,18 @@ LayerItemWidget::LayerItemWidget(QString s, bool i/*=false*/, bool l/*=false*/,
        connect(locked, SIGNAL(clicked(bool)), this, SLOT(HandleLockToggle(bool)));
 }
 
-
 LayerItemWidget::~LayerItemWidget()
 {
 }
 
-
 void LayerItemWidget::HandleHideToggle(bool state)
 {
 //     printf("Eye is: %s\n", !state ? "OPEN" : "closed");
        emit HideToggled(parent, state);
 }
 
-
 void LayerItemWidget::HandleLockToggle(bool state)
 {
 //     printf("Lock is: %s\n", !state ? "OPEN" : "closed");
        emit LockToggled(parent, state);
 }
-
index 4c9dd93ff73db823c0621daca42d6103b7b19636..1ab9d79f22ec815e80de126bc84fffe29d7d9a2f 100644 (file)
@@ -1,3 +1,4 @@
+//
 // layerwidget.cpp: Layer add/remove/use widget
 //
 // Part of the Architektonas Project
@@ -15,7 +16,6 @@
 #include "global.h"
 #include "layeritemwidget.h"
 
-
 LayerWidget::LayerWidget(void): QWidget(),
        addLayer(new QToolButton), removeLayer(new QToolButton),
        editLayer(new QToolButton), layerUp(new QToolButton),
@@ -75,12 +75,10 @@ LayerWidget::LayerWidget(void): QWidget(),
        Global::layerName.push_back("Background");
 }
 
-
 LayerWidget::~LayerWidget()
 {
 }
 
-
 void LayerWidget::Reload(void)
 {
        list->clear();
@@ -102,7 +100,6 @@ void LayerWidget::Reload(void)
        SetButtonStates();
 }
 
-
 void LayerWidget::HandleLayerSelected(int currentRow)
 {
        // If LayerWidget is empty, bail out
@@ -123,7 +120,6 @@ void LayerWidget::HandleLayerSelected(int currentRow)
        SetButtonStates();
 }
 
-
 //
 // What happens here is that for every QListWidgetItem we make, we connect it
 // to these handlers. But we only have to worry about that when adding and
@@ -142,7 +138,6 @@ void LayerWidget::HandleHideToggle(QListWidgetItem * qlwi, bool state)
        emit LayerToggled();
 }
 
-
 void LayerWidget::HandleLockToggle(QListWidgetItem * qlwi, bool state)
 {
        int currentRow = list->row(qlwi);
@@ -152,13 +147,11 @@ void LayerWidget::HandleLockToggle(QListWidgetItem * qlwi, bool state)
 //     printf("Item #%i, new lock state is %s\n", list->row(qlwi), (state ? "ON" : "off"));
 }
 
-
 void LayerWidget::HandleDblClick(QListWidgetItem * /*qlwi*/)
 {
        EditLayer();
 }
 
-
 void LayerWidget::AddLayer(void)
 {
        // We always stick the newest layer at the top of the list (visually, the
@@ -183,7 +176,6 @@ void LayerWidget::AddLayer(void)
        Global::numLayers++;
 }
 
-
 void LayerWidget::DeleteLayer(void)
 {
        int numItems = list->count();
@@ -217,7 +209,6 @@ void LayerWidget::DeleteLayer(void)
                Global::activeLayer--;
 }
 
-
 void LayerWidget::EditLayer(void)
 {
        // Get the LayerItemWidget so we can edit it (its name, anyway)...
@@ -240,7 +231,6 @@ void LayerWidget::EditLayer(void)
        }
 }
 
-
 void LayerWidget::MoveLayerUp(void)
 {
        // Get information out of the LayerItemWidget (& get it from the list!)
@@ -279,7 +269,6 @@ void LayerWidget::MoveLayerUp(void)
        emit LayersSwapped(layer, layer + 1);
 }
 
-
 void LayerWidget::MoveLayerDown(void)
 {
        // Get information out of the LayerItemWidget (& get it from the list!)
@@ -318,7 +307,6 @@ void LayerWidget::MoveLayerDown(void)
        emit LayersSwapped(layer, layer - 1);
 }
 
-
 //
 // Set button states in this widget to sane values
 //
@@ -331,4 +319,3 @@ void LayerWidget::SetButtonStates(void)
        layerUp->setEnabled(currentRow == 0 ? false : true);
        removeLayer->setEnabled(numItems == 1 ? false : true);
 }
-
index 5da5ee9f900c6acdd75f5c8c5320241d52c91c11..34159a74bf75bf0172c50b8c7ef8e8c5ec800158 100644 (file)
@@ -46,4 +46,3 @@ class LayerWidget: public QWidget
 };
 
 #endif // __LAYERWIDGET_H__
-
index 7a2e392073f8ae3f13b7ad1429d8eec534d9495a..960cee9129a7644e8599d8b11176ce3c233e1569 100644 (file)
@@ -25,7 +25,6 @@ Architektonas::Architektonas(int & argc, char * argv[]): QApplication(argc, argv
        mainWindow->show();
 }
 
-
 // Here's the main application loop--short and simple...
 int main(int argc, char * argv[])
 {
index 010dd184ab128c6becc42c532147cb12e50105ca..2385861ea165d3b3db3a869a6f20ed4ce5398061 100644 (file)
@@ -1,3 +1,4 @@
+//
 // Mathematical Constants used by Architektonas
 //
 // Part of the Architektonas Project
@@ -26,4 +27,3 @@
 #define HALF_TAU           (TAU_2QTR)
 #define QTR_TAU            (TAU_1QTR)
 #define THREE_QTR_TAU      (TAU_3QTR)
-
index 915e103bba199b111901b34054b46d0807102363..f31e4f549406e6bf989a7c8bda6be2e95e5f68e7 100644 (file)
@@ -1,3 +1,4 @@
+//
 // objectwidget.cpp: Object tweaking widget
 //
 // Part of the Architektonas Project
@@ -14,7 +15,6 @@
 #include "objectwidget.h"
 #include "mathconstants.h"
 
-
 ObjectWidget::ObjectWidget(void): QWidget()
 {
        label = new QLabel;
@@ -49,12 +49,10 @@ ObjectWidget::ObjectWidget(void): QWidget()
        setLayout(mainLayout);
 }
 
-
 ObjectWidget::~ObjectWidget()
 {
 }
 
-
 void ObjectWidget::ShowInfo(Object * obj)
 {
        // Sanity check
@@ -112,4 +110,3 @@ void ObjectWidget::ShowInfo(Object * obj)
 
        label->setText(s);
 }
-
index 31b7be87422395f7f9934532d48cd340c6344c27..5d5767931c3fa4d0fb2350711d451954532e2288 100644 (file)
@@ -4,7 +4,6 @@
 #include <QtWidgets>
 #include "structs.h"
 
-
 class ObjectWidget: public QWidget
 {
        Q_OBJECT
@@ -21,4 +20,3 @@ class ObjectWidget: public QWidget
 };
 
 #endif // __OBJECTWIDGET_H__
-
index 9b80932b2e47fc372f1b4870141616eb640c9156..a20c0a22951d7805ca63bdf1ecd402a355a68dd3 100644 (file)
@@ -1,3 +1,4 @@
+//
 // penwidget.cpp: Pen tweaking widget
 //
 // Part of the Architektonas Project
index 442fba8c6e5da60651eff1ae857d4fa761a986f7..fd3452d68815fbf8ffec03f794e0e72c7ce4b376 100644 (file)
@@ -15,7 +15,6 @@
 #include "baseunittab.h"
 #include "generaltab.h"
 
-
 SettingsDialog::SettingsDialog(QWidget * parent/*= 0*/): QDialog(parent)
 {
        tabWidget = new QTabWidget;
@@ -39,8 +38,6 @@ SettingsDialog::SettingsDialog(QWidget * parent/*= 0*/): QDialog(parent)
        setWindowTitle(tr("Architektonas Settings"));
 }
 
-
 SettingsDialog::~SettingsDialog()
 {
 }
-
index 7428fbe6a5bdb4f200e8d45a1014ffc8b8d22bef..53f5c73c75395c2d4094bc54953275b6f18038b5 100644 (file)
@@ -1,3 +1,4 @@
+//
 // utils.cpp: Stuff that's useful to have kicking around, in one spot
 //
 // Part of the Architektonas Project