~ubuntu-branches/debian/sid/kdevelop/sid

« back to all changes in this revision

Viewing changes to languages/cpp/app_templates/gnome2mmapp/main_window_glade.cc

  • Committer: Bazaar Package Importer
  • Author(s): Jeremy Lainé
  • Date: 2010-05-05 07:21:55 UTC
  • mfrom: (1.2.3 upstream) (5.1.2 squeeze)
  • Revision ID: james.westby@ubuntu.com-20100505072155-h78lx19pu04sbhtn
Tags: 4:4.0.0-2
* Upload to unstable (Closes: #579947, #481832).
* Acknowledge obsolete NMU fixes (Closes: #562410, #546961).

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
 
%{CC_TEMPLATE}
2
 
 
3
 
// DO NOT EDIT THIS FILE ! It was created using
4
 
// glade-- /home/amp8165/Projects/gnome2mm/gnome2mm.glade
5
 
// for gtk 2.2.4 and gtkmm 1.2.10
6
 
//
7
 
// Please modify the corresponding derived classes in ./src/main_window.cc
8
 
 
9
 
#include "config.h"
10
 
#include <libgnome/libgnome.h>
11
 
#include "main_window_glade.hh"
12
 
#include <gdk/gdkkeysyms.h>
13
 
#include <gtk--/accelgroup.h>
14
 
 
15
 
main_window_glade::main_window_glade(
16
 
) : Gtk::Window(GTK_WINDOW_TOPLEVEL)
17
 
{  main_window = this;
18
 
   
19
 
   Gtk::AccelGroup *main_window_accgrp = Gtk::AccelGroup::create();
20
 
   gmm_data = new GlademmData(main_window_accgrp);
21
 
   main_window->set_title(_("%{APPNAME} Project"));
22
 
   main_window->set_modal(false);
23
 
   main_window->add_accel_group(*(gmm_data->getAccelGroup()));
24
 
   main_window->show();
25
 
   main_window->delete_event.connect(SigC::slot(this, &main_window_glade::quit));
26
 
}
27
 
 
28
 
main_window_glade::~main_window_glade()
29
 
{  delete gmm_data;
30
 
}