~ubuntu-branches/ubuntu/precise/koffice/precise

« back to all changes in this revision

Viewing changes to kplato/libs/ui/kptrelationdialog.h

  • Committer: Bazaar Package Importer
  • Author(s): Jonathan Riddell
  • Date: 2010-09-21 15:36:35 UTC
  • mfrom: (1.4.1 upstream) (60.2.11 maverick)
  • Revision ID: james.westby@ubuntu.com-20100921153635-6tejqkiro2u21ydi
Tags: 1:2.2.2-0ubuntu3
Add kubuntu_03_fix-crash-on-closing-sqlite-connection-2.2.2.diff and
kubuntu_04_support-large-memo-values-for-msaccess-2.2.2.diff as
recommended by upstream http://kexi-
project.org/wiki/wikiview/index.php@Kexi2.2_Patches.html#sqlite_stab
ility

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
1
/* This file is part of the KDE project
2
2
   Copyright (C) 2002 The koffice team <koffice@kde.org>
3
 
   Copyright (C) 2003, 2004 Dag Andersen <danders@get2net.dk>
 
3
   Copyright (C) 2003 - 2010 Dag Andersen <danders@get2net.dk>
4
4
 
5
5
   This library is free software; you can redistribute it and/or
6
6
   modify it under the terms of the GNU Library General Public
35
35
 
36
36
class Relation;
37
37
class Project;
 
38
class Node;
38
39
class MacroCommand;
39
40
 
40
41
class RelationPanel : public QWidget, public Ui_RelationPanel
50
51
    Q_OBJECT
51
52
public:
52
53
    AddRelationDialog(Project &project, Relation *rel, QWidget *p, const QString& caption=QString(), ButtonCodes buttons=Ok|Cancel);
 
54
    ~AddRelationDialog();
53
55
 
54
56
    virtual MacroCommand *buildCommand();
55
57
    int selectedRelationType() const;
61
63
    void slotFinishStartToggled(bool);
62
64
    void slotFinishFinishToggled(bool);
63
65
    void slotStartStartToggled(bool);
 
66
    void slotNodeRemoved( Node *node );
64
67
 
65
68
protected:
66
69
    Project &m_project;
67
70
    RelationPanel *m_panel;
68
71
    Relation *m_relation;
 
72
    bool m_deleterelation;
69
73
};
70
74
 
71
75
 
81
85
protected slots:
82
86
    void slotUser1();
83
87
 
 
88
    void slotRelationRemoved( Relation *relation );
 
89
 
84
90
private:
85
91
    bool m_deleted;
86
92
};