~ubuntu-branches/debian/sid/chessx/sid

« back to all changes in this revision

Viewing changes to src/gui/tagdialog.h

  • Committer: Package Import Robot
  • Author(s): Niklas Fiekas
  • Date: 2014-10-06 18:26:02 UTC
  • mfrom: (1.1.3)
  • Revision ID: package-import@ubuntu.com-20141006182602-4kpiyz31knghkbrq
Tags: 1.2.2-1
* New upstream release.
  - Fix crash and data loss when trying to save a database other than the
    currently selected one.
  - Exclude autogenerated files from source tarball; fixes lintian warning
    source-contains-autogenerated-visual-c++-file.
  - Remove debian/patches/desktop-file.patch; applied upstream.
  - Remove debian/patches/desktop-mime-but-no-exec-code.patch; applied
    upstream.
* debian/chessx.6:
  - Adjust tagline in manpage.
* debian/rules:
  - Remove duplicate QT_SELECT=5.
* debian/control:
  - Update standards version to 3.9.6.0; no relevant changes.

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
/****************************************************************************
 
2
*   Copyright (C) 2014 by Jens Nissen jens-chessx@gmx.net                   *
 
3
****************************************************************************/
 
4
 
 
5
#ifndef TAGDIALOG_H
 
6
#define TAGDIALOG_H
 
7
 
 
8
#include <QDialog>
 
9
#include "game.h"
 
10
 
 
11
namespace Ui {
 
12
class TagDialog;
 
13
}
 
14
 
 
15
class Index;
 
16
 
 
17
class TagDialog : public QDialog
 
18
{
 
19
    Q_OBJECT
 
20
 
 
21
public:
 
22
    explicit TagDialog(QWidget *parent = 0);
 
23
    ~TagDialog();
 
24
 
 
25
    bool editTags(Index* index, Game &game, GameId id);
 
26
 
 
27
protected slots:
 
28
    void accept();
 
29
    void reject();
 
30
 
 
31
private slots:
 
32
    void saveOldTagText(int row, int column);
 
33
    void validateTag(int row, int column);
 
34
 
 
35
private:
 
36
    QString oldTagText;
 
37
 
 
38
private:
 
39
    Ui::TagDialog *ui;
 
40
};
 
41
 
 
42
#endif // TAGDIALOG_H