~ubuntu-branches/ubuntu/saucy/quassel/saucy-proposed

« back to all changes in this revision

Viewing changes to src/qtui/bufferwidget.cpp

  • Committer: Bazaar Package Importer
  • Author(s): Scott Kitterman
  • Date: 2010-02-17 12:49:50 UTC
  • mto: This revision was merged to the branch mainline in revision 59.
  • Revision ID: james.westby@ubuntu.com-20100217124950-v9hajw5d2xa6fszn
Tags: upstream-0.6~beta1
ImportĀ upstreamĀ versionĀ 0.6~beta1

Show diffs side-by-side

added added

removed removed

Lines of Context:
51
51
  _chatViewSearchController->setSearchOnlyRegularMsgs(ui.searchBar->searchOnlyRegularMsgsBox()->isChecked());
52
52
 
53
53
  connect(ui.searchBar, SIGNAL(searchChanged(const QString &)),
54
 
          _chatViewSearchController, SLOT(setSearchString(const QString &)));
 
54
    _chatViewSearchController, SLOT(setSearchString(const QString &)));
55
55
  connect(ui.searchBar->caseSensitiveBox(), SIGNAL(toggled(bool)),
56
 
          _chatViewSearchController, SLOT(setCaseSensitive(bool)));
 
56
    _chatViewSearchController, SLOT(setCaseSensitive(bool)));
57
57
  connect(ui.searchBar->searchSendersBox(), SIGNAL(toggled(bool)),
58
 
          _chatViewSearchController, SLOT(setSearchSenders(bool)));
 
58
    _chatViewSearchController, SLOT(setSearchSenders(bool)));
59
59
  connect(ui.searchBar->searchMsgsBox(), SIGNAL(toggled(bool)),
60
 
          _chatViewSearchController, SLOT(setSearchMsgs(bool)));
 
60
    _chatViewSearchController, SLOT(setSearchMsgs(bool)));
61
61
  connect(ui.searchBar->searchOnlyRegularMsgsBox(), SIGNAL(toggled(bool)),
62
 
          _chatViewSearchController, SLOT(setSearchOnlyRegularMsgs(bool)));
 
62
    _chatViewSearchController, SLOT(setSearchOnlyRegularMsgs(bool)));
63
63
  connect(ui.searchBar->searchUpButton(), SIGNAL(clicked()),
64
 
          _chatViewSearchController, SLOT(highlightPrev()));
 
64
    _chatViewSearchController, SLOT(highlightPrev()));
65
65
  connect(ui.searchBar->searchDownButton(), SIGNAL(clicked()),
66
 
          _chatViewSearchController, SLOT(highlightNext()));
 
66
    _chatViewSearchController, SLOT(highlightNext()));
 
67
 
 
68
  connect(ui.searchBar, SIGNAL(hidden()), this, SLOT(setFocus()));
67
69
 
68
70
  connect(_chatViewSearchController, SIGNAL(newCurrentHighlight(QGraphicsItem *)),
69
 
          this, SLOT(scrollToHighlight(QGraphicsItem *)));
 
71
    this, SLOT(scrollToHighlight(QGraphicsItem *)));
70
72
 
71
73
  ActionCollection *coll = QtUi::actionCollection();
72
74