[qet] [1961] try to clean the code...

[ Thread Index | Date Index | More lists.tuxfamily.org/qet Archives ]


Revision: 1961
Author:   cfdev
Date:     2012-11-10 16:35:15 +0100 (Sat, 10 Nov 2012)
Log Message:
-----------
try to clean the code...

Modified Paths:
--------------
    trunk/sources/titleblockpropertieswidget.cpp
    trunk/sources/titleblockpropertieswidget.h

Modified: trunk/sources/titleblockpropertieswidget.cpp
===================================================================
--- trunk/sources/titleblockpropertieswidget.cpp	2012-11-09 21:09:24 UTC (rev 1960)
+++ trunk/sources/titleblockpropertieswidget.cpp	2012-11-10 15:35:15 UTC (rev 1961)
@@ -297,13 +297,13 @@
 	connect(titleblock_fixed_date, SIGNAL(toggled(bool)), titleblock_date, SLOT(setEnabled(bool)));
 	titleblock_date -> setCalendarPopup(true);
 	
-    titleblock_dateNow = new QPushButton (this);
-    titleblock_dateNow -> setEnabled(titleblock_fixed_date -> isChecked());
-    QIcon icon_dateNow(QET::Icons::ArrowLeft);
-    titleblock_dateNow->setIcon(icon_dateNow);
-    titleblock_dateNow->setIconSize(QSize(16, 16));
-    connect(titleblock_fixed_date, SIGNAL(toggled(bool)), titleblock_dateNow, SLOT(setEnabled(bool)));
-    connect(titleblock_dateNow, SIGNAL(clicked()), this, SLOT(setDateNow()));
+	titleblock_dateNow = new QPushButton (this);
+	titleblock_dateNow -> setEnabled(titleblock_fixed_date -> isChecked());
+	QIcon icon_dateNow(QET::Icons::ArrowLeft);
+	titleblock_dateNow -> setIcon(icon_dateNow);
+	titleblock_dateNow -> setIconSize(QSize(16, 16));
+	connect(titleblock_fixed_date, SIGNAL(toggled(bool)), titleblock_dateNow, SLOT(setEnabled(bool)));
+	connect(titleblock_dateNow, SIGNAL(clicked()), this, SLOT(setDateNow()));
 
 	// we add a bunch of tooltips for users to know how they can put these
 	// values into their title block templates
@@ -413,5 +413,5 @@
     Set the current Date to the combo Date
   */
 void TitleBlockPropertiesWidget::setDateNow(){
-        titleblock_date->setDate( QDate::currentDate() );
+        titleblock_date -> setDate( QDate::currentDate() );
 }

Modified: trunk/sources/titleblockpropertieswidget.h
===================================================================
--- trunk/sources/titleblockpropertieswidget.h	2012-11-09 21:09:24 UTC (rev 1960)
+++ trunk/sources/titleblockpropertieswidget.h	2012-11-10 15:35:15 UTC (rev 1961)
@@ -52,7 +52,7 @@
 	void updateTemplateList();
 	void editCurrentTitleBlockTemplate();
 	void duplicateCurrentTitleBlockTemplate();
-    void setDateNow();
+	void setDateNow();
 	
 	private:
 	void initWidgets(const TitleBlockProperties &);


Mail converted by MHonArc 2.6.19+ http://listengine.tuxfamily.org/