~ubuntu-branches/ubuntu/karmic/italc/karmic-updates

« back to all changes in this revision

Viewing changes to lib/include/vncview.h

  • Committer: Bazaar Package Importer
  • Author(s): Stéphane Graber
  • Date: 2008-03-10 00:19:35 UTC
  • mfrom: (1.1.4 upstream)
  • Revision ID: james.westby@ubuntu.com-20080310001935-74g886lw2yxqlqbu
Tags: 1:1.0.7-0ubuntu1
* New version upstream (1.0.7)
  * freeze exception (LP: #201536)
  * improved overall usability by adding new icons and reworking look of
    overview-mode 
  * added new image-scaling algorithm with (optional) MMX-optimizations in order
    to use less CPU-time on master-computer when monitoring a lot of clients with
    short update-intervals 
  * thanks to fast image-scaler, remote-control and demo-mode now scale screen
    in real-time instead of having the user to scroll 
  * removed user-list and added ability to display user-name instead of
    IP-address in classroom-manager 
  * removed remote-IP-property as not used anymore 
  * fixed logon-feature from classroom-action-menu 
  * in case user accidently changed role but no keys exist for this role try
    teacher-role as fallback in order to make iTALC still usable in such cases
    (Closes #1866440) 
  * updated spec-file for building RPMs 
  * added Polish localization-files 
  * made power-down, reboot and logoff work under Linux if no user is logged in 
  * fixed various crashes 
* Update UI patch for Edubuntu
* Fix FTBFS and segfault for MMX on amd64

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
1
/*
2
2
 * vncview.h - VNC-viewer-widget
3
3
 *
4
 
 * Copyright (c) 2006-2007 Tobias Doerffel <tobydox/at/users/dot/sf/dot/net>
 
4
 * Copyright (c) 2006-2008 Tobias Doerffel <tobydox/at/users/dot/sf/dot/net>
5
5
 *  
6
6
 * This file is part of iTALC - http://italc.sourceforge.net
7
7
 *
48
48
{
49
49
        Q_OBJECT
50
50
public:
51
 
        vncView( const QString & _host, QWidget * _parent = 0 );
 
51
        vncView( const QString & _host, QWidget * _parent,
 
52
                                                        bool _progress_widget );
52
53
        virtual ~vncView();
53
54
 
54
55
        inline bool viewOnly( void ) const
56
57
                return( m_viewOnly );
57
58
        }
58
59
 
 
60
        inline bool scaledView( void ) const
 
61
        {
 
62
                return( m_scaledView );
 
63
        }
 
64
 
59
65
 
60
66
public slots:
61
67
        void setViewOnly( bool _vo );
 
68
        void setScaledView( bool _sv );
62
69
 
63
70
 
64
71
signals:
73
80
        void framebufferUpdate( void );
74
81
        void updateCursorShape( void );
75
82
 
 
83
 
76
84
private:
77
85
        virtual void customEvent( QEvent * _user );
78
86
        virtual bool event( QEvent * );
90
98
        void mouseEvent( QMouseEvent * );
91
99
        void unpressModifiers( void );
92
100
 
 
101
        QPoint mapToFramebuffer( const QPoint & _pos );
 
102
        QRect mapFromFramebuffer( const QRect & _rect );
 
103
 
93
104
 
94
105
        ivsConnection * m_connection;
95
106
        bool m_viewOnly;
96
107
        bool m_viewOnlyFocus;
 
108
        bool m_scaledView;
 
109
        bool m_running;
97
110
 
98
111
        QPoint m_viewOffset;
99
112