diff options
author | Michele Calgaro <michele.calgaro@yahoo.it> | 2023-08-24 21:28:39 +0900 |
---|---|---|
committer | Michele Calgaro <michele.calgaro@yahoo.it> | 2023-08-31 16:31:47 +0900 |
commit | 7c3b44b81086c6b99f91e294c3b438dc808b47e2 (patch) | |
tree | d92d61649487df1a2fbd200d4ead11a7f16ba63f /src/kvilib/tal/kvi_tal_toolbar.cpp | |
parent | cafbffba66b6ce809783ed1eb4d24aac6fe9701f (diff) | |
download | kvirc-7c3b44b81086c6b99f91e294c3b438dc808b47e2.tar.gz kvirc-7c3b44b81086c6b99f91e294c3b438dc808b47e2.zip |
Drop USE_QT4 code
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
(cherry picked from commit 030a2248f3630fd0404df98beffc78b5b5ca4c31)
Diffstat (limited to 'src/kvilib/tal/kvi_tal_toolbar.cpp')
-rw-r--r-- | src/kvilib/tal/kvi_tal_toolbar.cpp | 47 |
1 files changed, 0 insertions, 47 deletions
diff --git a/src/kvilib/tal/kvi_tal_toolbar.cpp b/src/kvilib/tal/kvi_tal_toolbar.cpp index 393b15d6..914825fe 100644 --- a/src/kvilib/tal/kvi_tal_toolbar.cpp +++ b/src/kvilib/tal/kvi_tal_toolbar.cpp @@ -41,52 +41,6 @@ #else - #ifdef COMPILE_USE_QT4 - - KviTalToolBar::KviTalToolBar(const TQString &label,TQMainWindow *w,TQT_TOOLBARDOCK_TYPE dock,bool bNewLine,const char * nam) - //: Q3ToolBar(label,w,dock,bNewLine,nam) - : TQToolBar(label,w) - { - //setFrameStyle(TQFrame::NoFrame); - setObjectName(nam); - if(!layout()) - this->setLayout(new TQBoxLayout(TQBoxLayout::LeftToRight)); - w->addToolBar(dock,this); - } - KviTalToolBar::KviTalToolBar(TQMainWindow *w,const char * name) - : TQToolBar(w) - { - //setFrameStyle(TQFrame::NoFrame); - setObjectName(name); - if(!layout()) - this->setLayout(new TQBoxLayout(TQBoxLayout::LeftToRight)); - w->addToolBar(this); - } - - TQBoxLayout * KviTalToolBar::boxLayout() - { - return (TQBoxLayout*)this->layout(); - } - - void KviTalToolBar::setBoxLayout(TQBoxLayout * l) - { - this->setLayout(l); - } - - bool KviTalToolBar::usesBigPixmaps() - { - return (iconSize().width() > 40); - } - - void KviTalToolBar::setUsesBigPixmaps(bool b) - { - if(b)setIconSize(TQSize(48,48)); - else setIconSize(TQSize(22,22)); - } - - #include "kvi_tal_toolbar_qt4.moc" - - #else KviTalToolBar::KviTalToolBar(const TQString &label,TQMainWindow *w,TQT_TOOLBARDOCK_TYPE dock,bool bNewLine,const char * nam) : TQToolBar(label,w,dock,bNewLine,nam) { @@ -97,7 +51,6 @@ } #include "kvi_tal_toolbar_qt3.moc" - #endif KviTalToolBar::~KviTalToolBar() { |