Correction du bug #24 : Qt 4.5 apportant la fonctionnalite "onglets deplacables", il est necessaire de differencier les methodes appelees entre Qt 4.4 et Qt 4.5.

git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@723 bfdf4180-ca20-0410-9c96-a3a8aa849046
This commit is contained in:
xavier
2009-07-30 20:20:17 +00:00
parent 0adac494c8
commit a2964f5364
5 changed files with 29 additions and 11 deletions

View File

@@ -1,5 +1,4 @@
/*
Copyright 2006-2009 Xavier Guerrin
/* Copyright 2006-2009 Xavier Guerrin
This file is part of QElectroTech.
QElectroTech is free software: you can redistribute it and/or modify
@@ -41,8 +40,8 @@ class QETTabBar : public QTabBar {
public:
void activateNextTab();
void activatePreviousTab();
void setTabsMovable(bool);
bool tabsMovable() const;
void setMovable(bool);
bool isMovable() const;
bool isVertical() const;
bool isHorizontal() const;
@@ -58,7 +57,9 @@ class QETTabBar : public QTabBar {
signals:
void lastTabRemoved();
void firstTabInserted();
#if QT_VERSION < 0x040500
void tabMoved(int, int);
#endif
void tabDoubleClicked(int);
private: