Revision: 7306
Author:   nogu.dev
Date:     Fri Sep 16 03:38:18 2011
Log:      * qt4/pref/customwidgets.cpp
  - (CustomTable::slotEditButtonClicked): Follow changes
    of function names.
  - (TableEditForm::setCustomTable): Rename to TableEditForm::setTable.
  - (TableEditForm::customTable): Rename to TableEditForm::table.
* qt4/pref/customwidgets.h
  - (TableEditForm::setCustomTable): Rename to TableEditForm::setTable.
  - (TableEditForm::customTable): Rename to TableEditForm::table.
http://code.google.com/p/uim/source/detail?r=7306

Modified:
 /trunk/qt4/pref/customwidgets.cpp
 /trunk/qt4/pref/customwidgets.h

=======================================
--- /trunk/qt4/pref/customwidgets.cpp   Fri Sep 16 03:38:05 2011
+++ /trunk/qt4/pref/customwidgets.cpp   Fri Sep 16 03:38:18 2011
@@ -1260,7 +1260,7 @@
 {
     TableEditForm dialog( this );
     dialog.setWindowTitle( _FU8( m_custom->label ) );
-    dialog.setCustomTable( m_custom->value->as_table );
+    dialog.setTable( m_custom->value->as_table );
     int column = 0;
     for ( struct uim_custom_choice **item
             = m_custom->range->as_table_header.valid_items;
@@ -1269,7 +1269,7 @@
         column++;
     }
     if ( dialog.exec() == QDialog::Accepted ) {
-        m_custom->value->as_table = dialog.customTable();
+        m_custom->value->as_table = dialog.table();
         setCustom( m_custom );
         update();
     }
@@ -1333,7 +1333,7 @@
     m_table->horizontalHeader()->adjustSize();
 }

-void TableEditForm::setCustomTable( char ***custom_table )
+void TableEditForm::setTable( char ***custom_table )
 {
     if ( !custom_table )
         return;
@@ -1364,7 +1364,7 @@
     m_customTable = custom_table;
 }

-char ***TableEditForm::customTable() const
+char ***TableEditForm::table() const
 {
     char ***custom_table = m_customTable;
     for ( int row = 0; custom_table[row]; row++ ) {
=======================================
--- /trunk/qt4/pref/customwidgets.h     Fri Sep 16 03:38:05 2011
+++ /trunk/qt4/pref/customwidgets.h     Fri Sep 16 03:38:18 2011
@@ -323,8 +323,8 @@
 public:
     TableEditForm( QWidget *parent );

-    void setCustomTable( char ***custom_table );
-    char ***customTable() const;
+    void setTable( char ***custom_table );
+    char ***table() const;

     void setTableHeaderItem( const QString &item, int column );

Reply via email to