Commit 072f2fb5 authored by David Faure's avatar David Faure

Remove area "1202 (konqueror)", it's now "konqueror" automatically

 (or kfmclient, it was a bug to use 1202 there)

svn path=/trunk/KDE/kdebase/apps/; revision=1011096
parent 89717696
......@@ -120,7 +120,7 @@ extern "C" KDE_EXPORT int kdemain( int argc, char **argv )
version = atoi( getenv( "KDE_SESSION_VERSION" ));
if( version != 0 && version != KDE_VERSION_MAJOR )
{
kDebug( 1202 ) << "Forwarding to kfmclient from KDE version " << version;
kDebug() << "Forwarding to kfmclient from KDE version " << version;
char wrapper[ 10 ];
sprintf( wrapper, "kde%d", version );
char** newargv = new char*[ argc + 2 ];
......@@ -321,7 +321,7 @@ static bool krun_has_error = false;
bool ClientApp::createNewWindow(const KUrl & url, bool newTab, bool tempFile, const QString & mimetype)
{
kDebug( 1202 ) << url << "mimetype=" << mimetype;
kDebug() << url << "mimetype=" << mimetype;
needInstance();
if (url.protocol().startsWith(QLatin1String("http")))
......@@ -389,7 +389,7 @@ bool ClientApp::createNewWindow(const KUrl & url, bool newTab, bool tempFile, co
QString appId = konqyToReuse( url.url(), mimetype, QString() );
if( !appId.isEmpty())
{
kDebug( 1202 ) << "ClientApp::createNewWindow using existing konqueror";
kDebug() << "ClientApp::createNewWindow using existing konqueror";
org::kde::Konqueror::Main konq( appId, "/KonqMain", dbus );
konq.createNewWindow( url.url(), mimetype, startup_id_str, tempFile );
sendASNChange();
......@@ -420,7 +420,7 @@ bool ClientApp::createNewWindow(const KUrl & url, bool newTab, bool tempFile, co
#ifdef Q_WS_X11
KStartupInfo::resetStartupEnv();
#endif
kDebug( 1202 ) << "ClientApp::createNewWindow KProcess started";
kDebug() << "ClientApp::createNewWindow KProcess started";
//}
}
return true;
......
......@@ -126,7 +126,7 @@ void KonqyPreloader::updateCount()
if( KToolInvocation::kdeinitExec( QLatin1String( "konqueror" ),
QStringList() << QLatin1String( "--preload" ), NULL, NULL, "0" ) == 0 )
{
kDebug( 1202 ) << "Preloading Konqueror instance";
kDebug() << "Preloading Konqueror instance";
check_always_preloaded_timer.start( 5000 );
}
// else do nothing, the launching failed
......
......@@ -622,7 +622,7 @@ void KonqSidebarDirTreeModule::followURL( const KUrl & url )
kDebug() << "No parent found for url " << url.prettyUrl();
return;
}
kDebug(1202) << "Found parent " << uParent.prettyUrl();
kDebug() << "Found parent " << uParent.prettyUrl();
// That's the parent directory we found. Open if not open...
if ( !parentItem->isOpen() )
......@@ -635,7 +635,7 @@ void KonqSidebarDirTreeModule::followURL( const KUrl & url )
} else
{
m_selectAfterOpening = url;
kDebug(1202) << "KonqSidebarDirTreeModule::followURL: m_selectAfterOpening=" << m_selectAfterOpening.url();
kDebug() << "KonqSidebarDirTreeModule::followURL: m_selectAfterOpening=" << m_selectAfterOpening.url();
}
}
}
......
......@@ -77,7 +77,7 @@ void KonqSidebarTreeTopLevelItem::drop( QDropEvent * ev )
tree()->addUrl(this, *it);
}
} else
kError(1202) << "No URL !? " << endl;
kError() << "No URL !? " << endl;
}
else // Top level item, not group
{
......
......@@ -102,8 +102,8 @@ QDBusObjectPath KonquerorAdaptor::createBrowserWindowFromProfile( const QString&
#ifdef Q_WS_X11
QX11Info::setAppUserTime( 0 );
#endif
kDebug(1202) << "void KonquerorAdaptor::createBrowserWindowFromProfile( path, filename ) ";
kDebug(1202) << path << "," << filename;
kDebug() << "void KonquerorAdaptor::createBrowserWindowFromProfile( path, filename ) ";
kDebug() << path << "," << filename;
KonqMainWindow *res = KonqMisc::createBrowserWindowFromProfile( path, filename );
if ( !res )
return QDBusObjectPath("/");
......@@ -216,11 +216,11 @@ bool KonquerorAdaptor::processCanBeReused( int screen )
return true;
foreach ( KonqMainWindow* window, *windows )
{
kDebug(1202) << "processCanBeReused: count=" << window->viewCount();
kDebug() << "processCanBeReused: count=" << window->viewCount();
const KonqMainWindow::MapViews& views = window->viewMap();
foreach ( KonqView* view, views )
{
kDebug(1202) << "processCanBeReused: part=" << view->service()->entryPath() << ", URL=" << view->url().prettyUrl();
kDebug() << "processCanBeReused: part=" << view->service()->entryPath() << ", URL=" << view->url().prettyUrl();
if( !allowed_parts.contains( view->service()->entryPath()))
return false;
}
......
......@@ -49,7 +49,7 @@ void KonqActions::fillHistoryPopup(const QList<HistoryEntry*> &history, int hist
{
assert ( popup ); // kill me if this 0... :/
//kDebug(1202) << "fillHistoryPopup position: " << history.at();
//kDebug() << "fillHistoryPopup position: " << history.at();
int index = 0;
if (onlyBack || onlyForward) // this if() is always true nowadays.
{
......@@ -67,13 +67,13 @@ void KonqActions::fillHistoryPopup(const QList<HistoryEntry*> &history, int hist
const QString iconName = KonqPixmapProvider::self()->iconNameFor(history[index]->url);
QAction* action = new QAction(KIcon(iconName), text, popup);
action->setData(index - historyIndex);
//kDebug(1202) << text << index - historyIndex;
//kDebug() << text << index - historyIndex;
popup->addAction(action);
if (++i > 10)
break;
if (!onlyForward) --index; else ++index;
}
//kDebug(1202) << "After fillHistoryPopup position: " << history.at();
//kDebug() << "After fillHistoryPopup position: " << history.at();
}
///////////////////////////////
......
......@@ -56,19 +56,19 @@ KonqClosedItem::KonqClosedItem(const QString& title, const QString& group, quint
KonqClosedItem::~KonqClosedItem()
{
m_configGroup.deleteGroup();
kDebug(1202) << "deleted group" << m_configGroup.name();
kDebug() << "deleted group" << m_configGroup.name();
}
KonqClosedTabItem::KonqClosedTabItem(const QString& url, const QString& title, int pos, quint64 serialNumber)
: KonqClosedItem(title, "Closed_Tab" + QString::number((qint64)this), serialNumber), m_url(url), m_pos(pos)
{
kDebug(1202) << m_configGroup.name();
kDebug() << m_configGroup.name();
}
KonqClosedTabItem::~KonqClosedTabItem()
{
m_configGroup.deleteGroup();
kDebug(1202) << "deleted group" << m_configGroup.name();
kDebug() << "deleted group" << m_configGroup.name();
}
QPixmap KonqClosedTabItem::icon() const {
......@@ -78,7 +78,7 @@ QPixmap KonqClosedTabItem::icon() const {
KonqClosedWindowItem::KonqClosedWindowItem(const QString& title, quint64 serialNumber, int numTabs)
: KonqClosedItem(title, "Closed_Window" + QString::number((qint64)this), serialNumber), m_numTabs(numTabs)
{
kDebug(1202) << m_configGroup.name();
kDebug() << m_configGroup.name();
}
KonqClosedWindowItem::~KonqClosedWindowItem()
......
......@@ -169,7 +169,7 @@ void KonqCombo::init( KCompletion *completion )
void KonqCombo::setURL( const QString& url )
{
//kDebug(1202) << url << "returnPressed=" << m_returnPressed;
//kDebug() << url << "returnPressed=" << m_returnPressed;
setTemporary( url );
if ( m_returnPressed ) { // Really insert...
......@@ -190,7 +190,7 @@ void KonqCombo::setTemporary( const QString& text )
void KonqCombo::setTemporary( const QString& url, const QPixmap& pix )
{
//kDebug(1202) << url << "temporary=" << temporary;
//kDebug() << url << "temporary=" << temporary;
// Insert a temporary item when we don't have one yet
if ( count() == 0 )
......@@ -208,7 +208,7 @@ void KonqCombo::setTemporary( const QString& url, const QPixmap& pix )
void KonqCombo::removeDuplicates( int index )
{
//kDebug(1202) << "starting index= " << index;
//kDebug() << "starting index= " << index;
QString url(temporaryItem());
if (url.endsWith('/'))
......@@ -229,7 +229,7 @@ void KonqCombo::removeDuplicates( int index )
// called via DBUS in all instances
void KonqCombo::insertPermanent( const QString& url )
{
//kDebug(1202) << "url=" << url;
//kDebug() << "url=" << url;
saveState();
setTemporary( url );
m_permanent = true;
......@@ -249,7 +249,7 @@ void KonqCombo::applyPermanent()
QString item = temporaryItem();
insertItem( KonqPixmapProvider::self()->pixmapFor( item ), item, 1, titleOfURL( item ) );
//kDebug(1202) << url;
//kDebug() << url;
// Remove all duplicates starting from index = 2
removeDuplicates( 2 );
......@@ -274,7 +274,7 @@ void KonqCombo::updateItem( const QPixmap& pix, const QString& t, int index, con
(!itemIcon(index).isNull() && itemIcon(index).pixmap(iconSize()).serialNumber() == pix.serialNumber()))
return;
// kDebug(1202) << "item=" << t << "index=" << index;
// kDebug() << "item=" << t << "index=" << index;
setItemText( index, t );
setItemIcon( index, pix );
......
......@@ -71,7 +71,7 @@ KParts::ReadOnlyPart *KonqViewFactory::create( QWidget *parentWidget, QObject *
KParts::ReadOnlyPart* part = m_factory->create<KParts::ReadOnlyPart>( parentWidget, parent, QString(), m_args );
if ( !part ) {
kError(1202) << "No KParts::ReadOnlyPart created from" << m_libName;
kError() << "No KParts::ReadOnlyPart created from" << m_libName;
} else {
QFrame* frame = qobject_cast<QFrame*>( part->widget() );
if ( frame ) {
......@@ -103,7 +103,7 @@ KonqViewFactory KonqFactory::createView( const QString &serviceType,
KService::List *appServiceOffers,
bool forceAutoEmbed )
{
kDebug(1202) << "Trying to create view for" << serviceType << serviceName;
kDebug() << "Trying to create view for" << serviceType << serviceName;
// We need to get those in any case
KService::List offers, appOffers;
......@@ -129,7 +129,7 @@ KonqViewFactory KonqFactory::createView( const QString &serviceType,
{
if ( ! KonqFMSettings::settings()->shouldEmbed( serviceType ) )
{
kDebug(1202) << "KonqFMSettings says: don't embed this servicetype";
kDebug() << "KonqFMSettings says: don't embed this servicetype";
return KonqViewFactory();
}
}
......@@ -141,7 +141,7 @@ KonqViewFactory KonqFactory::createView( const QString &serviceType,
KService::List::const_iterator it = offers.constBegin();
for ( ; it != offers.constEnd() && !service ; ++it ) {
if ( (*it)->desktopEntryName() == serviceName ) {
kDebug(1202) << "Found requested service" << serviceName;
kDebug() << "Found requested service" << serviceName;
service = *it;
}
}
......@@ -149,7 +149,7 @@ KonqViewFactory KonqFactory::createView( const QString &serviceType,
KonqViewFactory viewFactory;
if (service) {
kDebug(1202) << "Trying to open lib for requested service " << service->desktopEntryName();
kDebug() << "Trying to open lib for requested service " << service->desktopEntryName();
viewFactory = tryLoadingService(service);
// If this fails, then return an error.
// When looking for konq_sidebartng or konq_aboutpage, we don't want to end up
......@@ -160,13 +160,13 @@ KonqViewFactory KonqFactory::createView( const QString &serviceType,
service = (*it);
// Allowed as default ?
QVariant prop = service->property( "X-KDE-BrowserView-AllowAsDefault" );
kDebug(1202) << service->desktopEntryName() << " : X-KDE-BrowserView-AllowAsDefault is valid : " << prop.isValid();
kDebug() << service->desktopEntryName() << " : X-KDE-BrowserView-AllowAsDefault is valid : " << prop.isValid();
if ( !prop.isValid() || prop.toBool() ) { // defaults to true
//kDebug(1202) << "Trying to open lib for service " << service->name();
//kDebug() << "Trying to open lib for service " << service->name();
viewFactory = tryLoadingService(service);
// If this works, we exit the loop.
} else {
kDebug(1202) << "Not allowed as default " << service->desktopEntryName();
kDebug() << "Not allowed as default " << service->desktopEntryName();
}
}
}
......@@ -176,9 +176,9 @@ KonqViewFactory KonqFactory::createView( const QString &serviceType,
if (viewFactory.isNull()) {
if (offers.isEmpty())
kWarning(1202) << "no part was associated with" << serviceType;
kWarning() << "no part was associated with" << serviceType;
else
kWarning(1202) << "no part could be loaded"; // full error was shown to user already
kWarning() << "no part could be loaded"; // full error was shown to user already
return viewFactory;
}
......
......@@ -84,7 +84,7 @@ KonqFrameBase::FrameType frameTypeFromString( const QString& str )
KonqFrame::KonqFrame( QWidget* parent, KonqFrameContainerBase *parentContainer )
: QWidget ( parent )
{
//kDebug(1202) << "KonqFrame::KonqFrame()";
//kDebug() << "KonqFrame::KonqFrame()";
m_pLayout = 0L;
m_pView = 0L;
......@@ -100,7 +100,7 @@ KonqFrame::KonqFrame( QWidget* parent, KonqFrameContainerBase *parentContainer )
KonqFrame::~KonqFrame()
{
//kDebug(1202) << "KonqFrame::~KonqFrame() " << this;
//kDebug() << "KonqFrame::~KonqFrame() " << this;
}
bool KonqFrame::isActivePart()
......@@ -148,7 +148,7 @@ void KonqFrame::copyHistory( KonqFrameBase *other )
void KonqFrame::attachWidget(QWidget* widget)
{
//kDebug(1202) << "KonqFrame::attachInternal()";
//kDebug() << "KonqFrame::attachInternal()";
delete m_pLayout;
m_pLayout = new QVBoxLayout( this );
......@@ -199,14 +199,14 @@ void KonqFrame::setView( KonqView* child )
void KonqFrame::setTitle( const QString &title , QWidget* /*sender*/)
{
//kDebug(1202) << "KonqFrame::setTitle( " << title << " )";
//kDebug() << "KonqFrame::setTitle( " << title << " )";
m_title = title;
if (m_pParentContainer) m_pParentContainer->setTitle( title , this);
}
void KonqFrame::setTabIcon( const KUrl &url, QWidget* /*sender*/ )
{
//kDebug(1202) << "KonqFrame::setTabIcon( " << url << " )";
//kDebug() << "KonqFrame::setTabIcon( " << url << " )";
if (m_pParentContainer) m_pParentContainer->setTabIcon( url, this );
}
......
......@@ -131,21 +131,21 @@ void KonqFrameContainer::swapChildren()
void KonqFrameContainer::setTitle( const QString &title , QWidget* sender)
{
//kDebug(1202) << title << sender;
//kDebug() << title << sender;
if (m_pParentContainer && activeChild() && (sender == activeChild()->asQWidget()))
m_pParentContainer->setTitle( title , this);
}
void KonqFrameContainer::setTabIcon( const KUrl &url, QWidget* sender )
{
//kDebug(1202) << url << sender;
//kDebug() << url << sender;
if (m_pParentContainer && activeChild() && (sender == activeChild()->asQWidget()))
m_pParentContainer->setTabIcon( url, this );
}
void KonqFrameContainer::insertChildFrame(KonqFrameBase* frame, int index)
{
//kDebug(1202) << this << frame;
//kDebug() << this << frame;
if (frame) {
QSplitter::insertWidget(index, frame->asQWidget());
// Insert before existing child? Move first to second.
......@@ -155,23 +155,23 @@ void KonqFrameContainer::insertChildFrame(KonqFrameBase* frame, int index)
if( !m_pFirstChild ) {
m_pFirstChild = frame;
frame->setParentContainer(this);
//kDebug(1202) << "Setting as first child";
//kDebug() << "Setting as first child";
} else if( !m_pSecondChild ) {
m_pSecondChild = frame;
frame->setParentContainer(this);
//kDebug(1202) << "Setting as second child";
//kDebug() << "Setting as second child";
} else {
kWarning(1202) << this << "already has two children..."
kWarning() << this << "already has two children..."
<< m_pFirstChild << "and" << m_pSecondChild;
}
} else {
kWarning(1202) << "KonqFrameContainer" << this << ": insertChildFrame(NULL)!" ;
kWarning() << "KonqFrameContainer" << this << ": insertChildFrame(NULL)!" ;
}
}
void KonqFrameContainer::childFrameRemoved(KonqFrameBase * frame)
{
//kDebug(1202) << this << "Child" << frame << "removed";
//kDebug() << this << "Child" << frame << "removed";
if( m_pFirstChild == frame ) {
m_pFirstChild = m_pSecondChild;
......@@ -179,7 +179,7 @@ void KonqFrameContainer::childFrameRemoved(KonqFrameBase * frame)
} else if( m_pSecondChild == frame ) {
m_pSecondChild = 0;
} else {
kWarning(1202) << this << "Can't find this child:" << frame ;
kWarning() << this << "Can't find this child:" << frame ;
}
}
......
......@@ -216,7 +216,7 @@ void KonqFrameStatusBar::message( const QString &msg )
void KonqFrameStatusBar::slotDisplayStatusText(const QString& text)
{
//kDebug(1202) << text;
//kDebug() << text;
m_pStatusLabel->setText(text);
m_savedMessage = text;
}
......
......@@ -134,7 +134,7 @@ ToggleViewGUIClient::ToggleViewGUIClient( KonqMainWindow *mainWindow )
{
QString description = i18n( "Show %1" , (*cIt)->name() );
QString name = (*cIt)->desktopEntryName();
//kDebug(1202) << "ToggleViewGUIClient: name=" << name;
//kDebug() << "ToggleViewGUIClient: name=" << name;
KToggleAction *action = new KToggleAction( description, this );
mainWindow->actionCollection()->addAction( name.toLatin1(), action );
action->setCheckedState( KGuiItem(i18n( "Hide %1" , (*cIt)->name() )) );
......
......@@ -91,7 +91,7 @@ void KonqHistoryManager::addToHistory( bool pending, const KUrl& _url,
const QString& typedUrl,
const QString& title )
{
//kDebug(1202) << _url << "Typed URL:" << typedUrl << ", Title:" << title;
//kDebug() << _url << "Typed URL:" << typedUrl << ", Title:" << title;
if ( filterOut( _url ) ) // we only want remote URLs
return;
......@@ -169,7 +169,7 @@ void KonqHistoryManager::insert( const QString& url )
void KonqHistoryManager::removePending( const KUrl& url )
{
// kDebug(1202) << "Removing pending..." << url;
// kDebug() << "Removing pending..." << url;
if ( url.isLocalFile() )
return;
......
......@@ -140,7 +140,7 @@ extern "C" KDE_EXPORT int kdemain( int argc, char **argv )
kurl.setFileName("");
}
}
kDebug(1202) << "main() -> createBrowserWindowFromProfile mimeType=" << urlargs.mimeType();
kDebug() << "main() -> createBrowserWindowFromProfile mimeType=" << urlargs.mimeType();
KonqMisc::createBrowserWindowFromProfile( profilePath, profile, kurl, urlargs, KParts::BrowserArguments(), false, filesToSelect );
}
else if (args->isSet("sessions"))
......@@ -190,7 +190,7 @@ extern "C" KDE_EXPORT int kdemain( int argc, char **argv )
// KonqMainWindow ctor sets always the preloaded flag to false, so create the window before this
KonqMainWindow::setPreloadedFlag( true );
KonqMainWindow::setPreloadedWindow( win );
kDebug(1202) << "Konqy preloaded :" << QDBusConnection::sessionBus().baseService();
kDebug() << "Konqy preloaded :" << QDBusConnection::sessionBus().baseService();
}
else
{
......@@ -204,7 +204,7 @@ extern "C" KDE_EXPORT int kdemain( int argc, char **argv )
const QString profile = KonqMisc::defaultProfileName();
KonqMisc::createBrowserWindowFromProfile( KonqMisc::defaultProfilePath(), profile );
}
kDebug(1202) << "main() -> no args";
kDebug() << "main() -> no args";
}
else
{
......@@ -232,7 +232,7 @@ extern "C" KDE_EXPORT int kdemain( int argc, char **argv )
if (args->isSet("mimetype"))
{
urlargs.setMimeType( args->getOption("mimetype") );
kDebug(1202) << "main() : setting mimeType to " << urlargs.mimeType();
kDebug() << "main() : setting mimeType to " << urlargs.mimeType();
}
if (args->isSet("select"))
{
......
This diff is collapsed.
......@@ -102,7 +102,7 @@ KonqMainWindow * KonqMisc::createBrowserWindowFromProfile( const QString& _path,
bool forbidUseHTML, const QStringList& filesToSelect, bool tempFile, bool openUrl )
{
QString path(_path);
kDebug(1202) << "path=" << path << ", filename=" << filename << ", url=" << url;
kDebug() << "path=" << path << ", filename=" << filename << ", url=" << url;
Q_ASSERT(!path.isEmpty());
// Well the path can be empty when misusing DBUS calls....
if (path.isEmpty())
......
......@@ -159,7 +159,7 @@ void KonqProfileDlg::loadAllProfiles(const QString & preselectProfile)
{
QListWidgetItem *item = new KonqProfileItem( d->m_pListView, eIt.key() );
QString filename = eIt.value().mid( eIt.value().lastIndexOf( '/' ) + 1 );
kDebug(1202) << filename;
kDebug() << filename;
if ( filename == preselectProfile )
{
profileFound = true;
......@@ -188,7 +188,7 @@ void KonqProfileDlg::slotSave()
}
}
kDebug(1202) << "Saving as " << name;
kDebug() << "Saving as " << name;
d->m_pViewManager->saveViewProfileToFile( name, d->m_pProfileNameLineEdit->text(),
d->m_cbSaveURLs->isChecked() ? KonqFrameBase::saveURLs : KonqFrameBase::None);
......
......@@ -47,7 +47,7 @@ KonqRun::KonqRun(KonqMainWindow* mainWindow, KonqView *_childView,
!req.args.reload() || req.userRequestedReload),
m_pMainWindow(mainWindow), m_pView(_childView), m_bFoundMimeType(false), m_req(req)
{
//kDebug(1202) << "KonqRun::KonqRun() " << this;
//kDebug() << "KonqRun::KonqRun() " << this;
assert(!m_pMainWindow.isNull());
if (m_pView)
m_pView->setLoading(true);
......@@ -55,14 +55,14 @@ KonqRun::KonqRun(KonqMainWindow* mainWindow, KonqView *_childView,
KonqRun::~KonqRun()
{
//kDebug(1202) << "KonqRun::~KonqRun() " << this;
//kDebug() << "KonqRun::~KonqRun() " << this;
if (m_pView && m_pView->run() == this)
m_pView->setRun(0);
}
void KonqRun::foundMimeType(const QString & _type)
{
//kDebug(1202) << "KonqRun::foundMimeType " << _type << " m_req=" << m_req.debug();
//kDebug() << "KonqRun::foundMimeType " << _type << " m_req=" << m_req.debug();
QString mimeType = _type; // this ref comes from the job, we lose it when using KIO again
......@@ -134,7 +134,7 @@ void KonqRun::foundMimeType(const QString & _type)
return;
}
kDebug(1202) << "Nothing special to do in KonqRun, falling back to KRun";
kDebug() << "Nothing special to do in KonqRun, falling back to KRun";
KRun::foundMimeType(mimeType);
}
......@@ -207,7 +207,7 @@ void KonqRun::scanFile()
void KonqRun::slotRedirection(KIO::Job *job, const KUrl& redirectedToURL)
{
KUrl redirectFromURL = static_cast<KIO::TransferJob *>(job)->url();
kDebug(1202) << redirectFromURL << "->" << redirectedToURL;
kDebug() << redirectFromURL << "->" << redirectedToURL;
KonqHistoryManager::kself()->confirmPending(redirectFromURL);
if (redirectedToURL.protocol() == "mailto") {
......
......@@ -91,7 +91,7 @@ bool KonqFMSettings::shouldEmbed(const QString & _mimeType) const
// 1 - in the filetypesrc config file (written by the configuration module)
QMap<QString, QString>::const_iterator it = m_embedMap.find( QString::fromLatin1("embed-")+mimeType );
if ( it != m_embedMap.end() ) {
kDebug(1202) << mimeType << it.value();
kDebug() << mimeType << it.value();
return it.value() == QLatin1String("true");
}
// 2 - in the configuration for the group if nothing was found in the mimetype
......@@ -100,7 +100,7 @@ bool KonqFMSettings::shouldEmbed(const QString & _mimeType) const
const QString mimeTypeGroup = mimeType.left(mimeType.indexOf('/'));
it = m_embedMap.find( QString::fromLatin1("embed-")+mimeTypeGroup );
if ( it != m_embedMap.end() ) {
kDebug(1202) << mimeType << "group setting:" << it.value();
kDebug() << mimeType << "group setting:" << it.value();
return it.value() == QLatin1String("true");
}
// 2 bis - configuration for group of parent mimetype, if different
......
......@@ -68,7 +68,7 @@ KonqFrameTabs::KonqFrameTabs(QWidget* parent, KonqFrameContainerBase* parentCont
"navigate through tabs. The text on the tab shows the content "
"currently open in it; place your mouse over the tab to see the full title, in "
"case it has been shortened to fit the tab width." ) );
//kDebug(1202) << "KonqFrameTabs::KonqFrameTabs()";
//kDebug() << "KonqFrameTabs::KonqFrameTabs()";
m_pParentContainer = parentContainer;
m_pActiveChild = 0L;
......@@ -139,7 +139,7 @@ KonqFrameTabs::KonqFrameTabs(QWidget* parent, KonqFrameContainerBase* parentCont
KonqFrameTabs::~KonqFrameTabs()
{
//kDebug(1202) << "KonqFrameTabs::~KonqFrameTabs() " << this << " - " << className();
//kDebug() << "KonqFrameTabs::~KonqFrameTabs() " << this << " - " << className();
qDeleteAll( m_childFrameList );
m_childFrameList.clear();
}
......@@ -170,12 +170,12 @@ void KonqFrameTabs::copyHistory( KonqFrameBase *other )
{
if( !other ) {
kDebug(1202) << "The Frame does not exist";
kDebug() << "The Frame does not exist";
return;
}
if(other->frameType() != KonqFrameBase::Tabs) {
kDebug(1202) << "Frame types are not the same";
kDebug() << "Frame types are not the same";
return;
}
......@@ -187,7 +187,7 @@ void KonqFrameTabs::copyHistory( KonqFrameBase *other )
void KonqFrameTabs::setTitle( const QString &title , QWidget* sender)
{
// kDebug(1202) << "KonqFrameTabs::setTitle( " << title << " , " << sender << " )";
// kDebug() << "KonqFrameTabs::setTitle( " << title << " , " << sender << " )";
// Make sure that '&' is displayed correctly
QString tabText( title );
setTabText( indexOf( sender ), tabText.replace('&', "&&") );
......@@ -195,7 +195,7 @@ void KonqFrameTabs::setTitle( const QString &title , QWidget* sender)
void KonqFrameTabs::setTabIcon( const KUrl &url, QWidget* sender )
{
//kDebug(1202) << "KonqFrameTabs::setTabIcon( " << url << " , " << sender << " )";
//kDebug() << "KonqFrameTabs::setTabIcon( " << url << " , " << sender << " )";
KIcon iconSet = KIcon( KonqPixmapProvider::self()->iconNameFor( url ) );
const int pos = indexOf(sender);
if (tabIcon(pos).pixmap(iconSize()).serialNumber() != iconSet.pixmap(iconSize()).serialNumber())
......@@ -212,14 +212,14 @@ void KonqFrameTabs::activateChild()
void KonqFrameTabs::insertChildFrame( KonqFrameBase* frame, int index )
{
//kDebug(1202) << "KonqFrameTabs " << this << ": insertChildFrame " << frame;
//kDebug() << "KonqFrameTabs " << this << ": insertChildFrame " << frame;