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

« back to all changes in this revision

Viewing changes to src/qtui/settingspages/bufferviewsettingspage.cpp

  • Committer: Bazaar Package Importer
  • Author(s): Scott Kitterman
  • Date: 2010-02-17 12:49:50 UTC
  • mfrom: (1.1.33 upstream)
  • Revision ID: james.westby@ubuntu.com-20100217124950-0x7pm4evjvhf2rki
Tags: 0.6~beta1-0ubuntu1
* New upstream beta release
  - Update debian/quassel-data.install for hicolor icons moving to
    debian/tmp/usr/share/icons/hicolor
  - Update debian/quassel-data.install for Quassel Oxygen icons no longer
    being shipped
  - Add qt4-dev-tools to build-depends to provide lconvert for translations
* Fix debian/copyright to use the correct © symbol and update for the new
  year

Show diffs side-by-side

added added

removed removed

Lines of Context:
33
33
#include "util.h"
34
34
 
35
35
BufferViewSettingsPage::BufferViewSettingsPage(QWidget *parent)
36
 
  : SettingsPage(tr("Misc"), tr("Custom Chat Lists"), parent),
 
36
  : SettingsPage(tr("Interface"), tr("Custom Chat Lists"), parent),
37
37
    _ignoreWidgetChanges(false),
38
38
    _useBufferViewHint(false),
39
39
    _bufferViewHint(0)
52
52
  coreConnectionStateChanged(Client::isConnected());  // need a core connection!
53
53
  connect(Client::instance(), SIGNAL(coreConnectionStateChanged(bool)), this, SLOT(coreConnectionStateChanged(bool)));
54
54
  connect(ui.bufferViewList->selectionModel(), SIGNAL(selectionChanged(const QItemSelection &, const QItemSelection &)),
55
 
          this, SLOT(bufferViewSelectionChanged(const QItemSelection &, const QItemSelection &)));
 
55
          this, SLOT(bufferViewSelectionChanged(const QItemSelection &, const QItemSelection &)));
56
56
 
57
57
  connect(ui.onlyStatusBuffers, SIGNAL(clicked(bool)), this, SLOT(widgetHasChanged()));
58
58
  connect(ui.onlyChannelBuffers, SIGNAL(clicked(bool)), this, SLOT(widgetHasChanged()));
353
353
    } else if(config) {
354
354
      QList<BufferViewConfig *>::iterator iter = _newBufferViews.begin();
355
355
      while(iter != _newBufferViews.end()) {
356
 
        if(*iter == config) {
357
 
          iter = _newBufferViews.erase(iter);
358
 
          break;
359
 
        } else {
360
 
          iter++;
361
 
        }
 
356
        if(*iter == config) {
 
357
          iter = _newBufferViews.erase(iter);
 
358
          break;
 
359
        } else {
 
360
          iter++;
 
361
        }
362
362
      }
363
363
      delete config;
364
364
      if(_deleteBufferViews.isEmpty() && _changedBufferViews.isEmpty() && _newBufferViews.isEmpty())
365
 
        setChangedState(false);
 
365
        setChangedState(false);
366
366
    }
367
367
  }
368
368
}