Commit d152834f authored by Laurent Montel's avatar Laurent Montel 😁

Q3Frame--

svn path=/trunk/KDE/kdemultimedia/juk/; revision=652376
parent e89a1bea
...@@ -25,7 +25,7 @@ ...@@ -25,7 +25,7 @@
#include <QPixmap> #include <QPixmap>
#include <QMouseEvent> #include <QMouseEvent>
#include <Q3Frame> #include <QFrame>
#include <QHBoxLayout> #include <QHBoxLayout>
#include <QEvent> #include <QEvent>
#include <QDesktopWidget> #include <QDesktopWidget>
...@@ -45,7 +45,7 @@ struct CoverPopup : public QWidget ...@@ -45,7 +45,7 @@ struct CoverPopup : public QWidget
QLabel *label = new QLabel(this); QLabel *label = new QLabel(this);
layout->addWidget(label); layout->addWidget(label);
label->setFrameStyle(Q3Frame::Box | Q3Frame::Raised); label->setFrameStyle(QFrame::Box | QFrame::Raised);
label->setLineWidth(1); label->setLineWidth(1);
label->setPixmap(image); label->setPixmap(image);
......
...@@ -50,7 +50,7 @@ ...@@ -50,7 +50,7 @@
#include <qpalette.h> #include <qpalette.h>
#include <QPixmap> #include <QPixmap>
#include <Q3Frame> #include <QFrame>
#include <Q3ValueList> #include <Q3ValueList>
#include <kconfiggroup.h> #include <kconfiggroup.h>
...@@ -363,14 +363,14 @@ int FileRenamerWidget::addRowCategory(TagType category) ...@@ -363,14 +363,14 @@ int FileRenamerWidget::addRowCategory(TagType category)
frame->setPalette(palette); frame->setPalette(palette);
row.widget = frame; row.widget = frame;
frame->setFrameShape(Q3Frame::Box); frame->setFrameShape(QFrame::Box);
frame->setLineWidth(1); frame->setLineWidth(1);
frame->setMargin(3); frame->setMargin(3);
m_mainFrame->setStretchFactor(frame, 1); m_mainFrame->setStretchFactor(frame, 1);
KVBox *buttons = new KVBox(frame); KVBox *buttons = new KVBox(frame);
buttons->setFrameStyle(Q3Frame::Plain | Q3Frame::Box); buttons->setFrameStyle(QFrame::Plain | QFrame::Box);
buttons->setLineWidth(1); buttons->setLineWidth(1);
row.upButton = new KPushButton(buttons); row.upButton = new KPushButton(buttons);
......
...@@ -26,7 +26,7 @@ ...@@ -26,7 +26,7 @@
#include <QTimer> #include <QTimer>
#include <QPoint> #include <QPoint>
#include <Q3Frame> #include <QFrame>
#include <QDropEvent> #include <QDropEvent>
#include <QLabel> #include <QLabel>
#include <Q3ValueList> #include <Q3ValueList>
...@@ -48,9 +48,9 @@ ...@@ -48,9 +48,9 @@
static const int imageSize = 64; static const int imageSize = 64;
struct Line : public Q3Frame struct Line : public QFrame
{ {
Line(QWidget *parent) : Q3Frame(parent) { setFrameShape(VLine); } Line(QWidget *parent) : QFrame(parent) { setFrameShape(VLine); }
}; };
//////////////////////////////////////////////////////////////////////////////// ////////////////////////////////////////////////////////////////////////////////
......
...@@ -24,7 +24,7 @@ ...@@ -24,7 +24,7 @@
#include <QLayout> #include <QLayout>
#include <QMouseEvent> #include <QMouseEvent>
#include <QLabel> #include <QLabel>
#include <Q3Frame> #include <QFrame>
#include <QHBoxLayout> #include <QHBoxLayout>
#include <QEvent> #include <QEvent>
...@@ -45,7 +45,7 @@ StatusLabel::StatusLabel(PlaylistInterface *playlist, QWidget *parent) : ...@@ -45,7 +45,7 @@ StatusLabel::StatusLabel(PlaylistInterface *playlist, QWidget *parent) :
PlaylistObserver(playlist), PlaylistObserver(playlist),
m_showTimeRemaining(false) m_showTimeRemaining(false)
{ {
Q3Frame *trackAndPlaylist = new Q3Frame(this); QFrame *trackAndPlaylist = new QFrame(this);
trackAndPlaylist->setFrameStyle(Box | Sunken); trackAndPlaylist->setFrameStyle(Box | Sunken);
trackAndPlaylist->setSizePolicy(QSizePolicy::Expanding, QSizePolicy::Expanding); trackAndPlaylist->setSizePolicy(QSizePolicy::Expanding, QSizePolicy::Expanding);
......
...@@ -40,7 +40,7 @@ ...@@ -40,7 +40,7 @@
#include <QPixmap> #include <QPixmap>
#include <QEvent> #include <QEvent>
#include <Q3MimeSourceFactory> #include <Q3MimeSourceFactory>
#include <Q3Frame> #include <QFrame>
#include <QLabel> #include <QLabel>
#include <QMouseEvent> #include <QMouseEvent>
...@@ -508,8 +508,8 @@ void SystemTray::slotForward() ...@@ -508,8 +508,8 @@ void SystemTray::slotForward()
void SystemTray::addSeparatorLine(QWidget *parent) void SystemTray::addSeparatorLine(QWidget *parent)
{ {
Q3Frame *line = new Q3Frame(parent); QFrame *line = new QFrame(parent);
line->setFrameShape(Q3Frame::VLine); line->setFrameShape(QFrame::VLine);
// Cover art takes up 80 pixels, make sure we take up at least 80 pixels // Cover art takes up 80 pixels, make sure we take up at least 80 pixels
// even if we don't show the cover art for consistency. // even if we don't show the cover art for consistency.
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment