diff options
author | Timothy Pearson <kb9vqf@pearsoncomputing.net> | 2011-12-15 15:46:05 -0600 |
---|---|---|
committer | Timothy Pearson <kb9vqf@pearsoncomputing.net> | 2011-12-15 15:46:05 -0600 |
commit | 73c08b592db45af554b9f21029bc549d70f683ab (patch) | |
tree | 122898ea951e59fdc4419b3c84b7a6c2dd0bb5f7 /kicker/taskbar/taskbarcontainer.cpp | |
parent | e81bdee8ae92d6eeb82daa8c0a0e46bf37f4a6da (diff) | |
download | tdebase-73c08b592db45af554b9f21029bc549d70f683ab.tar.gz tdebase-73c08b592db45af554b9f21029bc549d70f683ab.zip |
Rename a number of old tq methods that are no longer tq specific
Diffstat (limited to 'kicker/taskbar/taskbarcontainer.cpp')
-rw-r--r-- | kicker/taskbar/taskbarcontainer.cpp | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/kicker/taskbar/taskbarcontainer.cpp b/kicker/taskbar/taskbarcontainer.cpp index 404c27e24..754894d17 100644 --- a/kicker/taskbar/taskbarcontainer.cpp +++ b/kicker/taskbar/taskbarcontainer.cpp @@ -21,7 +21,7 @@ CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. ******************************************************************/ -#include <tqlayout.h> +#include <layout.h> #include <tqtimer.h> #include <dcopclient.h> @@ -135,7 +135,7 @@ void TaskBarContainer::configure() windowListButton->setPixmap(kapp->iconLoader()->loadIcon(icon, KIcon::Panel, 16)); - windowListButton->setMinimumSize(windowListButton->tqsizeHint()); + windowListButton->setMinimumSize(windowListButton->sizeHint()); layout->insertWidget(0, windowListButton); windowListButton->show(); } @@ -230,7 +230,7 @@ void TaskBarContainer::popupDirectionChange(KPanelApplet::Direction d) windowListButton->setPixmap(kapp->iconLoader()->loadIcon(icon, KIcon::Panel, 16)); - windowListButton->setMinimumSize(windowListButton->tqsizeHint()); + windowListButton->setMinimumSize(windowListButton->sizeHint()); } } @@ -249,13 +249,13 @@ void TaskBarContainer::showWindowListMenu() pos.setX( pos.x() + width() ); break; case KPanelApplet::Left: - pos.setX( pos.x() - windowListMenu->tqsizeHint().width() ); + pos.setX( pos.x() - windowListMenu->sizeHint().width() ); break; case KPanelApplet::Down: pos.setY( pos.y() + height() ); break; case KPanelApplet::Up: - pos.setY( pos.y() - windowListMenu->tqsizeHint().height() ); + pos.setY( pos.y() - windowListMenu->sizeHint().height() ); default: break; } @@ -277,9 +277,9 @@ void TaskBarContainer::reconnectWindowListButton() connect( windowListButton, TQT_SIGNAL( pressed() ), TQT_SLOT( showWindowListMenu() ) ); } -TQSize TaskBarContainer::tqsizeHint( KPanelExtension::Position p, TQSize maxSize) const +TQSize TaskBarContainer::sizeHint( KPanelExtension::Position p, TQSize maxSize) const { - TQSize size = taskBar->tqsizeHint( p, maxSize ); + TQSize size = taskBar->sizeHint( p, maxSize ); if ( (p == KPanelExtension::Left || p == KPanelExtension::Right) && showWindowListButton ) { return TQSize( size.width(), size.height() + WINDOWLISTBUTTON_SIZE ); } |