mirror of
https://github.com/qelectrotech/qelectrotech-source-mirror.git
synced 2026-04-21 10:09:58 +02:00
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:
@@ -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:
|
||||
|
||||
Reference in New Issue
Block a user