<commit_before>/*
    kopetewindow.cpp  -  Kopete Main Window

    Copyright (c) 2001-2002 by <NAME>   <<EMAIL>>
    Copyright (c) 2001-2002 by <NAME> <<EMAIL>>

    Kopete    (c) 2002 by the Kopete developers  <<EMAIL>>

    *************************************************************************
    *                                                                       *
    * This program is free software; you can redistribute it and/or modify  *
    * it under the terms of the GNU General Public License as published by  *
    * the Free Software Foundation; either version 2 of the License, or     *
    * (at your option) any later version.                                   *
    *                                                                       *
    *************************************************************************
*/

#include "kopetewindow.h"

#include <qapplication.h>
#include <qlayout.h>

#include <kaction.h>
#include <kconfig.h>
#include <kdebug.h>
#include <klocale.h>
#include <kiconloader.h>
#include <kmessagebox.h>
#include <kpopupmenu.h>
#include <kstdaction.h>
#include <kaccel.h>
#include <kkeydialog.h>
#include <kedittoolbar.h>
#include <kmenubar.h>
#include <kstatusbar.h>
#include <kwin.h>

#include "addcontactwizard.h"
#include "kopeteballoon.h"
#include "kopetecontact.h"
#include "kopetecontactlist.h"
#include "kopetecontactlistview.h"
#include "kopeteevent.h"
#include "kopeteidentitymanager.h"
#include "kopeteprefs.h"
#include "kopeteprotocol.h"
#include "kopetetransfermanager.h"
#include "kopeteawaydialog.h"
#include "pluginloader.h"
#include "preferencesdialog.h"
#include "systemtray.h"
#include "statusbaricon.h"

KopeteWindow::KopeteWindow( QWidget *parent, const char *name )
: KMainWindow( parent, name )
{
	KWin::setState(winId(), NET::SkipTaskbar);
	kdDebug(14000) << "[KopeteWindow] KopeteWindow()" << endl;

	// Applications should ensure that their StatusBar exists before calling createGUI()
	// so that the StatusBar is always correctly positioned when KDE is configured to use
	// a MacOS-style MenuBar.
	// This fixes a "statusbar drawn over the top of the toolbar" bug
	// e.g. it can happen when you switch desktops on Kopete startup
	statusBar();

	/* -------------------------------------------------------------------------------- */
	initView();<commit_msg>CVS_SILENT Reverting change by <NAME> to have Kopete with taskbar entry once again<commit_after>/*
    kopetewindow.cpp  -  Kopete Main Window

    Copyright (c) 2001-2002 by <NAME>   <<EMAIL>>
    Copyright (c) 2001-2002 by <NAME> <<EMAIL>>

    Kopete    (c) 2002 by the Kopete developers  <<EMAIL>>

    *************************************************************************
    *                                                                       *
    * This program is free software; you can redistribute it and/or modify  *
    * it under the terms of the GNU General Public License as published by  *
    * the Free Software Foundation; either version 2 of the License, or     *
    * (at your option) any later version.                                   *
    *                                                                       *
    *************************************************************************
*/

#include "kopetewindow.h"

#include <qapplication.h>
#include <qlayout.h>

#include <kaction.h>
#include <kconfig.h>
#include <kdebug.h>
#include <klocale.h>
#include <kiconloader.h>
#include <kmessagebox.h>
#include <kpopupmenu.h>
#include <kstdaction.h>
#include <kaccel.h>
#include <kkeydialog.h>
#include <kedittoolbar.h>
#include <kmenubar.h>
#include <kstatusbar.h>

#include "addcontactwizard.h"
#include "kopeteballoon.h"
#include "kopetecontact.h"
#include "kopetecontactlist.h"
#include "kopetecontactlistview.h"
#include "kopeteevent.h"
#include "kopeteidentitymanager.h"
#include "kopeteprefs.h"
#include "kopeteprotocol.h"
#include "kopetetransfermanager.h"
#include "kopeteawaydialog.h"
#include "pluginloader.h"
#include "preferencesdialog.h"
#include "systemtray.h"
#include "statusbaricon.h"

KopeteWindow::KopeteWindow( QWidget *parent, const char *name )
: KMainWindow( parent, name )
{
	kdDebug(14000) << "[KopeteWindow] KopeteWindow()" << endl;

	// Applications should ensure that their StatusBar exists before calling createGUI()
	// so that the StatusBar is always correctly positioned when KDE is configured to use
	// a MacOS-style MenuBar.
	// This fixes a "statusbar drawn over the top of the toolbar" bug
	// e.g. it can happen when you switch desktops on Kopete startup
	statusBar();

	/* -------------------------------------------------------------------------------- */
	initView();
{'fraction_non_alphanumeric': 0.1976520811099253, 'fraction_numerical': 0.011099252934898612, 'mean_word_length': 2.769911504424779, 'pattern_counts': {'":': 0, '<': 59, '<?xml version=': 0, '>': 51, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 14, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '7185168', 'n_tokens_mistral': 1458, 'n_tokens_neox': 1380, 'n_words': 401}