File: newtabwidget.cpp

package info (click to toggle)
gpgkeys 0.3.1-3
  • links: PTS
  • area: main
  • in suites: sarge
  • size: 276 kB
  • ctags: 241
  • sloc: cpp: 2,007; makefile: 53
file content (13 lines) | stat: -rw-r--r-- 286 bytes parent folder | download | duplicates (3)
1
2
3
4
5
6
7
8
9
10
11
12
13

#include "newtabwidget.h"

NewTabWidget::NewTabWidget(QWidget * parent, const char * name, WFlags f) : QTabWidget(parent, name, f)
{
    connect(tabBar(), SIGNAL(selected(int)), this, SLOT(tabSelected(int)));
}

void NewTabWidget::tabSelected(int) {
    emit currentChanged(NULL);
}