~ubuntu-terminal-dev/ubuntu-terminal-app/plugin

« back to all changes in this revision

Viewing changes to src/TerminalDisplay.h

  • Committer: Dmitry Zagnoyko
  • Date: 2013-04-20 11:36:45 UTC
  • Revision ID: hiroshidi@gmail.com-20130420113645-i92lcvojsy69yxvf
Object visibility scope fix: removed konsole namespace

Show diffs side-by-side

added added

removed removed

Lines of Context:
32
32
// Konsole
33
33
#include "Filter.h"
34
34
#include "Character.h"
 
35
#include "ksession.h"
35
36
//#include "konsole_export.h"
36
37
#define KONSOLEPRIVATE_EXPORT
37
38
 
44
45
class QTimerEvent;
45
46
//class KMenu;
46
47
 
47
 
 
48
 
namespace Konsole
49
 
{
50
 
 
51
48
extern unsigned short vt100_graphics[32];
52
49
 
53
50
class ScreenWindow;
66
63
{
67
64
    Q_OBJECT
68
65
 
69
 
    //Q_PROPERTY(QString text READ getText WRITE setText NOTIFY changedText)
 
66
    Q_PROPERTY(KSession *session READ getSession WRITE setSession NOTIFY changedSession)
70
67
 
71
68
 
72
69
public:
408
405
    /////////////////////////////////////////////////////////////////////////////////////
409
406
    /////////////////////////////////////////////////////////////////////////////////////
410
407
 
411
 
 
 
408
    void setSession(KSession * session);
 
409
    KSession * getSession() const { return m_session; }
412
410
 
413
411
signals:
414
412
 
451
449
    /////////////////////////////////////////////////////////////////////////////////////
452
450
 
453
451
 
 
452
    void changedSession(KSession *session);
 
453
 
454
454
protected:
455
455
    void paint (QPainter * painter);
456
456
    void keyPressEvent(QKeyEvent *event);
578
578
    /////////////////////////////////////////////////////////////////////////////////////
579
579
    ///                                 MEMBERS
580
580
    /////////////////////////////////////////////////////////////////////////////////////
581
 
    QFont     m_font;
582
 
    QPalette  m_palette;
 
581
    QFont      m_font;
 
582
    QPalette   m_palette;
 
583
    KSession  *m_session;
583
584
 
584
585
    /////////////////////////////////////////////////////////////////////////////////////
585
586
    /////////////////////////////////////////////////////////////////////////////////////
684
685
    {
685
686
        HAVE_TRANSPARENCY = enable;
686
687
    }
687
 
 
688
688
};
689
689
 
690
690
class AutoScrollHandler : public QObject
703
703
    int _timerId;
704
704
};
705
705
 
706
 
}
707
 
 
708
706
#endif // TERMINALDISPLAY_H