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.
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
45
KexiStatusBar( QWidget *parent=0, const char *name=0 );
46
virtual ~KexiStatusBar();
47
virtual void addWidget( QWidget *widget, int stretch = 0, bool permanent = false);
50
virtual void setStatus(const QString &str);
53
virtual void cursorPositionChanged();
54
virtual void activePartChanged(KParts::Part *part);
55
virtual void setCursorPosition(int line, int col);
45
KexiStatusBar( QWidget *parent=0, const char *name=0 );
46
virtual ~KexiStatusBar();
47
// virtual void addWidget( QWidget *widget, int stretch = 0, bool permanent = false);
50
virtual void setStatus(const QString &str);
51
virtual void setReadOnlyFlag(bool readOnly);
54
virtual void cursorPositionChanged();
55
virtual void activePartChanged(KParts::Part *part);
56
virtual void setCursorPosition(int line, int col);
59
int m_msgID, m_readOnlyID;
60
// QLabel *m_status, *m_readOnlyStatus;
60
62
#if KexiStatusBar_KTEXTEDITOR_USED
61
63
KTextEditor::ViewCursorInterface * m_cursorIface;