~ubuntu-branches/ubuntu/precise/koffice/precise

« back to all changes in this revision

Viewing changes to kexi/main/kexistatusbar.h

  • Committer: Bazaar Package Importer
  • Author(s): Jonathan Riddell
  • Date: 2006-04-20 21:38:53 UTC
  • mfrom: (1.1.3 upstream)
  • Revision ID: james.westby@ubuntu.com-20060420213853-j5lxluqvymxt2zny
Tags: 1:1.5.0-0ubuntu2
UbuntuĀ uploadĀ 

Show diffs side-by-side

added added

removed removed

Lines of Context:
13
13
 
14
14
   You should have received a copy of the GNU Library General Public License
15
15
   along with this program; see the file COPYING.  If not, write to
16
 
   the Free Software Foundation, Inc., 59 Temple Place - Suite 330,
17
 
   Boston, MA 02111-1307, USA.
 
16
   the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor,
 
17
 * Boston, MA 02110-1301, USA.
18
18
 
19
19
   Loosely based on kdevelop/src/statusbar.h
20
20
   Copyright (C) 2001 by Bernd Gehrmann <bernd@kdevelop.org>
41
41
class KexiStatusBar : public KStatusBar
42
42
{
43
43
        Q_OBJECT
44
 
public:
45
 
        KexiStatusBar( QWidget *parent=0, const char *name=0 );
46
 
        virtual ~KexiStatusBar();
47
 
        virtual void addWidget( QWidget *widget, int stretch = 0, bool permanent = false);
48
 
 
49
 
public slots:
50
 
        virtual void setStatus(const QString &str);
51
 
 
52
 
private slots:
53
 
        virtual void cursorPositionChanged();
54
 
        virtual void activePartChanged(KParts::Part *part);
55
 
        virtual void setCursorPosition(int line, int col);
56
 
 
57
 
private:
58
 
        QLabel *m_status;
 
44
        public:
 
45
                KexiStatusBar( QWidget *parent=0, const char *name=0 );
 
46
                virtual ~KexiStatusBar();
 
47
//              virtual void addWidget( QWidget *widget, int stretch = 0, bool permanent = false);
 
48
 
 
49
        public slots:
 
50
                virtual void setStatus(const QString &str);
 
51
                virtual void setReadOnlyFlag(bool readOnly);
 
52
 
 
53
        protected slots:
 
54
                virtual void cursorPositionChanged();
 
55
                virtual void activePartChanged(KParts::Part *part);
 
56
                virtual void setCursorPosition(int line, int col);
 
57
 
 
58
        protected:
 
59
                int m_msgID, m_readOnlyID;
 
60
//              QLabel *m_status, *m_readOnlyStatus;
59
61
 
60
62
#if KexiStatusBar_KTEXTEDITOR_USED
61
63
        KTextEditor::ViewCursorInterface * m_cursorIface;