~ubuntu-branches/ubuntu/trusty/kvirc/trusty

« back to all changes in this revision

Viewing changes to src/modules/eventeditor/libkvieventeditor.cpp

  • Committer: Bazaar Package Importer
  • Author(s): Kai Wasserbäch, Kai Wasserbäch, Raúl Sánchez Siles
  • Date: 2011-02-12 10:40:21 UTC
  • mfrom: (14.1.3 sid)
  • Revision ID: james.westby@ubuntu.com-20110212104021-5mh4f75jlku20mnt
The combined "Twisted Experiment" and "Nocturnal Raid" release.

[ Kai Wasserbäch ]
* Synced to upstream's SVN revision 5467.
* debian/rules:
  - Added .PHONY line.
  - Resurrect -DMANUAL_REVISION, got lost somewhere and we build SVN
    revisions again.
  - Replace "-DWITH_NO_EMBEDDED_CODE=YES" with "-DWANT_CRYPTOPP=YES".
  - Change the remaining -DWITH/-DWITHOUT to the new -DWANT syntax.
* debian/control:
  - Removed DMUA, I'm a DD now.
  - Changed my e-mail address.
  - Removed unneeded relationships (no upgrades over two releases are
    supported).
  - Fix Suggests for kvirc-dbg.
  - kvirc-data: Make the "Suggests: kvirc" a Recommends, doesn't make much
    sense to install the -data package without the program.
* debian/source/local-options: Added with "unapply-patches".
* debian/kvirc.lintian-overrides: Updated to work for 4.1.1.
* debian/patches/21_make_shared-mime-info_B-D_superfluous.patch: Updated.
* debian/kvirc-data.install: Added .notifyrc.

[ Raúl Sánchez Siles ]
* Stating the right version where kvirc-data break and replace should happen.
* Fixing link to license file.
* Added French and Portuguese man pages.

Show diffs side-by-side

added added

removed removed

Lines of Context:
3
3
//   File : libkvieventeditor.cpp
4
4
//   Creation date : Mon 23 Dec 2002 20:23:59 2002 GMT by Szymon Stefanek
5
5
//
6
 
//   This toolbar is part of the KVirc irc client distribution
7
 
//   Copyright (C) 2002-2008 Szymon Stefanek (pragma at kvirc dot net)
 
6
//   This toolbar is part of the KVIrc irc client distribution
 
7
//   Copyright (C) 2002-2010 Szymon Stefanek (pragma at kvirc dot net)
8
8
//
9
9
//   This program is FREE software. You can redistribute it and/or
10
10
//   modify it under the terms of the GNU General Public License
22
22
//
23
23
//=============================================================================
24
24
 
25
 
#include "eventeditor.h"
26
 
 
27
 
#include "kvi_module.h"
28
 
#include "kvi_locale.h"
29
 
#include "kvi_frame.h"
30
 
 
31
 
KviEventEditorWindow * g_pEventEditorWindow = 0;
 
25
#include "EventEditorWindow.h"
 
26
 
 
27
#include "KviModule.h"
 
28
#include "KviLocale.h"
 
29
#include "KviMainWindow.h"
 
30
 
 
31
EventEditorWindow * g_pEventEditorWindow = 0;
32
32
 
33
33
 
34
34
/*
49
49
{
50
50
        if(!g_pEventEditorWindow)
51
51
        {
52
 
                g_pEventEditorWindow = new KviEventEditorWindow(c->window()->frame());
 
52
                g_pEventEditorWindow = new EventEditorWindow(c->window()->frame());
53
53
                c->window()->frame()->addWindow(g_pEventEditorWindow);
54
54
        }
55
55
 
73
73
 
74
74
static bool eventeditor_module_cleanup(KviModule *)
75
75
{
76
 
        if(g_pEventEditorWindow && g_pFrame)
77
 
                g_pFrame->closeWindow(g_pEventEditorWindow);
 
76
        if(g_pEventEditorWindow && g_pMainWindow)
 
77
                g_pMainWindow->closeWindow(g_pEventEditorWindow);
78
78
        g_pEventEditorWindow = 0;
79
79
        return true;
80
80
}