Commit 7a34c22d authored by Pino Toscano's avatar Pino Toscano
Browse files

less qt3_support

svn path=/trunk/KDE/kdebase/libkonq/; revision=650840
parent 427b35ca
......@@ -124,7 +124,7 @@ int KonqDirPart::KonqDirPartPrivate::findNearestIconSize(int preferred)
int KonqDirPart::KonqDirPartPrivate::nearestIconSizeError(int size)
{
return QABS(size - findNearestIconSize(size));
return qAbs(size - findNearestIconSize(size));
}
KonqDirPart::KonqDirPart( QObject *parent )
......
......@@ -43,7 +43,7 @@
//--------------------------------------------------------------------------------
KonqFileTip::KonqFileTip( Q3ScrollView* parent )
: Q3Frame( 0, 0, Qt::WStyle_Customize | Qt::WStyle_NoBorder | Qt::WStyle_Tool | Qt::WStyle_StaysOnTop | Qt::WX11BypassWM ),
: Q3Frame( 0, 0, Qt::FramelessWindowHint | Qt::Tool | Qt::WindowStaysOnTopHint | Qt::X11BypassWindowManagerHint ),
m_on( false ),
m_preview( false ),
m_filter( false ),
......@@ -66,7 +66,7 @@ KonqFileTip::KonqFileTip( Q3ScrollView* parent )
setPalette( QToolTip::palette() );
setMargin( 1 );
setFrameStyle( Q3Frame::Plain | Q3Frame::Box );
setFrameStyle( QFrame::Plain | QFrame::Box );
m_timer = new QTimer(this);
......
......@@ -851,13 +851,13 @@ void KonqPopupMenu::setup(KonqPopupFlags kpf)
// use service->noDisplay() here.
const QString onlyShowIn = service->property("OnlyShowIn", QVariant::String).toString();
if ( !onlyShowIn.isEmpty() ) {
const QStringList aList = QStringList::split(';', onlyShowIn);
const QStringList aList = onlyShowIn.split(';', QString::SkipEmptyParts);
if (!aList.contains("KDE"))
continue;
}
const QString notShowIn = service->property("NotShowIn", QVariant::String).toString();
if ( !notShowIn.isEmpty() ) {
const QStringList aList = QStringList::split(';', notShowIn);
const QStringList aList = notShowIn.split(';', QString::SkipEmptyParts);
if (aList.contains("KDE"))
continue;
}
......
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