FancyTabWidget: Remove extra namespace

This commit is contained in:
Jonas Kvinge 2023-02-18 13:58:46 +01:00
parent 14aa22d590
commit e6c5f76872
1 changed files with 1 additions and 9 deletions

View File

@ -38,9 +38,6 @@ class QPaintEvent;
class QProxyStyle; class QProxyStyle;
class TabData; class TabData;
namespace Core {
namespace Internal {
class FancyTabWidget : public QTabWidget { class FancyTabWidget : public QTabWidget {
Q_OBJECT Q_OBJECT
@ -86,7 +83,7 @@ class FancyTabWidget : public QTabWidget {
public slots: public slots:
void setCurrentIndex(int idx); void setCurrentIndex(int idx);
void SetMode(Core::Internal::FancyTabWidget::Mode mode); void SetMode(FancyTabWidget::Mode mode);
// Mapper mapped signal needs this convenience function // Mapper mapped signal needs this convenience function
void SetMode(int mode) { SetMode(Mode(mode)); } void SetMode(int mode) { SetMode(Mode(mode)); }
@ -117,9 +114,4 @@ class FancyTabWidget : public QTabWidget {
}; };
} // namespace Internal
} // namespace Core
using Core::Internal::FancyTabWidget;
#endif // FANCYTABWIDGET_H #endif // FANCYTABWIDGET_H