~ubuntu-branches/ubuntu/saucy/konsole/saucy-proposed

« back to all changes in this revision

Viewing changes to src/RenameTabDialog.h

  • Committer: Package Import Robot
  • Author(s): Jonathan Riddell
  • Date: 2012-06-06 14:29:24 UTC
  • mfrom: (1.1.12)
  • Revision ID: package-import@ubuntu.com-20120606142924-1rekqv6j25lw2k41
Tags: 4:4.8.80-0ubuntu1
New upstream release

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
/*
 
2
    Copyright 2010 by Kurt Hindenburg <kurt.hindenburg@gmail.com>
 
3
 
 
4
    This program is free software; you can redistribute it and/or modify
 
5
    it under the terms of the GNU General Public License as published by
 
6
    the Free Software Foundation; either version 2 of the License, or
 
7
    (at your option) any later version.
 
8
 
 
9
    This program is distributed in the hope that it will be useful,
 
10
    but WITHOUT ANY WARRANTY; without even the implied warranty of
 
11
    MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
 
12
    GNU General Public License for more details.
 
13
 
 
14
    You should have received a copy of the GNU General Public License
 
15
    along with this program; if not, write to the Free Software
 
16
    Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA
 
17
    02110-1301  USA.
 
18
*/
 
19
 
 
20
#ifndef RENAMETABDIALOG_H
 
21
#define RENAMETABDIALOG_H
 
22
 
 
23
// KDE
 
24
#include <KDialog>
 
25
 
 
26
namespace Ui
 
27
{
 
28
class RenameTabDialog;
 
29
}
 
30
 
 
31
namespace Konsole
 
32
{
 
33
class RenameTabDialog : public KDialog
 
34
{
 
35
    Q_OBJECT
 
36
 
 
37
public:
 
38
    explicit RenameTabDialog(QWidget* parent = 0);
 
39
    ~RenameTabDialog();
 
40
 
 
41
    QString tabTitleText() const;
 
42
    QString remoteTabTitleText() const;
 
43
    void setTabTitleText(const QString&);
 
44
    void setRemoteTabTitleText(const QString&);
 
45
 
 
46
    void focusTabTitleText();
 
47
    void focusRemoteTabTitleText();
 
48
 
 
49
private:
 
50
    Ui::RenameTabDialog* _ui;
 
51
};
 
52
}
 
53
 
 
54
#endif