summaryrefslogtreecommitdiffstats
path: root/ksquirrel/sq_popupmenu.cpp
blob: 0dafd916622e4c92662be7dc403209f1f6550870 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
/***************************************************************************
                          sq_popupmenu.cpp  -  description
                             -------------------
    begin                : ??? June 3 2006
    copyright            : (C) 2006 by Baryshev Dmitry
    email                : ksquirrel.iv@gmail.com
 ***************************************************************************/

/***************************************************************************
 *                                                                         *
 *   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.                                   *
 *                                                                         *
 ***************************************************************************/

#ifdef HAVE_CONFIG_H
#include "config.h"
#endif

#include "sq_popupmenu.h"

SQ_PopupMenu::SQ_PopupMenu(TQWidget *tqparent, const char *name)
    : KPopupMenu(tqparent, name), title(0)
{}

SQ_PopupMenu::~SQ_PopupMenu()
{}

void SQ_PopupMenu::insertTitle(const TQString &t)
{
    title = KPopupMenu::insertTitle(t);
}

void SQ_PopupMenu::changeTitle(const TQString &t)
{
    KPopupMenu::changeTitle(title, t);
}