Employee Benefit Plans - Summary of Amounts Recognized in Accumulated Other Comprehensive Income (Detail) (USD $) In Thousands, unless otherwise specified
|
3 Months Ended |
12 Months Ended |
Jun. 30, 2013
|
Dec. 31, 2014
|
Dec. 31, 2013
|
Dec. 31, 2012
|
Defined Benefit Plan Disclosure [Line Items] |
|
|
|
|
Beginning balance |
|
|
$ (5,021)us-gaap_AccumulatedOtherComprehensiveIncomeLossDefinedBenefitPensionAndOtherPostretirementPlansNetOfTax |
|
Reclassification adjustments included in pension expense: |
|
|
|
|
Amortization |
|
468us-gaap_OtherComprehensiveIncomeLossAmortizationAdjustmentFromAOCIPensionAndOtherPostretirementBenefitPlansForNetPriorServiceCostCreditNetOfTax |
655us-gaap_OtherComprehensiveIncomeLossAmortizationAdjustmentFromAOCIPensionAndOtherPostretirementBenefitPlansForNetPriorServiceCostCreditNetOfTax |
|
Amounts arising during the period: |
|
|
|
|
Tax rate adjustments |
8,100us-gaap_IncomeTaxExpenseBenefit |
150,056us-gaap_IncomeTaxExpenseBenefit |
95,965us-gaap_IncomeTaxExpenseBenefit |
93,364us-gaap_IncomeTaxExpenseBenefit |
Actuarial changes in benefit obligation |
|
(7,237)us-gaap_OtherComprehensiveIncomeLossReclassificationAdjustmentFromAOCIPensionAndOtherPostretirementBenefitPlansForNetGainLossBeforeTax |
2,304us-gaap_OtherComprehensiveIncomeLossReclassificationAdjustmentFromAOCIPensionAndOtherPostretirementBenefitPlansForNetGainLossBeforeTax |
|
Ending balance |
|
(8,857)q_AccumulatedOtherComprehensiveIncomeLossDefinedBenefitPensionAndOtherPostretirementPlansNetOfTaxAttributableToParent |
(2,088)q_AccumulatedOtherComprehensiveIncomeLossDefinedBenefitPensionAndOtherPostretirementPlansNetOfTaxAttributableToParent |
|
Prior Service Costs [Member] |
|
|
|
|
Defined Benefit Plan Disclosure [Line Items] |
|
|
|
|
Beginning balance |
|
|
(443)us-gaap_AccumulatedOtherComprehensiveIncomeLossDefinedBenefitPensionAndOtherPostretirementPlansNetOfTax / us-gaap_StatementEquityComponentsAxis = us-gaap_AccumulatedDefinedBenefitPlansAdjustmentNetPriorServiceCostCreditMember |
|
Reclassification adjustments included in pension expense: |
|
|
|
|
Amortization |
|
107us-gaap_OtherComprehensiveIncomeLossAmortizationAdjustmentFromAOCIPensionAndOtherPostretirementBenefitPlansForNetPriorServiceCostCreditNetOfTax / us-gaap_StatementEquityComponentsAxis = us-gaap_AccumulatedDefinedBenefitPlansAdjustmentNetPriorServiceCostCreditMember |
336us-gaap_OtherComprehensiveIncomeLossAmortizationAdjustmentFromAOCIPensionAndOtherPostretirementBenefitPlansForNetPriorServiceCostCreditNetOfTax / us-gaap_StatementEquityComponentsAxis = us-gaap_AccumulatedDefinedBenefitPlansAdjustmentNetPriorServiceCostCreditMember |
|
Amounts arising during the period: |
|
|
|
|
Ending balance |
|
|
(107)q_AccumulatedOtherComprehensiveIncomeLossDefinedBenefitPensionAndOtherPostretirementPlansNetOfTaxAttributableToParent / us-gaap_StatementEquityComponentsAxis = us-gaap_AccumulatedDefinedBenefitPlansAdjustmentNetPriorServiceCostCreditMember |
|
Actuarial Net (Gain) Loss [Member] |
|
|
|
|
Defined Benefit Plan Disclosure [Line Items] |
|
|
|
|
Beginning balance |
|
|
(7,792)us-gaap_AccumulatedOtherComprehensiveIncomeLossDefinedBenefitPensionAndOtherPostretirementPlansNetOfTax / us-gaap_StatementEquityComponentsAxis = q_AccumulatedDefinedBenefitPlansAdjustmentActuarialNetGainLossMember |
|
Reclassification adjustments included in pension expense: |
|
|
|
|
Amortization |
|
636us-gaap_OtherComprehensiveIncomeLossAmortizationAdjustmentFromAOCIPensionAndOtherPostretirementBenefitPlansForNetPriorServiceCostCreditNetOfTax / us-gaap_StatementEquityComponentsAxis = q_AccumulatedDefinedBenefitPlansAdjustmentActuarialNetGainLossMember |
708us-gaap_OtherComprehensiveIncomeLossAmortizationAdjustmentFromAOCIPensionAndOtherPostretirementBenefitPlansForNetPriorServiceCostCreditNetOfTax / us-gaap_StatementEquityComponentsAxis = q_AccumulatedDefinedBenefitPlansAdjustmentActuarialNetGainLossMember |
|
Amounts arising during the period: |
|
|
|
|
Actuarial changes in benefit obligation |
|
(10,218)us-gaap_OtherComprehensiveIncomeLossReclassificationAdjustmentFromAOCIPensionAndOtherPostretirementBenefitPlansForNetGainLossBeforeTax / us-gaap_StatementEquityComponentsAxis = q_AccumulatedDefinedBenefitPlansAdjustmentActuarialNetGainLossMember |
2,147us-gaap_OtherComprehensiveIncomeLossReclassificationAdjustmentFromAOCIPensionAndOtherPostretirementBenefitPlansForNetGainLossBeforeTax / us-gaap_StatementEquityComponentsAxis = q_AccumulatedDefinedBenefitPlansAdjustmentActuarialNetGainLossMember |
|
Ending balance |
|
(14,519)q_AccumulatedOtherComprehensiveIncomeLossDefinedBenefitPensionAndOtherPostretirementPlansNetOfTaxAttributableToParent / us-gaap_StatementEquityComponentsAxis = q_AccumulatedDefinedBenefitPlansAdjustmentActuarialNetGainLossMember |
(4,937)q_AccumulatedOtherComprehensiveIncomeLossDefinedBenefitPensionAndOtherPostretirementPlansNetOfTaxAttributableToParent / us-gaap_StatementEquityComponentsAxis = q_AccumulatedDefinedBenefitPlansAdjustmentActuarialNetGainLossMember |
|
Deferred Income Taxes [Member] |
|
|
|
|
Defined Benefit Plan Disclosure [Line Items] |
|
|
|
|
Beginning balance |
|
|
3,214us-gaap_AccumulatedOtherComprehensiveIncomeLossDefinedBenefitPensionAndOtherPostretirementPlansNetOfTax / us-gaap_StatementEquityComponentsAxis = q_AccumulatedDefinedBenefitPlansAdjustmentDeferredIncomeTaxesMember |
|
Reclassification adjustments included in pension expense: |
|
|
|
|
Amortization |
|
(275)us-gaap_OtherComprehensiveIncomeLossAmortizationAdjustmentFromAOCIPensionAndOtherPostretirementBenefitPlansForNetPriorServiceCostCreditNetOfTax / us-gaap_StatementEquityComponentsAxis = q_AccumulatedDefinedBenefitPlansAdjustmentDeferredIncomeTaxesMember |
(389)us-gaap_OtherComprehensiveIncomeLossAmortizationAdjustmentFromAOCIPensionAndOtherPostretirementBenefitPlansForNetPriorServiceCostCreditNetOfTax / us-gaap_StatementEquityComponentsAxis = q_AccumulatedDefinedBenefitPlansAdjustmentDeferredIncomeTaxesMember |
|
Amounts arising during the period: |
|
|
|
|
Tax rate adjustments |
|
|
(26)us-gaap_IncomeTaxExpenseBenefit / us-gaap_StatementEquityComponentsAxis = q_AccumulatedDefinedBenefitPlansAdjustmentDeferredIncomeTaxesMember |
|
Actuarial changes in benefit obligation |
|
2,981us-gaap_OtherComprehensiveIncomeLossReclassificationAdjustmentFromAOCIPensionAndOtherPostretirementBenefitPlansForNetGainLossBeforeTax / us-gaap_StatementEquityComponentsAxis = q_AccumulatedDefinedBenefitPlansAdjustmentDeferredIncomeTaxesMember |
157us-gaap_OtherComprehensiveIncomeLossReclassificationAdjustmentFromAOCIPensionAndOtherPostretirementBenefitPlansForNetGainLossBeforeTax / us-gaap_StatementEquityComponentsAxis = q_AccumulatedDefinedBenefitPlansAdjustmentDeferredIncomeTaxesMember |
|
Ending balance |
|
$ 5,662q_AccumulatedOtherComprehensiveIncomeLossDefinedBenefitPensionAndOtherPostretirementPlansNetOfTaxAttributableToParent / us-gaap_StatementEquityComponentsAxis = q_AccumulatedDefinedBenefitPlansAdjustmentDeferredIncomeTaxesMember |
$ 2,956q_AccumulatedOtherComprehensiveIncomeLossDefinedBenefitPensionAndOtherPostretirementPlansNetOfTaxAttributableToParent / us-gaap_StatementEquityComponentsAxis = q_AccumulatedDefinedBenefitPlansAdjustmentDeferredIncomeTaxesMember |
|