[QGIS Commit] r11616 - trunk/qgis/src/app/attributetable

svn_qgis at osgeo.org svn_qgis at osgeo.org
Thu Sep 10 13:00:09 EDT 2009


Author: timlinux
Date: 2009-09-10 13:00:08 -0400 (Thu, 10 Sep 2009)
New Revision: 11616

Modified:
   trunk/qgis/src/app/attributetable/qgsattributetabledialog.cpp
Log:
Refactored to remove redundant 'Table' from name of dock class

Modified: trunk/qgis/src/app/attributetable/qgsattributetabledialog.cpp
===================================================================
--- trunk/qgis/src/app/attributetable/qgsattributetabledialog.cpp	2009-09-10 15:11:24 UTC (rev 11615)
+++ trunk/qgis/src/app/attributetable/qgsattributetabledialog.cpp	2009-09-10 17:00:08 UTC (rev 11616)
@@ -33,10 +33,10 @@
 #include "qgsmapcanvas.h"
 
 
-class QgsAttributeTableTableDock : public QDockWidget
+class QgsAttributeTableDock : public QDockWidget
 {
   public:
-    QgsAttributeTableTableDock( const QString & title, QWidget * parent = 0, Qt::WindowFlags flags = 0 )
+    QgsAttributeTableDock( const QString & title, QWidget * parent = 0, Qt::WindowFlags flags = 0 )
         : QDockWidget( title, parent, flags )
     {
       setObjectName( "AttributeTable" ); // set object name so the position can be saved
@@ -73,7 +73,7 @@
   bool myDockFlag = mySettings.value( "/qgis/dockAttributeTable", false ).toBool();
   if ( myDockFlag )
   {
-    mDock = new QgsAttributeTableTableDock( tr( "Attribute table - %1" ).arg( mLayer->name() ), QgisApp::instance() );
+    mDock = new QgsAttributeTableDock( tr( "Attribute table - %1" ).arg( mLayer->name() ), QgisApp::instance() );
     mDock->setAllowedAreas( Qt::BottomDockWidgetArea | Qt::TopDockWidgetArea );
     mDock->setWidget( this );
     QgisApp::instance()->addDockWidget( Qt::BottomDockWidgetArea, mDock );



More information about the QGIS-commit mailing list