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 @@
#include <QPixmap>
#include <QMouseEvent>
#include <Q3Frame>
#include <QFrame>
#include <QHBoxLayout>
#include <QEvent>
#include <QDesktopWidget>
......@@ -45,7 +45,7 @@ struct CoverPopup : public QWidget
QLabel *label = new QLabel(this);
layout->addWidget(label);
label->setFrameStyle(Q3Frame::Box | Q3Frame::Raised);
label->setFrameStyle(QFrame::Box | QFrame::Raised);
label->setLineWidth(1);
label->setPixmap(image);
......
......@@ -50,7 +50,7 @@
#include <qpalette.h>
#include <QPixmap>
#include <Q3Frame>
#include <QFrame>
#include <Q3ValueList>
#include <kconfiggroup.h>
......@@ -363,14 +363,14 @@ int FileRenamerWidget::addRowCategory(TagType category)
frame->setPalette(palette);
row.widget = frame;
frame->setFrameShape(Q3Frame::Box);
frame->setFrameShape(QFrame::Box);
frame->setLineWidth(1);
frame->setMargin(3);
m_mainFrame->setStretchFactor(frame, 1);
KVBox *buttons = new KVBox(frame);
buttons->setFrameStyle(Q3Frame::Plain | Q3Frame::Box);
buttons->setFrameStyle(QFrame::Plain | QFrame::Box);
buttons->setLineWidth(1);
row.upButton = new KPushButton(buttons);
......
......@@ -26,7 +26,7 @@
#include <QTimer>
#include <QPoint>
#include <Q3Frame>
#include <QFrame>
#include <QDropEvent>
#include <QLabel>
#include <Q3ValueList>
......@@ -48,9 +48,9 @@
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 @@
#include <QLayout>
#include <QMouseEvent>
#include <QLabel>
#include <Q3Frame>
#include <QFrame>
#include <QHBoxLayout>
#include <QEvent>
......@@ -45,7 +45,7 @@ StatusLabel::StatusLabel(PlaylistInterface *playlist, QWidget *parent) :
PlaylistObserver(playlist),
m_showTimeRemaining(false)
{
Q3Frame *trackAndPlaylist = new Q3Frame(this);
QFrame *trackAndPlaylist = new QFrame(this);
trackAndPlaylist->setFrameStyle(Box | Sunken);
trackAndPlaylist->setSizePolicy(QSizePolicy::Expanding, QSizePolicy::Expanding);
......
......@@ -40,7 +40,7 @@
#include <QPixmap>
#include <QEvent>
#include <Q3MimeSourceFactory>
#include <Q3Frame>
#include <QFrame>
#include <QLabel>
#include <QMouseEvent>
......@@ -508,8 +508,8 @@ void SystemTray::slotForward()
void SystemTray::addSeparatorLine(QWidget *parent)
{
Q3Frame *line = new Q3Frame(parent);
line->setFrameShape(Q3Frame::VLine);
QFrame *line = new QFrame(parent);
line->setFrameShape(QFrame::VLine);
// 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.
......
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