~ubuntu-branches/ubuntu/oneiric/konsole/oneiric-updates

« back to all changes in this revision

Viewing changes to src/RenameTabsDialog.h

  • Committer: Bazaar Package Importer
  • Author(s): Philip Muškovac
  • Date: 2011-07-08 12:41:10 UTC
  • Revision ID: james.westby@ubuntu.com-20110708124110-kbbocwi2k1lgodlg
Tags: upstream-4.6.90+repack
Import upstream version 4.6.90+repack

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 RENAMETABSDIALOG
 
21
#define RENAMETABSDIALOG
 
22
 
 
23
// Qt
 
24
#include <QPointer>
 
25
 
 
26
// KDE
 
27
#include <KDialog>
 
28
 
 
29
#include "Profile.h"
 
30
#include "TabTitleFormatAction.h"
 
31
 
 
32
namespace Ui
 
33
{
 
34
    class RenameTabsDialog;
 
35
}
 
36
 
 
37
namespace Konsole
 
38
{
 
39
 
 
40
class RenameTabsDialog : public KDialog
 
41
{
 
42
Q_OBJECT
 
43
 
 
44
public:
 
45
    RenameTabsDialog(QWidget* parent = 0);
 
46
    ~RenameTabsDialog();
 
47
    QString tabTitleText() const;
 
48
    QString remoteTabTitleText() const;
 
49
    void setTabTitleText(const QString&);
 
50
    void setRemoteTabTitleText(const QString&);
 
51
 
 
52
    void focusTabTitleText();
 
53
    void focusRemoteTabTitleText();
 
54
 
 
55
public slots:
 
56
    void insertTabTitleText(const QString& text);
 
57
    void insertRemoteTabTitleText(const QString& text);
 
58
 
 
59
private:
 
60
    Ui::RenameTabsDialog* _ui;
 
61
};
 
62
 
 
63
}
 
64
 
 
65
#endif