~ubuntu-branches/ubuntu/quantal/kate/quantal-proposed

« back to all changes in this revision

Viewing changes to kate/plugins/katesql/connection.h

  • Committer: Package Import Robot
  • Author(s): Jonathan Riddell
  • Date: 2011-12-14 13:28:06 UTC
  • mto: This revision was merged to the branch mainline in revision 8.
  • Revision ID: package-import@ubuntu.com-20111214132806-aa2uf6ri5w2p8ak3
Tags: upstream-4.7.90
ImportĀ upstreamĀ versionĀ 4.7.90

Show diffs side-by-side

added added

removed removed

Lines of Context:
24
24
 
25
25
struct Connection
26
26
{
 
27
  enum Status
 
28
  {
 
29
    UNKNOWN           = 0
 
30
  , ONLINE            = 1
 
31
  , OFFLINE           = 2
 
32
  , REQUIRE_PASSWORD  = 3
 
33
  };
 
34
 
27
35
  QString name;
28
36
  QString driver;
29
37
  QString hostname;
32
40
  QString database;
33
41
  QString options;
34
42
  int     port;
35
 
  bool    enabled;
 
43
  Status  status;
36
44
};
37
45
 
38
46
Q_DECLARE_METATYPE(Connection)