summaryrefslogtreecommitdiffstats
path: root/src/sq_popupmenu.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/sq_popupmenu.cpp')
-rw-r--r--src/sq_popupmenu.cpp39
1 files changed, 39 insertions, 0 deletions
diff --git a/src/sq_popupmenu.cpp b/src/sq_popupmenu.cpp
new file mode 100644
index 0000000..553d9ef
--- /dev/null
+++ b/src/sq_popupmenu.cpp
@@ -0,0 +1,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 *parent, const char *name)
+ : TDEPopupMenu(parent, name), title(0)
+{}
+
+SQ_PopupMenu::~SQ_PopupMenu()
+{}
+
+void SQ_PopupMenu::insertTitle(const TQString &t)
+{
+ title = TDEPopupMenu::insertTitle(t);
+}
+
+void SQ_PopupMenu::changeTitle(const TQString &t)
+{
+ TDEPopupMenu::changeTitle(title, t);
+}