~ubuntu-branches/ubuntu/quantal/mysql-workbench/quantal

« back to all changes in this revision

Viewing changes to backend/wbpublic/objimpl/db/db_Index.cpp

  • Committer: Package Import Robot
  • Author(s): Dmitry Smirnov
  • Date: 2012-03-01 21:57:30 UTC
  • Revision ID: package-import@ubuntu.com-20120301215730-o7y8av8y38n162ro
Tags: upstream-5.2.38+dfsg
ImportĀ upstreamĀ versionĀ 5.2.38+dfsg

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
#include "stdafx.h"
 
2
 
 
3
#include <grts/structs.db.h>
 
4
 
 
5
#include <grtpp_util.h>
 
6
 
 
7
 
 
8
//================================================================================
 
9
// db_Index
 
10
 
 
11
 
 
12
void db_Index::init()
 
13
{
 
14
 
 
15
}
 
16
 
 
17
db_Index::~db_Index()
 
18
{
 
19
  
 
20
}
 
21
 
 
22
 
 
23
void db_Index::name(const grt::StringRef &value)
 
24
{
 
25
  grt::ValueRef ovalue(_name);
 
26
 
 
27
  if (_owner.is_valid() && _name != value)
 
28
    (*db_TableRef::cast_from(_owner)->signal_refreshDisplay())("index");
 
29
 
 
30
  _name= value;
 
31
  member_changed("name", ovalue, value);
 
32
}
 
33
 
 
34
 
 
35
 
 
36