From c328e203e0d84177a0028d8ba5b0af4b82c16eeb Mon Sep 17 00:00:00 2001 From: Andrea Diamantini Date: Fri, 5 Feb 2010 00:29:13 +0100 Subject: QPointers --> QWeakPointers --- src/tabbar.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/tabbar.h') diff --git a/src/tabbar.h b/src/tabbar.h index f0476cbd..b57106dc 100644 --- a/src/tabbar.h +++ b/src/tabbar.h @@ -35,7 +35,7 @@ #include "rekonqprivate_export.h" // Qt Includes -#include +#include // KDE Includes #include @@ -99,7 +99,7 @@ private: */ int m_actualIndex; - QPointer m_previewPopup; + QWeakPointer m_previewPopup; int m_currentTabPreview; }; -- cgit v1.2.1 From 067b99a053b6f8b1ccab507be8e828b2f72a1e43 Mon Sep 17 00:00:00 2001 From: Andrea Diamantini Date: Wed, 10 Feb 2010 10:57:57 +0100 Subject: Fix copyright for 0.4 beta release --- src/tabbar.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/tabbar.h') diff --git a/src/tabbar.h b/src/tabbar.h index b57106dc..9d1fd7a9 100644 --- a/src/tabbar.h +++ b/src/tabbar.h @@ -3,9 +3,9 @@ * This file is a part of the rekonq project * * Copyright (C) 2008 Benjamin C. Meyer -* Copyright (C) 2008-2009 by Andrea Diamantini +* Copyright (C) 2008-2010 by Andrea Diamantini * Copyright (C) 2009 by Paweł Prażak -* Copyright (C) 2009 by Lionel Chauvin +* Copyright (C) 2009-2010 by Lionel Chauvin * * * This program is free software; you can redistribute it and/or -- cgit v1.2.1 From 87c94e7241ad516bde363ace7087ea819608f07a Mon Sep 17 00:00:00 2001 From: Andrea Diamantini Date: Fri, 26 Feb 2010 00:45:08 +0100 Subject: This simple commit is inspired from mr #97 It actually hides the addTab button when moving the bars letting it reappear on the release event.. :) --- src/tabbar.h | 1 + 1 file changed, 1 insertion(+) (limited to 'src/tabbar.h') diff --git a/src/tabbar.h b/src/tabbar.h index 9d1fd7a9..5d297e4c 100644 --- a/src/tabbar.h +++ b/src/tabbar.h @@ -80,6 +80,7 @@ protected: virtual void mouseMoveEvent(QMouseEvent *event); virtual void leaveEvent(QEvent *event); virtual void mousePressEvent(QMouseEvent *event); + virtual void mouseReleaseEvent(QMouseEvent *event); private slots: void cloneTab(); -- cgit v1.2.1 From 25c5df38ada4523c7c76de55bf736656cf2bb5dc Mon Sep 17 00:00:00 2001 From: Yoann Laissus Date: Thu, 11 Mar 2010 12:40:15 +0100 Subject: Close the tab preview when the close button is clicked --- src/tabbar.h | 1 + 1 file changed, 1 insertion(+) (limited to 'src/tabbar.h') diff --git a/src/tabbar.h b/src/tabbar.h index 5d297e4c..97c320fc 100644 --- a/src/tabbar.h +++ b/src/tabbar.h @@ -81,6 +81,7 @@ protected: virtual void leaveEvent(QEvent *event); virtual void mousePressEvent(QMouseEvent *event); virtual void mouseReleaseEvent(QMouseEvent *event); + virtual void tabRemoved(int); private slots: void cloneTab(); -- cgit v1.2.1